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

19 lines
570 B
Plaintext

// RUN: %{ispc} --target=sse4-i32x8 %s > %t 2>&1
// RUN: %{ispc} --target=sse4-i16x8 %s > %t 2>&1
// RUN: %{ispc} --target=sse4-i8x16 %s > %t 2>&1
// RUN: %{ispc} --target=avx1-i32x4 %s > %t 2>&1
// RUN: %{ispc} --target=avx2-i64x4 %s > %t 2>&1
// RUN: %{ispc} --target=avx512skx-x16 %s > %t 2>&1
// REQUIRES: X86_ENABLED
void test_crash()
{
#if TARGET_WIDTH == 4
bool m = { 0, 1, 0, 1 };
#elif TARGET_WIDTH == 8
bool m = { 0, 1, 0, 1, 0, 1, 1, 1 };
#elif TARGET_WIDTH == 16
bool m = { 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1 };
#endif
return ;
}