summaryrefslogtreecommitdiff
path: root/test/torture-s/loop-ivopts-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/loop-ivopts-1.c.s')
-rw-r--r--test/torture-s/loop-ivopts-1.c.s45
1 files changed, 24 insertions, 21 deletions
diff --git a/test/torture-s/loop-ivopts-1.c.s b/test/torture-s/loop-ivopts-1.c.s
index 91ecc166f..616dae715 100644
--- a/test/torture-s/loop-ivopts-1.c.s
+++ b/test/torture-s/loop-ivopts-1.c.s
@@ -6,14 +6,15 @@
.type main,@function
main: # @main
.result i32
- .local i32
# BB#0: # %entry
- i32.const $0=, 0
+ i32.const $push1=, 0
i32.const $push0=, 1126498304
- i32.store $discard=, foo.tmp+8($0), $pop0
- i64.const $push1=, 4803089003686395904
- i64.store $discard=, foo.tmp($0), $pop1
- return $0
+ i32.store $discard=, foo.tmp+8($pop1):p2align=3, $pop0
+ i32.const $push4=, 0
+ i64.const $push2=, 4803089003686395904
+ i64.store $discard=, foo.tmp($pop4):p2align=4, $pop2
+ i32.const $push3=, 0
+ return $pop3
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
@@ -24,22 +25,24 @@ main: # @main
.type foo,@function
foo: # @foo
.param i32
- .local i32, i32
# BB#0: # %for.inc9.3
- i32.const $1=, 0
- i32.const $push0=, 1126498304
- i32.store $discard=, foo.tmp+8($1), $pop0
- i32.const $push1=, 1118306304
- i32.store $2=, foo.tmp+4($1), $pop1
- i32.const $push2=, 1095761920
- i32.store $push3=, foo.tmp($1), $pop2
- i32.store $discard=, 0($0), $pop3
- i32.store $discard=, 4($0), $2
- i64.load $push4=, foo.tmp+8($1)
- i64.store32 $push5=, 8($0), $pop4
- i64.const $push6=, 32
- i64.shr_u $push7=, $pop5, $pop6
- i64.store32 $discard=, 12($0), $pop7
+ i32.const $push0=, 0
+ i32.const $push1=, 1126498304
+ i32.store $discard=, foo.tmp+8($pop0):p2align=3, $pop1
+ i32.const $push11=, 0
+ i32.const $push2=, 1118306304
+ i32.store $discard=, foo.tmp+4($pop11), $pop2
+ i32.const $push10=, 0
+ i32.const $push3=, 1095761920
+ i32.store $discard=, foo.tmp($pop10):p2align=4, $pop3
+ i64.const $push4=, 4803089003686395904
+ i64.store $discard=, 0($0):p2align=2, $pop4
+ i32.const $push9=, 0
+ i64.load $push5=, foo.tmp+8($pop9)
+ i64.store32 $push6=, 8($0), $pop5
+ i64.const $push7=, 32
+ i64.shr_u $push8=, $pop6, $pop7
+ i64.store32 $discard=, 12($0), $pop8
return
.endfunc
.Lfunc_end1: