1// The test checks that cpu definitions (including all synonyms) are successfully consumed by compiler.
2
3//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=x86-64
4//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=atom
5//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=bonnell
6//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=core2
7//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=penryn
8//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=slm
9//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=silvermont
10//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=corei7
11//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=nehalem
12//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=btver2
13//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=ps4
14//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=corei7-avx
15//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=sandybridge
16//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=core-avx-i
17//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=ivybridge
18//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=core-avx2
19//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=haswell
20//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=broadwell
21//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=knl
22//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=skx
23//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=icelake-client
24//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=icl
25//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=icelake-server
26//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=icx
27//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=tigerlake
28//; RUN: %{ispc} %s -o %t.o --nostdlib --target=sse2-i32x4 --cpu=tgl
29
30// REQUIRES: X86_ENABLED
31
32uniform int i;
33
34void foo() {}
35