18 lines
668 B
Plaintext
18 lines
668 B
Plaintext
// RUN: %{ispc} --target=sse4-i32x4 %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-i32x8 %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 a(uniform bool aFOO)
|
|
{
|
|
#if TARGET_WIDTH == 4
|
|
bool t = {aFOO, false, false, false};
|
|
#elif TARGET_WIDTH == 8
|
|
bool t = {aFOO, false, false, false, false, false, false, false};
|
|
#elif TARGET_WIDTH == 16
|
|
bool t = {aFOO, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false};
|
|
#endif
|
|
}
|