diff options
| author | Daniele Cocca <daniele.cocca@gmail.com> | 2022-03-14 14:10:52 +0000 |
|---|---|---|
| committer | Daniele Cocca <daniele.cocca@gmail.com> | 2022-03-14 19:43:31 +0000 |
| commit | 8643591c9a42d07508c9b5b623d606f27f26af2c (patch) | |
| tree | ecbcf8f99e2d675c974dad84a68d776000a21ec5 /test/behavior/math.zig | |
| parent | d912699e0853e8fe1a9dd2c863f3c163d123c407 (diff) | |
| download | zig-8643591c9a42d07508c9b5b623d606f27f26af2c.tar.gz zig-8643591c9a42d07508c9b5b623d606f27f26af2c.zip | |
CBE: split {clz,ctz,mod,popCount,byteSwap,bitReverse} by type
This also surfaces the fact that clz, ctz and popCount didn't actually
support 128 bit integers, despite what was claimed by
226fcd7c709ec664c5d883042cf7beb3026f66cb. This was partially hidden by
the fact that the test code for popCount only exercised 128 bit integers
in a comptime context. This commit duplicates that test case for runtime
ints too.
Diffstat (limited to 'test/behavior/math.zig')
| -rw-r--r-- | test/behavior/math.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index a8daac54b5..c62416c455 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -82,7 +82,6 @@ test "@clz big ints" { if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO try testClzBigInts(); comptime try testClzBigInts(); |
