diff options
| author | David Rubin <daviru007@icloud.com> | 2024-03-13 21:02:15 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-05-11 02:17:11 -0700 |
| commit | 28df64cba45595a201f8c2312656922a8c28a67c (patch) | |
| tree | 13679895113da1e2fa0199e1b117060bbed880cf /src/codegen/spirv | |
| parent | 060c475fcd358eb9d05d14ec9f1bb7bfc47e4423 (diff) | |
| download | zig-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/spirv')
0 files changed, 0 insertions, 0 deletions
