aboutsummaryrefslogtreecommitdiff
path: root/test/local-init.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/local-init.qbe')
-rw-r--r--test/local-init.qbe23
1 files changed, 11 insertions, 12 deletions
diff --git a/test/local-init.qbe b/test/local-init.qbe
index a8b919e..570d12d 100644
--- a/test/local-init.qbe
+++ b/test/local-init.qbe
@@ -3,19 +3,18 @@ function $f() {
@start.1
%.1 =l alloc8 32
@body.2
- %.2 =w copy 97
- storeb %.2, %.1
- %.3 =l add %.1, 1
- storeb 0, %.3
- %.4 =l add %.1, 2
- storeh 0, %.4
- %.5 =l add %.1, 4
- storew 0, %.5
- %.6 =l add %.1, 8
+ storeb 97, %.1
+ %.2 =l add %.1, 1
+ storeb 0, %.2
+ %.3 =l add %.1, 2
+ storeh 0, %.3
+ %.4 =l add %.1, 4
+ storew 0, %.4
+ %.5 =l add %.1, 8
+ storel 0, %.5
+ %.6 =l add %.1, 16
storel 0, %.6
- %.7 =l add %.1, 16
+ %.7 =l add %.1, 24
storel 0, %.7
- %.8 =l add %.1, 24
- storel 0, %.8
ret
}