summaryrefslogtreecommitdiff
path: root/test/torture-s/20111227-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20111227-1.c.s')
-rw-r--r--test/torture-s/20111227-1.c.s23
1 files changed, 12 insertions, 11 deletions
diff --git a/test/torture-s/20111227-1.c.s b/test/torture-s/20111227-1.c.s
index 060b5ab03..f7ad1be80 100644
--- a/test/torture-s/20111227-1.c.s
+++ b/test/torture-s/20111227-1.c.s
@@ -31,17 +31,18 @@ foo: # @foo
i32.load16_u $0=, 0($0)
block
block
- i32.const $push2=, 0
- i32.eq $push3=, $1, $pop2
- br_if $pop3, 0 # 0: down to label2
+ i32.const $push4=, 0
+ i32.eq $push5=, $1, $pop4
+ br_if $pop5, 0 # 0: down to label2
# BB#1: # %if.then
call bar@FUNCTION, $0
br 1 # 1: down to label1
.LBB1_2: # %if.else
end_block # label2:
- i32.const $1=, 16
- i32.shl $push1=, $0, $1
- i32.shr_s $push0=, $pop1, $1
+ i32.const $push1=, 16
+ i32.shl $push2=, $0, $pop1
+ i32.const $push3=, 16
+ i32.shr_s $push0=, $pop2, $pop3
call bar@FUNCTION, $pop0
.LBB1_3: # %if.end
end_block # label1:
@@ -56,12 +57,12 @@ foo: # @foo
.type main,@function
main: # @main
.result i32
- .local i32
# BB#0: # %entry
- i32.const $0=, 0
i32.const $push0=, v
- call foo@FUNCTION, $pop0, $0
- return $0
+ i32.const $push1=, 0
+ call foo@FUNCTION, $pop0, $pop1
+ i32.const $push2=, 0
+ return $pop2
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
@@ -70,7 +71,7 @@ main: # @main
.type v,@object
.section .data.v,"aw",@progbits
.globl v
- .align 1
+ .p2align 1
v:
.int16 65535 # 0xffff
.size v, 2