summaryrefslogtreecommitdiff
path: root/test/torture-s/pr58662.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr58662.c.s')
-rw-r--r--test/torture-s/pr58662.c.s45
1 files changed, 26 insertions, 19 deletions
diff --git a/test/torture-s/pr58662.c.s b/test/torture-s/pr58662.c.s
index 4d11fe1b3..6e3451e49 100644
--- a/test/torture-s/pr58662.c.s
+++ b/test/torture-s/pr58662.c.s
@@ -6,26 +6,33 @@
.type main,@function
main: # @main
.result i32
- .local i32, i32
# BB#0: # %entry
- i32.const $0=, 0
- block
- i32.load $push0=, a($0)
- i32.eq $push1=, $pop0, $0
+ i32.const $push19=, 0
+ i32.const $push18=, 0
+ i32.load $push8=, c($pop18)
+ i32.const $push17=, 0
+ i32.ne $push9=, $pop8, $pop17
+ i32.const $push16=, 0
+ i32.const $push15=, 0
+ i32.load $push0=, a($pop15)
+ i32.const $push14=, 0
+ i32.eq $push1=, $pop0, $pop14
i32.const $push2=, -30000
i32.div_s $push3=, $pop1, $pop2
- i32.store $push4=, d($0), $pop3
+ i32.store $push4=, d($pop16), $pop3
i32.const $push5=, 14
- i32.rem_s $1=, $pop4, $pop5
- i32.load $push7=, c($0)
- i32.ne $push8=, $pop7, $0
- i32.ne $push6=, $1, $0
- i32.and $push9=, $pop8, $pop6
- i32.store $discard=, b($0), $pop9
- i32.load $push10=, b($0)
- br_if $pop10, 0 # 0: down to label0
+ i32.rem_s $push6=, $pop4, $pop5
+ i32.const $push13=, 0
+ i32.ne $push7=, $pop6, $pop13
+ i32.and $push10=, $pop9, $pop7
+ i32.store $discard=, b($pop19), $pop10
+ block
+ i32.const $push12=, 0
+ i32.load $push11=, b($pop12)
+ br_if $pop11, 0 # 0: down to label0
# BB#1: # %if.end
- return $0
+ i32.const $push20=, 0
+ return $pop20
.LBB0_2: # %if.then
end_block # label0:
call abort@FUNCTION
@@ -38,7 +45,7 @@ main: # @main
.type a,@object
.section .bss.a,"aw",@nobits
.globl a
- .align 2
+ .p2align 2
a:
.int32 0 # 0x0
.size a, 4
@@ -47,7 +54,7 @@ a:
.type d,@object
.section .bss.d,"aw",@nobits
.globl d
- .align 2
+ .p2align 2
d:
.int32 0 # 0x0
.size d, 4
@@ -56,7 +63,7 @@ d:
.type c,@object
.section .bss.c,"aw",@nobits
.globl c
- .align 2
+ .p2align 2
c:
.int32 0 # 0x0
.size c, 4
@@ -65,7 +72,7 @@ c:
.type b,@object
.section .bss.b,"aw",@nobits
.globl b
- .align 2
+ .p2align 2
b:
.int32 0 # 0x0
.size b, 4