diff options
| author | Jan Philipp Hafer <jan.hafer@rwth-aachen.de> | 2021-09-07 23:20:13 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-11 01:43:37 -0800 |
| commit | efdb94486b78fa143f8d684609cb4c5d3de10124 (patch) | |
| tree | 23aa9a69b88c421ac03e94f1e6184a99abaeac50 /lib/libc/include/powerpc-linux-gnu | |
| parent | 97c0373fa7ee125d2d4e73f9b1dc8ea0e2c2e86a (diff) | |
| download | zig-efdb94486b78fa143f8d684609cb4c5d3de10124.tar.gz zig-efdb94486b78fa143f8d684609cb4c5d3de10124.zip | |
compiler_rt: add __bswapsi2, __bswapdi2 and __bswapti2
- each byte gets masked, shifted and combined
- use boring masks instead of comptime for readability
- tests: bit patterns with reverse operation, if applicable
See #1290
Diffstat (limited to 'lib/libc/include/powerpc-linux-gnu')
0 files changed, 0 insertions, 0 deletions
