1// RUN: %{ispc} %s --target=avx1-i32x8 -h %t.h --emit-llvm -o %t.bc
2// RUN: llvm-dis %t.bc -o - | FileCheck %s
3// RUN: %{ispc} %s --target=avx1-i32x8 -h %t.h --emit-llvm -o %t.bc
4// RUN: llvm-dis %t.bc -o - | FileCheck %s
5// RUN: %{ispc} %s --target=avx1-i32x16 -h %t.h --emit-llvm -o %t.bc
6// RUN: llvm-dis %t.bc -o - | FileCheck %s
7// RUN: %{ispc} %s --target=avx1-i64x4 -h %t.h --emit-llvm -o %t.bc
8// RUN: llvm-dis %t.bc -o - | FileCheck %s
9
10// REQUIRES: X86_ENABLED
11
12// CHECK: global i8 -128
13uniform unsigned int8 a_min8 = -0x80;
14// CHECK: global i16 -32768
15uniform unsigned int16 a_min16 = -0x8000;
16// CHECK: global i32 -2147483648
17uniform unsigned int32 a_min32 = -0x80000000;
18// CHECK: global i64 -9223372036854775808
19uniform unsigned int64 a_min64 = -0x8000000000000000;
20