aboutsummaryrefslogtreecommitdiff
path: root/lib/std/bounded_array.zig
diff options
context:
space:
mode:
authorJan Philipp Hafer <jan.hafer@rwth-aachen.de>2021-09-07 23:20:13 +0200
committerAndrew Kelley <andrew@ziglang.org>2021-12-11 01:43:37 -0800
commitefdb94486b78fa143f8d684609cb4c5d3de10124 (patch)
tree23aa9a69b88c421ac03e94f1e6184a99abaeac50 /lib/std/bounded_array.zig
parent97c0373fa7ee125d2d4e73f9b1dc8ea0e2c2e86a (diff)
downloadzig-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/std/bounded_array.zig')
0 files changed, 0 insertions, 0 deletions