aboutsummaryrefslogtreecommitdiff
path: root/test/bitfield-load-signed.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/bitfield-load-signed.qbe')
-rw-r--r--test/bitfield-load-signed.qbe9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/bitfield-load-signed.qbe b/test/bitfield-load-signed.qbe
index 12b474f..386395c 100644
--- a/test/bitfield-load-signed.qbe
+++ b/test/bitfield-load-signed.qbe
@@ -2,11 +2,10 @@ export
function $f() {
@start.1
@body.2
- %.1 =l mul 0, 1
- %.2 =l add $s, %.1
- %.3 =w loadw %.2
- %.4 =w shl %.3, 13
- %.5 =w sar %.4, 17
+ %.1 =l add $s, 0
+ %.2 =w loadw %.1
+ %.3 =w shl %.2, 13
+ %.4 =w sar %.3, 17
ret
}
export data $s = align 4 { z 4 }