summaryrefslogtreecommitdiff
path: root/test/torture-s/struct-ini-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/struct-ini-2.c.s')
-rw-r--r--test/torture-s/struct-ini-2.c.s42
1 files changed, 22 insertions, 20 deletions
diff --git a/test/torture-s/struct-ini-2.c.s b/test/torture-s/struct-ini-2.c.s
index ca5c3dd1f..4121c4bc4 100644
--- a/test/torture-s/struct-ini-2.c.s
+++ b/test/torture-s/struct-ini-2.c.s
@@ -6,32 +6,34 @@
.type main,@function
main: # @main
.result i32
- .local i32, i32
+ .local i32
# BB#0: # %entry
- i32.const $1=, 0
- i32.load16_u $0=, x($1)
block
- i32.const $push0=, 15
- i32.and $push1=, $0, $pop0
- i32.const $push2=, 2
- i32.ne $push3=, $pop1, $pop2
- br_if $pop3, 0 # 0: down to label0
+ i32.const $push1=, 0
+ i32.load16_u $push0=, x($pop1):p2align=2
+ tee_local $push15=, $0=, $pop0
+ i32.const $push2=, 15
+ i32.and $push3=, $pop15, $pop2
+ i32.const $push4=, 2
+ i32.ne $push5=, $pop3, $pop4
+ br_if $pop5, 0 # 0: down to label0
# BB#1: # %if.end
block
- i32.const $push4=, 3840
- i32.and $push5=, $0, $pop4
- i32.const $push6=, 768
- i32.ne $push7=, $pop5, $pop6
- br_if $pop7, 0 # 0: down to label1
+ i32.const $push6=, 3840
+ i32.and $push7=, $0, $pop6
+ i32.const $push8=, 768
+ i32.ne $push9=, $pop7, $pop8
+ br_if $pop9, 0 # 0: down to label1
# BB#2: # %if.end7
block
- i32.const $push8=, 61440
- i32.and $push9=, $0, $pop8
- i32.const $push10=, 16384
- i32.ne $push11=, $pop9, $pop10
- br_if $pop11, 0 # 0: down to label2
+ i32.const $push10=, 61440
+ i32.and $push11=, $0, $pop10
+ i32.const $push12=, 16384
+ i32.ne $push13=, $pop11, $pop12
+ br_if $pop13, 0 # 0: down to label2
# BB#3: # %if.end13
- call exit@FUNCTION, $1
+ i32.const $push14=, 0
+ call exit@FUNCTION, $pop14
unreachable
.LBB0_4: # %if.then12
end_block # label2:
@@ -53,7 +55,7 @@ main: # @main
.type x,@object
.section .data.x,"aw",@progbits
.globl x
- .align 2
+ .p2align 2
x:
.int8 2 # 0x2
.int8 67 # 0x43