Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/lit-tests/2780.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05: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);
}