aboutsummaryrefslogtreecommitdiff
path: root/test/common-real-int-sign.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-02-10 15:41:35 -0800
committerMichael Forney <mforney@mforney.org>2022-02-10 15:41:35 -0800
commitf57f61b49c05c6705da909c9c29172ea3602bdee (patch)
treea6cb079bd691994490e0eb7241abfc812c40f11c /test/common-real-int-sign.qbe
parent28fdb0f046184e567e85b9bb40dc942ca1739d9f (diff)
qbe: Use new unary negation operator
Diffstat (limited to 'test/common-real-int-sign.qbe')
-rw-r--r--test/common-real-int-sign.qbe2
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
}