diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-02-12 00:53:14 +0100 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-02-12 05:25:07 +0100 |
| commit | e27db373ec276f7839fac0a024b92a0945b5f905 (patch) | |
| tree | 5a0e337c41ed5dbcf8729356ce003d2d309ea5b0 /lib/std/mem.zig | |
| parent | d89472787353bc69f6a13c80c6f576ee3471c1a8 (diff) | |
| download | zig-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.zig | 1 |
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, }; |
