aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/builtin-va-copy.qbe8
-rw-r--r--test/varargs.qbe2
2 files changed, 7 insertions, 3 deletions
diff --git a/test/builtin-va-copy.qbe b/test/builtin-va-copy.qbe
index 7d88659..913fbd3 100644
--- a/test/builtin-va-copy.qbe
+++ b/test/builtin-va-copy.qbe
@@ -1,5 +1,5 @@
-data $.La.2 = align 8 { z 24 }
-data $.Lb.3 = align 8 { z 24 }
+data $.La.2 = align 8 { z 32 }
+data $.Lb.3 = align 8 { z 32 }
export
function $f() {
@start.1
@@ -16,5 +16,9 @@ function $f() {
storel %.7, %.6
%.8 =l add %.5, 8
%.9 =l add %.6, 8
+ %.10 =l loadl %.8
+ storel %.10, %.9
+ %.11 =l add %.8, 8
+ %.12 =l add %.9, 8
ret
}
diff --git a/test/varargs.qbe b/test/varargs.qbe
index 16db877..2a760d6 100644
--- a/test/varargs.qbe
+++ b/test/varargs.qbe
@@ -3,7 +3,7 @@ function $f(w %.1, ...) {
@start.1
%.2 =l alloc4 4
storew %.1, %.2
- %.3 =l alloc8 24
+ %.3 =l alloc8 32
@body.2
vastart %.3
@while_cond.3