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/common-real-int-sign.qbe | |
parent | 28fdb0f046184e567e85b9bb40dc942ca1739d9f (diff) |
qbe: Use new unary negation operator
Diffstat (limited to 'test/common-real-int-sign.qbe')
-rw-r--r-- | test/common-real-int-sign.qbe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common-real-int-sign.qbe b/test/common-real-int-sign.qbe index 6de74a3..198ca6a 100644 --- a/test/common-real-int-sign.qbe +++ b/test/common-real-int-sign.qbe @@ -2,7 +2,7 @@ export function w $main() { @start.1 @body.2 - %.1 =w sub 0, 1 + %.1 =w neg 1 %.2 =w cugtw 0, %.1 ret %.2 } |