aboutsummaryrefslogtreecommitdiff
path: root/test/bitfield-load-signed.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-07-01 13:25:30 -0700
committerMichael Forney <mforney@mforney.org>2021-07-01 13:30:16 -0700
commit1647af781a279c070a1cd99fc8aeae1be9795084 (patch)
treefc55f3d89b065347e28117035629df4116aa4327 /test/bitfield-load-signed.qbe
parentb4f89ba90b6ca3233cc80aef9d42055266fac8df (diff)
qbe: Remove unnecessary distinction between loaduw and loadsw
We always store the result to a w temporary, so there is no difference. In fact, QBE provides loadw as an alias for loadsw precisely for this reason.
Diffstat (limited to 'test/bitfield-load-signed.qbe')
-rw-r--r--test/bitfield-load-signed.qbe2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bitfield-load-signed.qbe b/test/bitfield-load-signed.qbe
index bc3f457..87d1cf5 100644
--- a/test/bitfield-load-signed.qbe
+++ b/test/bitfield-load-signed.qbe
@@ -6,7 +6,7 @@ function $f() {
%.2 =l mul 0, 1
%.3 =l add %.1, %.2
%.4 =l copy %.3
- %.5 =w loadsw %.4
+ %.5 =w loadw %.4
%.6 =w shl %.5, 13
%.7 =w sar %.6, 17
ret