diff options
author | Michael Forney <mforney@mforney.org> | 2022-02-10 15:41:35 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2022-02-10 15:41:35 -0800 |
commit | f57f61b49c05c6705da909c9c29172ea3602bdee (patch) | |
tree | a6cb079bd691994490e0eb7241abfc812c40f11c /test/char-sign+riscv64.qbe | |
parent | 28fdb0f046184e567e85b9bb40dc942ca1739d9f (diff) |
qbe: Use new unary negation operator
Diffstat (limited to 'test/char-sign+riscv64.qbe')
-rw-r--r-- | test/char-sign+riscv64.qbe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/char-sign+riscv64.qbe b/test/char-sign+riscv64.qbe index 002f645..aa8d8bc 100644 --- a/test/char-sign+riscv64.qbe +++ b/test/char-sign+riscv64.qbe @@ -3,7 +3,7 @@ export function w $main() { @start.1 @body.2 - %.1 =w sub 0, 1 + %.1 =w neg 1 %.2 =w extub %.1 %.3 =w csltw %.2, 0 ret %.3 |