aboutsummaryrefslogtreecommitdiff
path: root/lib/std/simd.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-05-30 18:04:30 -0400
committermlugg <mlugg@mlugg.co.uk>2025-06-01 08:24:01 +0100
commitb48d6ff619de424e664cf11b43e2a03fecbca6ce (patch)
tree5d0457b8c548df15b170bf3e1d3b941276052f6e /lib/std/simd.zig
parent32a57bfeaa9a9cd2b1a4c0e25d829824d8b96c8d (diff)
downloadzig-b48d6ff619de424e664cf11b43e2a03fecbca6ce.tar.gz
zig-b48d6ff619de424e664cf11b43e2a03fecbca6ce.zip
Legalize: implement scalarization of `@select`
Diffstat (limited to 'lib/std/simd.zig')
-rw-r--r--lib/std/simd.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/std/simd.zig b/lib/std/simd.zig
index 2c2b92e36e..cf4f7675fa 100644
--- a/lib/std/simd.zig
+++ b/lib/std/simd.zig
@@ -368,9 +368,6 @@ pub fn countElementsWithValue(vec: anytype, value: std.meta.Child(@TypeOf(vec)))
}
test "vector searching" {
- if (builtin.zig_backend == .stage2_x86_64 and
- !comptime std.Target.x86.featureSetHas(builtin.cpu.features, .ssse3)) return error.SkipZigTest;
-
const base = @Vector(8, u32){ 6, 4, 7, 4, 4, 2, 3, 7 };
try std.testing.expectEqual(@as(?u3, 1), firstIndexOfValue(base, 4));