aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-02-12 00:53:14 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-02-12 05:25:07 +0100
commite27db373ec276f7839fac0a024b92a0945b5f905 (patch)
tree5a0e337c41ed5dbcf8729356ce003d2d309ea5b0 /lib/std/mem.zig
parentd89472787353bc69f6a13c80c6f576ee3471c1a8 (diff)
downloadzig-e27db373ec276f7839fac0a024b92a0945b5f905.tar.gz
zig-e27db373ec276f7839fac0a024b92a0945b5f905.zip
x86_64: implement `@clz` and `@ctz` of big integers
Diffstat (limited to 'lib/std/mem.zig')
-rw-r--r--lib/std/mem.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/mem.zig b/lib/std/mem.zig
index a2a8696402..feb41aedeb 100644
--- a/lib/std/mem.zig
+++ b/lib/std/mem.zig
@@ -635,7 +635,6 @@ test "lessThan" {
const backend_can_use_eql_bytes = switch (builtin.zig_backend) {
// The SPIR-V backend does not support the optimized path yet.
.stage2_spirv64 => false,
- .stage2_x86_64 => !std.Target.x86.featureSetHas(builtin.cpu.features, .avx2),
else => true,
};