summaryrefslogtreecommitdiff
path: root/test/torture-s/20050224-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20050224-1.c.s')
-rw-r--r--test/torture-s/20050224-1.c.s96
1 files changed, 52 insertions, 44 deletions
diff --git a/test/torture-s/20050224-1.c.s b/test/torture-s/20050224-1.c.s
index f07bf295b..ad399fc15 100644
--- a/test/torture-s/20050224-1.c.s
+++ b/test/torture-s/20050224-1.c.s
@@ -37,74 +37,82 @@ main: # @main
.result i32
.local i32, i32, i32, i32, i32, i32, i32, i32, i32
# BB#0: # %entry
- i32.const $8=, 0
- i32.load $5=, a($8)
- i32.load $0=, b($8)
+ i32.const $6=, 0
block
- i32.ge_u $push0=, $5, $0
- br_if $pop0, 0 # 0: down to label1
+ i32.const $push18=, 0
+ i32.load $push14=, a($pop18)
+ tee_local $push17=, $8=, $pop14
+ i32.const $push16=, 0
+ i32.load $push0=, b($pop16)
+ tee_local $push15=, $7=, $pop0
+ i32.ge_u $push1=, $pop17, $pop15
+ br_if $pop1, 0 # 0: down to label1
# BB#1: # %for.body.lr.ph
- i32.load $1=, c($8)
- i32.load $2=, d($8)
- i32.load $3=, e($8)
- i32.load $4=, f($8)
- copy_local $7=, $8
- copy_local $6=, $8
+ i32.const $push22=, 0
+ i32.load $0=, c($pop22)
+ i32.const $push21=, 0
+ i32.load $1=, d($pop21)
+ i32.const $push20=, 0
+ i32.load $2=, e($pop20)
+ i32.const $push19=, 0
+ i32.load $3=, f($pop19)
+ i32.const $5=, 0
+ i32.const $4=, 0
.LBB1_2: # %for.body
# =>This Inner Loop Header: Depth=1
loop # label2:
block
block
- i32.ge_u $push1=, $5, $1
- br_if $pop1, 0 # 0: down to label5
+ i32.ge_u $push2=, $8, $0
+ br_if $pop2, 0 # 0: down to label5
# BB#3: # %if.then
# in Loop: Header=BB1_2 Depth=1
- i32.const $push6=, 1
- i32.add $6=, $6, $pop6
+ i32.const $push23=, 1
+ i32.add $4=, $4, $pop23
br 1 # 1: down to label4
.LBB1_4: # %if.else
# in Loop: Header=BB1_2 Depth=1
end_block # label5:
block
- i32.lt_u $push2=, $5, $2
- br_if $pop2, 0 # 0: down to label6
+ i32.lt_u $push3=, $8, $1
+ br_if $pop3, 0 # 0: down to label6
# BB#5: # %if.else
# in Loop: Header=BB1_2 Depth=1
- i32.ge_u $push3=, $5, $3
- br_if $pop3, 0 # 0: down to label6
+ i32.ge_u $push4=, $8, $2
+ br_if $pop4, 0 # 0: down to label6
# BB#6: # %if.then4
# in Loop: Header=BB1_2 Depth=1
- i32.const $push5=, 1
- i32.add $8=, $8, $pop5
+ i32.const $push24=, 1
+ i32.add $6=, $6, $pop24
br 1 # 1: down to label4
.LBB1_7: # %if.else6
# in Loop: Header=BB1_2 Depth=1
end_block # label6:
- i32.lt_u $push4=, $5, $4
- i32.add $7=, $pop4, $7
+ i32.lt_u $push5=, $8, $3
+ i32.add $5=, $pop5, $5
.LBB1_8: # %for.inc
# in Loop: Header=BB1_2 Depth=1
end_block # label4:
- i32.const $push7=, 4096
- i32.add $5=, $5, $pop7
- i32.lt_u $push8=, $5, $0
- br_if $pop8, 0 # 0: up to label2
+ i32.const $push25=, 4096
+ i32.add $8=, $8, $pop25
+ i32.lt_u $push6=, $8, $7
+ br_if $pop6, 0 # 0: up to label2
# BB#9: # %for.end
end_loop # label3:
- i32.const $push9=, 444
- i32.ne $push10=, $6, $pop9
- br_if $pop10, 0 # 0: down to label1
+ i32.const $push7=, 444
+ i32.ne $push8=, $4, $pop7
+ br_if $pop8, 0 # 0: down to label1
# BB#10: # %for.end
- i32.const $push11=, 245
- i32.ne $push12=, $7, $pop11
- br_if $pop12, 0 # 0: down to label1
+ i32.const $push9=, 245
+ i32.ne $push10=, $5, $pop9
+ br_if $pop10, 0 # 0: down to label1
# BB#11: # %for.end
- i32.const $push13=, 36
- i32.ne $push14=, $8, $pop13
- br_if $pop14, 0 # 0: down to label1
+ i32.const $push11=, 36
+ i32.ne $push12=, $6, $pop11
+ br_if $pop12, 0 # 0: down to label1
# BB#12: # %foo.exit
- i32.const $push15=, 0
- return $pop15
+ i32.const $push13=, 0
+ return $pop13
.LBB1_13: # %if.then.i
end_block # label1:
call abort@FUNCTION
@@ -117,7 +125,7 @@ main: # @main
.type a,@object
.section .data.a,"aw",@progbits
.globl a
- .align 2
+ .p2align 2
a:
.int32 3221225472 # 0xc0000000
.size a, 4
@@ -126,7 +134,7 @@ a:
.type b,@object
.section .data.b,"aw",@progbits
.globl b
- .align 2
+ .p2align 2
b:
.int32 3489660928 # 0xd0000000
.size b, 4
@@ -135,7 +143,7 @@ b:
.type c,@object
.section .data.c,"aw",@progbits
.globl c
- .align 2
+ .p2align 2
c:
.int32 3223042392 # 0xc01bb958
.size c, 4
@@ -144,7 +152,7 @@ c:
.type d,@object
.section .data.d,"aw",@progbits
.globl d
- .align 2
+ .p2align 2
d:
.int32 3223732224 # 0xc0264000
.size d, 4
@@ -153,7 +161,7 @@ d:
.type e,@object
.section .data.e,"aw",@progbits
.globl e
- .align 2
+ .p2align 2
e:
.int32 3223879680 # 0xc0288000
.size e, 4
@@ -162,7 +170,7 @@ e:
.type f,@object
.section .data.f,"aw",@progbits
.globl f
- .align 2
+ .p2align 2
f:
.int32 3224191864 # 0xc02d4378
.size f, 4