forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pr34971.c.s
66 lines (62 loc) · 1.61 KB
/
pr34971.c.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr34971.c"
.section .text.test1,"ax",@progbits
.hidden test1
.globl test1
.type test1,@function
test1: # @test1
.param i64
.local i64
# BB#0: # %entry
block
i32.const $push0=, 0
i64.load $push1=, x($pop0)
i64.const $push2=, 1099511627775
i64.and $push10=, $pop1, $pop2
tee_local $push9=, $1=, $pop10
i64.const $push5=, 8
i64.shl $push6=, $pop9, $pop5
i64.const $push3=, 32
i64.shr_u $push4=, $1, $pop3
i64.or $push7=, $pop6, $pop4
i64.ne $push8=, $pop7, $0
br_if 0, $pop8 # 0: down to label0
# BB#1: # %if.end
return
.LBB0_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size test1, .Lfunc_end0-test1
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.then.i
i32.const $push0=, 0
i32.const $push6=, 0
i64.load $push1=, x($pop6)
i64.const $push2=, -1099511627776
i64.and $push3=, $pop1, $pop2
i64.const $push4=, 4294967297
i64.or $push5=, $pop3, $pop4
i64.store $drop=, x($pop0), $pop5
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden x # @x
.type x,@object
.section .bss.x,"aw",@nobits
.globl x
.p2align 3
x:
.skip 8
.size x, 8
.ident "clang version 3.9.0 "
.functype abort, void