File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // Unwind v3 (the "winx64-eh-unwind" module flag) is Windows-only, so on Linux
2+ // it is never set even for APX-capable targets that enable the EGPR registers
3+ // (R16-R31) by default. The Windows-side coverage lives in apx-win-unwindv3.ispc.
4+
5+ // ; RUN: %{ispc} %s --target=avx10.2dmr-x16 --arch=x86-64 --target-os=linux --emit-llvm-text -o - | FileCheck %s --check-prefix=NO-V3
6+
7+ // REQUIRES: X86_ENABLED && LINUX_ENABLED && LLVM_23_0+
8+
9+ // NO-V3-NOT: winx64-eh-unwind
10+
11+ void foo (uniform int a[], uniform int n) {
12+ for (uniform int i = 0 ; i < n; ++ i)
13+ a[i] = a[i] + 1 ;
14+ }
Original file line number Diff line number Diff line change 1212// Non-APX target: no v3 flag.
1313// ; RUN: %{ispc} %s --target=avx512skx-x16 --arch=x86-64 --target-os=windows --emit-llvm-text -o - | FileCheck %s --check-prefix=NO-V3
1414
15- // Linux: unwind v3 is Windows-only, so the flag is never set.
16- // ; RUN: %{ispc} %s --target=avx10.2dmr-x16 --arch=x86-64 --target-os= linux --emit-llvm-text -o - | FileCheck %s --check-prefix=NO-V3
15+ // The Linux counterpart ( unwind v3 is Windows-only) is verified separately in
16+ // apx-win-unwindv3- linux.ispc, which is gated on LINUX_ENABLED.
1717
1818// REQUIRES: X86_ENABLED && WINDOWS_ENABLED && LLVM_23_0+
1919
You can’t perform that action at this time.
0 commit comments