aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorDavid Rubin <daviru007@icloud.com>2024-03-13 21:02:15 -0700
committerDavid Rubin <daviru007@icloud.com>2024-05-11 02:17:11 -0700
commit28df64cba45595a201f8c2312656922a8c28a67c (patch)
tree13679895113da1e2fa0199e1b117060bbed880cf /src/codegen
parent060c475fcd358eb9d05d14ec9f1bb7bfc47e4423 (diff)
downloadzig-28df64cba45595a201f8c2312656922a8c28a67c.tar.gz
zig-28df64cba45595a201f8c2312656922a8c28a67c.zip
riscv: implement `@abs`
- add the `abs` MIR instruction - implement `@abs` by shifting to the right by `bits - 1`, and xoring.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions