diff options
| author | Jan Philipp Hafer <jan.hafer@rwth-aachen.de> | 2021-12-01 11:27:40 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-01 13:35:19 -0800 |
| commit | e4c053f04737d852766b6577e7b1fbfb4a8a3096 (patch) | |
| tree | 9bef4ca4a82acdd0336808617fa0033b76420967 /test/compile_errors.zig | |
| parent | 02a1f838e67edc4107df19ba194a925958f1c669 (diff) | |
| download | zig-e4c053f04737d852766b6577e7b1fbfb4a8a3096.tar.gz zig-e4c053f04737d852766b6577e7b1fbfb4a8a3096.zip | |
compiler_rt: add __paritysi2, __paritydi2, __parityti2
- use Bit Twiddling Hacks: Compute parity in parallel
- test cases derived from popcount.zig
- tests: compare naive approach 10_000 times with random numbers created
from naive seed 42
- compiler_rt.zig: sort by LLVM builtin order and add comments to improve structure
See #1290
Diffstat (limited to 'test/compile_errors.zig')
0 files changed, 0 insertions, 0 deletions
