Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/lit-tests/2780.ispc
2025-05-18 13:04:45 +08:00

13 lines
318 B
Plaintext

// RUN: %{ispc} --pic --target=avx512skx-x8 %s --x86-asm-syntax=intel --emit-asm -o - | FileCheck %s
// REQUIRES: !MACOS_HOST && X86_ENABLED
// CHECK-LABEL: RoundToInt___vyf:
// CHECK-NEXT: # %bb.0:
// CHECK-NEXT: vroundps ymm0, {{.*}}, 8
// CHECK-NEXT: ret
float RoundToInt(float x)
{
return round(x);
}