summaryrefslogtreecommitdiff
path: root/test/torture-s/20020201-1.c.s
blob: 1ff3559fcd2ea70a026ace0b1cddf7eddfb4cd2d (plain)
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20020201-1.c"
	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i32, i64
# BB#0:                                 # %entry
	block
	i32.const	$push0=, 0
	i32.load8_u	$push43=, cx($pop0)
	tee_local	$push42=, $0=, $pop43
	i32.const	$push1=, -6
	i32.add 	$push2=, $pop42, $pop1
	i32.const	$push41=, 255
	i32.and 	$push3=, $pop2, $pop41
	i32.const	$push40=, 6
	i32.lt_u	$push4=, $pop3, $pop40
	br_if   	0, $pop4        # 0: down to label0
# BB#1:                                 # %if.then
	call    	abort@FUNCTION
	unreachable
.LBB0_2:                                # %if.end
	end_block                       # label0:
	block
	block
	i32.const	$push45=, 255
	i32.and 	$push5=, $0, $pop45
	i32.const	$push44=, 6
	i32.rem_u	$push6=, $pop5, $pop44
	i32.const	$push7=, 1
	i32.ne  	$push8=, $pop6, $pop7
	br_if   	0, $pop8        # 0: down to label2
# BB#3:                                 # %if.end10
	i32.const	$push9=, 0
	i32.load16_u	$push49=, sx($pop9)
	tee_local	$push48=, $0=, $pop49
	i32.const	$push10=, -12
	i32.add 	$push11=, $pop48, $pop10
	i32.const	$push47=, 65535
	i32.and 	$push12=, $pop11, $pop47
	i32.const	$push46=, 6
	i32.lt_u	$push13=, $pop12, $pop46
	br_if   	1, $pop13       # 1: down to label1
# BB#4:                                 # %if.then17
	call    	abort@FUNCTION
	unreachable
.LBB0_5:                                # %if.then9
	end_block                       # label2:
	call    	abort@FUNCTION
	unreachable
.LBB0_6:                                # %if.end18
	end_block                       # label1:
	block
	block
	i32.const	$push51=, 65535
	i32.and 	$push14=, $0, $pop51
	i32.const	$push50=, 6
	i32.rem_u	$push15=, $pop14, $pop50
	i32.const	$push16=, 2
	i32.ne  	$push17=, $pop15, $pop16
	br_if   	0, $pop17       # 0: down to label4
# BB#7:                                 # %if.end26
	i32.const	$push18=, 0
	i32.load	$push54=, ix($pop18)
	tee_local	$push53=, $0=, $pop54
	i32.const	$push19=, -18
	i32.add 	$push20=, $pop53, $pop19
	i32.const	$push52=, 6
	i32.lt_u	$push21=, $pop20, $pop52
	br_if   	1, $pop21       # 1: down to label3
# BB#8:                                 # %if.then30
	call    	abort@FUNCTION
	unreachable
.LBB0_9:                                # %if.then25
	end_block                       # label4:
	call    	abort@FUNCTION
	unreachable
.LBB0_10:                               # %if.end31
	end_block                       # label3:
	block
	block
	i32.const	$push55=, 6
	i32.rem_u	$push22=, $0, $pop55
	i32.const	$push23=, 3
	i32.ne  	$push24=, $pop22, $pop23
	br_if   	0, $pop24       # 0: down to label6
# BB#11:                                # %if.end36
	i32.const	$push25=, 0
	i32.load	$push58=, lx($pop25)
	tee_local	$push57=, $0=, $pop58
	i32.const	$push26=, -24
	i32.add 	$push27=, $pop57, $pop26
	i32.const	$push56=, 6
	i32.lt_u	$push28=, $pop27, $pop56
	br_if   	1, $pop28       # 1: down to label5
# BB#12:                                # %if.then40
	call    	abort@FUNCTION
	unreachable
.LBB0_13:                               # %if.then35
	end_block                       # label6:
	call    	abort@FUNCTION
	unreachable
.LBB0_14:                               # %if.end41
	end_block                       # label5:
	block
	block
	i32.const	$push59=, 6
	i32.rem_u	$push29=, $0, $pop59
	i32.const	$push30=, 4
	i32.ne  	$push31=, $pop29, $pop30
	br_if   	0, $pop31       # 0: down to label8
# BB#15:                                # %if.end46
	i32.const	$push32=, 0
	i64.load	$push62=, Lx($pop32)
	tee_local	$push61=, $1=, $pop62
	i64.const	$push33=, -30
	i64.add 	$push34=, $pop61, $pop33
	i64.const	$push60=, 6
	i64.lt_u	$push35=, $pop34, $pop60
	br_if   	1, $pop35       # 1: down to label7
# BB#16:                                # %if.then50
	call    	abort@FUNCTION
	unreachable
.LBB0_17:                               # %if.then45
	end_block                       # label8:
	call    	abort@FUNCTION
	unreachable
.LBB0_18:                               # %if.end51
	end_block                       # label7:
	block
	i64.const	$push63=, 6
	i64.rem_u	$push36=, $1, $pop63
	i64.const	$push37=, 5
	i64.ne  	$push38=, $pop36, $pop37
	br_if   	0, $pop38       # 0: down to label9
# BB#19:                                # %if.end56
	i32.const	$push39=, 0
	call    	exit@FUNCTION, $pop39
	unreachable
.LBB0_20:                               # %if.then55
	end_block                       # label9:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	main, .Lfunc_end0-main

	.hidden	cx                      # @cx
	.type	cx,@object
	.section	.data.cx,"aw",@progbits
	.globl	cx
cx:
	.int8	7                       # 0x7
	.size	cx, 1

	.hidden	sx                      # @sx
	.type	sx,@object
	.section	.data.sx,"aw",@progbits
	.globl	sx
	.p2align	1
sx:
	.int16	14                      # 0xe
	.size	sx, 2

	.hidden	ix                      # @ix
	.type	ix,@object
	.section	.data.ix,"aw",@progbits
	.globl	ix
	.p2align	2
ix:
	.int32	21                      # 0x15
	.size	ix, 4

	.hidden	lx                      # @lx
	.type	lx,@object
	.section	.data.lx,"aw",@progbits
	.globl	lx
	.p2align	2
lx:
	.int32	28                      # 0x1c
	.size	lx, 4

	.hidden	Lx                      # @Lx
	.type	Lx,@object
	.section	.data.Lx,"aw",@progbits
	.globl	Lx
	.p2align	3
Lx:
	.int64	35                      # 0x23
	.size	Lx, 8


	.ident	"clang version 3.9.0 "