forked from WebAssembly/binaryen
/
20020510-1.c.s
154 lines (148 loc) · 4.49 KB
/
20020510-1.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20020510-1.c"
.section .text.testc,"ax",@progbits
.hidden testc
.globl testc
.type testc,@function
testc: # @testc
.param i32, i32
# BB#0: # %entry
block
block
block
i32.const $push0=, 24
i32.shl $push1=, $0, $pop0
i32.const $push5=, 24
i32.shr_s $push2=, $pop1, $pop5
i32.const $push3=, 1
i32.lt_s $push4=, $pop2, $pop3
br_if 0, $pop4 # 0: down to label2
# BB#1: # %if.then
br_if 1, $1 # 1: down to label1
# BB#2: # %if.then5
call abort@FUNCTION
unreachable
.LBB0_3: # %if.else
end_block # label2:
br_if 1, $1 # 1: down to label0
.LBB0_4: # %if.end9
end_block # label1:
return
.LBB0_5: # %if.then7
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size testc, .Lfunc_end0-testc
.section .text.tests,"ax",@progbits
.hidden tests
.globl tests
.type tests,@function
tests: # @tests
.param i32, i32
# BB#0: # %entry
block
block
block
i32.const $push0=, 16
i32.shl $push1=, $0, $pop0
i32.const $push5=, 16
i32.shr_s $push2=, $pop1, $pop5
i32.const $push3=, 1
i32.lt_s $push4=, $pop2, $pop3
br_if 0, $pop4 # 0: down to label5
# BB#1: # %if.then
br_if 1, $1 # 1: down to label4
# BB#2: # %if.then5
call abort@FUNCTION
unreachable
.LBB1_3: # %if.else
end_block # label5:
br_if 1, $1 # 1: down to label3
.LBB1_4: # %if.end9
end_block # label4:
return
.LBB1_5: # %if.then7
end_block # label3:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size tests, .Lfunc_end1-tests
.section .text.testi,"ax",@progbits
.hidden testi
.globl testi
.type testi,@function
testi: # @testi
.param i32, i32
# BB#0: # %entry
block
block
block
i32.const $push0=, 1
i32.lt_s $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label8
# BB#1: # %if.then
br_if 1, $1 # 1: down to label7
# BB#2: # %if.then2
call abort@FUNCTION
unreachable
.LBB2_3: # %if.else
end_block # label8:
br_if 1, $1 # 1: down to label6
.LBB2_4: # %if.end6
end_block # label7:
return
.LBB2_5: # %if.then4
end_block # label6:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end2:
.size testi, .Lfunc_end2-testi
.section .text.testl,"ax",@progbits
.hidden testl
.globl testl
.type testl,@function
testl: # @testl
.param i32, i32
# BB#0: # %entry
block
block
block
i32.const $push0=, 1
i32.lt_s $push1=, $0, $pop0
br_if 0, $pop1 # 0: down to label11
# BB#1: # %if.then
br_if 1, $1 # 1: down to label10
# BB#2: # %if.then2
call abort@FUNCTION
unreachable
.LBB3_3: # %if.else
end_block # label11:
br_if 1, $1 # 1: down to label9
.LBB3_4: # %if.end6
end_block # label10:
return
.LBB3_5: # %if.then4
end_block # label9:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end3:
.size testl, .Lfunc_end3-testl
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push0=, 0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end4:
.size main, .Lfunc_end4-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void