forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
longlong.c.s
132 lines (126 loc) · 3.56 KB
/
longlong.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/longlong.c"
.section .text.alpha_ep_extbl_i_eq_0,"ax",@progbits
.hidden alpha_ep_extbl_i_eq_0
.globl alpha_ep_extbl_i_eq_0
.type alpha_ep_extbl_i_eq_0,@function
alpha_ep_extbl_i_eq_0: # @alpha_ep_extbl_i_eq_0
.local i32, i32, i32
# BB#0: # %entry
block
i32.const $push28=, 0
i32.load $push27=, pars($pop28)
tee_local $push26=, $0=, $pop27
i32.const $push0=, 31
i32.and $push25=, $pop26, $pop0
tee_local $push24=, $1=, $pop25
i32.const $push23=, 31
i32.eq $push1=, $pop24, $pop23
br_if 0, $pop1 # 0: down to label0
# BB#1: # %if.then
i32.const $push32=, 0
i32.load $push31=, r($pop32)
tee_local $push30=, $2=, $pop31
i32.const $push20=, 3
i32.shl $push21=, $1, $pop20
i32.add $push22=, $pop30, $pop21
i32.const $push12=, 2
i32.shr_u $push13=, $0, $pop12
i32.const $push4=, 248
i32.and $push14=, $pop13, $pop4
i32.add $push15=, $2, $pop14
i64.load $push16=, 0($pop15)
i32.const $push2=, 24
i32.shr_u $push3=, $0, $pop2
i32.const $push29=, 248
i32.and $push5=, $pop3, $pop29
i32.add $push6=, $2, $pop5
i64.load $push7=, 0($pop6)
i64.const $push8=, 3
i64.shl $push9=, $pop7, $pop8
i64.const $push10=, 56
i64.and $push11=, $pop9, $pop10
i64.shr_u $push17=, $pop16, $pop11
i64.const $push18=, 255
i64.and $push19=, $pop17, $pop18
i64.store $drop=, 0($pop22), $pop19
.LBB0_2: # %if.end
end_block # label0:
# fallthrough-return
.endfunc
.Lfunc_end0:
.size alpha_ep_extbl_i_eq_0, .Lfunc_end0-alpha_ep_extbl_i_eq_0
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %alpha_ep_extbl_i_eq_0.exit
i32.const $push21=, 0
i64.const $push0=, 3160194
i64.store $drop=, b+136($pop21), $pop0
i32.const $push20=, 0
i64.const $push1=, 6003104017374052362
i64.store $drop=, b+16($pop20), $pop1
i32.const $push19=, 0
i32.const $push2=, -2013265854
i32.store $drop=, pars($pop19), $pop2
i32.const $push18=, 0
i32.load $push17=, r($pop18)
tee_local $push16=, $0=, $pop17
i64.load $push8=, 16($0)
i64.load $push3=, 136($0)
i64.const $push4=, 3
i64.shl $push5=, $pop3, $pop4
i64.const $push6=, 56
i64.and $push7=, $pop5, $pop6
i64.shr_u $push9=, $pop8, $pop7
i64.const $push10=, 255
i64.and $push11=, $pop9, $pop10
i64.store $drop=, 16($pop16), $pop11
block
i32.const $push15=, 0
i64.load $push12=, b+16($pop15)
i64.const $push13=, 77
i64.ne $push14=, $pop12, $pop13
br_if 0, $pop14 # 0: down to label1
# BB#1: # %if.end
i32.const $push22=, 0
call exit@FUNCTION, $pop22
unreachable
.LBB1_2: # %if.then
end_block # label1:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden b # @b
.type b,@object
.section .bss.b,"aw",@nobits
.globl b
.p2align 4
b:
.skip 256
.size b, 256
.hidden r # @r
.type r,@object
.section .data.r,"aw",@progbits
.globl r
.p2align 2
r:
.int32 b
.size r, 4
.hidden pars # @pars
.type pars,@object
.section .bss.pars,"aw",@nobits
.globl pars
.p2align 2
pars:
.int32 0 # 0x0
.size pars, 4
.ident "clang version 3.9.0 "
.functype abort, void
.functype exit, void, i32