aboutsummaryrefslogtreecommitdiff
path: root/test/wchar-sign+aarch64.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/wchar-sign+aarch64.qbe
parent28fdb0f046184e567e85b9bb40dc942ca1739d9f (diff)
qbe: Use new unary negation operator
Diffstat (limited to 'test/wchar-sign+aarch64.qbe')
-rw-r--r--test/wchar-sign+aarch64.qbe2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/wchar-sign+aarch64.qbe b/test/wchar-sign+aarch64.qbe
index c81124d..38271a9 100644
--- a/test/wchar-sign+aarch64.qbe
+++ b/test/wchar-sign+aarch64.qbe
@@ -3,7 +3,7 @@ export
function w $main() {
@start.1
@body.2
- %.1 =w sub 0, 1
+ %.1 =w neg 1
%.2 =w cultw %.1, 0
ret %.2
}