aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2024-02-17 14:01:07 +0100
committerGitHub <noreply@github.com>2024-02-17 14:01:07 +0100
commitdd4d320eb9663c7a0ef8dbe3aca220a64795d683 (patch)
tree9fb2dfc90b33b5efecf31a7d7ee286ddb4ef5f1b /test
parent50330ec22a79646d65ad0562ae0e580669a8c9cc (diff)
parent66e6d0d3142cfc32ea238a84d630732191c1dc1f (diff)
downloadzig-dd4d320eb9663c7a0ef8dbe3aca220a64795d683.tar.gz
zig-dd4d320eb9663c7a0ef8dbe3aca220a64795d683.zip
Merge pull request #18948 from alichraghi/vector
spirv: use extended instructions whenever possible
Diffstat (limited to 'test')
-rw-r--r--test/behavior/math.zig1
-rw-r--r--test/behavior/struct.zig1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 2201efa1d2..092924af06 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -1062,6 +1062,7 @@ test "@mulWithOverflow bitsize > 32" {
test "@mulWithOverflow u256" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
{
const const_lhs: u256 = 8035709466408580321693645878924206181189;
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index c6f8730987..9f4d3f0298 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -2117,6 +2117,7 @@ test "initiate global variable with runtime value" {
test "struct containing optional pointer to array of @This()" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
x: ?*const [1]@This(),