forked from WebAssembly/binaryen
/
931004-13.c.s
154 lines (151 loc) · 4.66 KB
/
931004-13.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/931004-13.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32, i32, i32, i32, i32
.result i32
# BB#0: # %entry
block
i32.load8_u $push0=, 0($1)
i32.const $push1=, 10
i32.ne $push2=, $pop0, $pop1
br_if 0, $pop2 # 0: down to label0
# BB#1: # %if.end
i32.load8_u $push3=, 1($1)
i32.const $push4=, 20
i32.ne $push5=, $pop3, $pop4
br_if 0, $pop5 # 0: down to label0
# BB#2: # %if.end6
i32.load8_u $push6=, 2($1)
i32.const $push7=, 30
i32.ne $push8=, $pop6, $pop7
br_if 0, $pop8 # 0: down to label0
# BB#3: # %if.end11
i32.load8_u $push9=, 3($1)
i32.const $push10=, 40
i32.ne $push11=, $pop9, $pop10
br_if 0, $pop11 # 0: down to label0
# BB#4: # %if.end16
i32.load8_u $push12=, 0($2)
i32.const $push13=, 11
i32.ne $push14=, $pop12, $pop13
br_if 0, $pop14 # 0: down to label0
# BB#5: # %if.end22
i32.load8_u $push15=, 1($2)
i32.const $push16=, 21
i32.ne $push17=, $pop15, $pop16
br_if 0, $pop17 # 0: down to label0
# BB#6: # %if.end28
i32.load8_u $push18=, 2($2)
i32.const $push19=, 31
i32.ne $push20=, $pop18, $pop19
br_if 0, $pop20 # 0: down to label0
# BB#7: # %if.end34
i32.load8_u $push21=, 3($2)
i32.const $push22=, 41
i32.ne $push23=, $pop21, $pop22
br_if 0, $pop23 # 0: down to label0
# BB#8: # %if.end40
i32.load8_u $push24=, 0($3)
i32.const $push25=, 12
i32.ne $push26=, $pop24, $pop25
br_if 0, $pop26 # 0: down to label0
# BB#9: # %if.end46
i32.load8_u $push27=, 1($3)
i32.const $push28=, 22
i32.ne $push29=, $pop27, $pop28
br_if 0, $pop29 # 0: down to label0
# BB#10: # %if.end52
i32.load8_u $push30=, 2($3)
i32.const $push31=, 32
i32.ne $push32=, $pop30, $pop31
br_if 0, $pop32 # 0: down to label0
# BB#11: # %if.end58
i32.load8_u $push33=, 3($3)
i32.const $push34=, 42
i32.ne $push35=, $pop33, $pop34
br_if 0, $pop35 # 0: down to label0
# BB#12: # %if.end64
i32.const $push36=, 123
i32.ne $push37=, $4, $pop36
br_if 0, $pop37 # 0: down to label0
# BB#13: # %if.end68
return $1
.LBB0_14: # %if.then67
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $push24=, 0
i32.const $push21=, 0
i32.load $push22=, __stack_pointer($pop21)
i32.const $push23=, 32
i32.sub $push35=, $pop22, $pop23
tee_local $push34=, $0=, $pop35
i32.store __stack_pointer($pop24), $pop34
i32.const $push0=, 25
i32.add $push1=, $0, $pop0
i32.const $push2=, 22
i32.store8 0($pop1), $pop2
i32.const $push3=, 12
i32.store8 24($0), $pop3
i32.const $push4=, 5130
i32.store16 16($0), $pop4
i32.const $push5=, 21
i32.store8 21($0), $pop5
i32.const $push6=, 30
i32.store8 18($0), $pop6
i32.const $push7=, 11
i32.store8 20($0), $pop7
i32.const $push8=, 31
i32.store8 22($0), $pop8
i32.const $push9=, 26
i32.add $push10=, $0, $pop9
i32.const $push11=, 32
i32.store8 0($pop10), $pop11
i32.const $push12=, 40
i32.store8 19($0), $pop12
i32.const $push13=, 41
i32.store8 23($0), $pop13
i32.const $push25=, 16
i32.add $push26=, $0, $pop25
i32.const $push33=, 11
i32.add $push14=, $pop26, $pop33
i32.const $push15=, 42
i32.store8 0($pop14), $pop15
i32.load $push16=, 16($0)
i32.store 12($0), $pop16
i32.load $push17=, 20($0)
i32.store 8($0), $pop17
i32.load $push18=, 24($0)
i32.store 4($0), $pop18
i32.const $push27=, 12
i32.add $push28=, $0, $pop27
i32.const $push29=, 8
i32.add $push30=, $0, $pop29
i32.const $push31=, 4
i32.add $push32=, $0, $pop31
i32.const $push19=, 123
i32.call $drop=, f@FUNCTION, $0, $pop28, $pop30, $pop32, $pop19
i32.const $push20=, 0
call exit@FUNCTION, $pop20
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32