diff options
Diffstat (limited to 'test/torture-s/20071211-1.c.s')
-rw-r--r-- | test/torture-s/20071211-1.c.s | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/test/torture-s/20071211-1.c.s b/test/torture-s/20071211-1.c.s index f7719ab41..e4baa0548 100644 --- a/test/torture-s/20071211-1.c.s +++ b/test/torture-s/20071211-1.c.s @@ -6,7 +6,7 @@ .type main,@function main: # @main .result i32 - .local i32, i64, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $0=, 0 i64.load $1=, sv($0) @@ -15,24 +15,30 @@ main: # @main i64.store $discard=, sv($0), $1 #APP #NO_APP - i64.load $1=, sv($0) - i64.const $2=, 40 + i32.const $push17=, 0 + i32.const $push16=, 0 + i64.load $push0=, sv($pop16) + tee_local $push15=, $1=, $pop0 + i64.const $push1=, 40 + i64.shr_u $push2=, $pop15, $pop1 + i64.const $push3=, 1 + i64.add $push4=, $pop2, $pop3 + tee_local $push14=, $2=, $pop4 + i64.const $push13=, 40 + i64.shl $push5=, $pop14, $pop13 + i64.const $push6=, 1099511627775 + i64.and $push7=, $1, $pop6 + i64.or $push8=, $pop5, $pop7 + i64.store $discard=, sv($pop17), $pop8 block - i64.shr_u $push0=, $1, $2 - i64.const $push1=, 1 - i64.add $3=, $pop0, $pop1 - i64.shl $push2=, $3, $2 - i64.const $push3=, 1099511627775 - i64.and $push4=, $1, $pop3 - i64.or $push5=, $pop2, $pop4 - i64.store $discard=, sv($0), $pop5 - i64.const $push6=, 16777215 - i64.and $push7=, $3, $pop6 - i64.const $push8=, 0 - i64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + i64.const $push9=, 16777215 + i64.and $push10=, $2, $pop9 + i64.const $push11=, 0 + i64.ne $push12=, $pop10, $pop11 + br_if $pop12, 0 # 0: down to label0 # BB#1: # %if.end - return $0 + i32.const $push18=, 0 + return $pop18 .LBB0_2: # %if.then end_block # label0: call abort@FUNCTION @@ -45,7 +51,7 @@ main: # @main .type sv,@object .section .bss.sv,"aw",@nobits .globl sv - .align 3 + .p2align 3 sv: .skip 8 .size sv, 8 |