Lines Matching refs:TRAP
4 # RUN: -mattr=+use-tcc-in-div | FileCheck %s --check-prefix=CHECK-TRAP
24 # CHECK-TRAP: teq $11, $zero, 7 # encoding: [0x01,0x60,0x01,0xf4]
25 # CHECK-TRAP: ddiv $zero, $25, $11 # encoding: [0x03,0x2b,0x00,0x1e]
26 # CHECK-TRAP: addiu $1, $zero, -1 # encoding: [0x24,0x01,0xff,0xff]
27 # CHECK-TRAP: bne $11, $1, .Ltmp0 # encoding: [0x15,0x61,A,A]
28 # CHECK-TRAP: # fixup A - offset: 0, value: .Ltmp0-4, kind: fixup_Mips_…
29 # CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
30 # CHECK-TRAP: dsll32 $1, $1, 31 # encoding: [0x00,0x01,0x0f,0xfc]
31 # CHECK-TRAP: teq $25, $1, 6 # encoding: [0x03,0x21,0x01,0xb4]
32 # CHECK-TRAP: .Ltmp0:
33 # CHECK-TRAP: mflo $25 # encoding: [0x00,0x00,0xc8,0x12]
53 # CHECK-TRAP: teq $12, $zero, 7 # encoding: [0x01,0x80,0x01,0xf4]
54 # CHECK-TRAP: ddiv $zero, $24, $12 # encoding: [0x03,0x0c,0x00,0x1e]
55 # CHECK-TRAP: addiu $1, $zero, -1 # encoding: [0x24,0x01,0xff,0xff]
56 # CHECK-TRAP: bne $12, $1, .Ltmp1 # encoding: [0x15,0x81,A,A]
57 # CHECK-TRAP: # fixup A - offset: 0, value: .Ltmp1-4, kind: fixup_Mips_…
58 # CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
59 # CHECK-TRAP: dsll32 $1, $1, 31 # encoding: [0x00,0x01,0x0f,0xfc]
60 # CHECK-TRAP: teq $24, $1, 6 # encoding: [0x03,0x01,0x01,0xb4]
61 # CHECK-TRAP: .Ltmp1:
62 # CHECK-TRAP: mflo $24 # encoding: [0x00,0x00,0xc0,0x12]
66 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
71 # CHECK-TRAP: teq $9, $zero, 7 # encoding: [0x01,0x20,0x01,0xf4]
72 # CHECK-TRAP: ddiv $zero, $zero, $9 # encoding: [0x00,0x09,0x00,0x1e]
73 # CHECK-TRAP: addiu $1, $zero, -1 # encoding: [0x24,0x01,0xff,0xff]
74 # CHECK-TRAP: bne $9, $1, .Ltmp2 # encoding: [0x15,0x21,A,A]
75 # CHECK-TRAP: # fixup A - offset: 0, value: .Ltmp2-4, kind: fixup_Mips_…
76 # CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
77 # CHECK-TRAP: dsll32 $1, $1, 31 # encoding: [0x00,0x01,0x0f,0xfc]
78 # CHECK-TRAP: teq $zero, $1, 6 # encoding: [0x00,0x01,0x01,0xb4]
79 # CHECK-TRAP: .Ltmp2:
80 # CHECK-TRAP: mflo $zero # encoding: [0x00,0x00,0x00,0x12]
84 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
88 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
92 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
96 # CHECK-TRAP: move $4, $4 # encoding: [0x00,0x80,0x20,0x25]
100 # CHECK-TRAP: dneg $4, $4 # encoding: [0x00,0x04,0x20,0x2e]
106 # CHECK-TRAP: addiu $1, $zero, 2 # encoding: [0x24,0x01,0x00,0x02]
107 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
108 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
114 # CHECK-TRAP: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00]
115 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
116 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
122 # CHECK-TRAP: addiu $1, $zero, -32768 # encoding: [0x24,0x01,0x80,0x00]
123 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
124 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
130 # CHECK-TRAP: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
131 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
132 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
139 # CHECK-TRAP: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
140 # CHECK-TRAP: ori $1, $1, 42405 # encoding: [0x34,0x21,0xa5,0xa5]
141 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
142 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
149 # CHECK-TRAP: lui $1, 4095 # encoding: [0x3c,0x01,0x0f,0xff]
150 # CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
151 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
152 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
158 # CHECK-TRAP: lui $1, 4096 # encoding: [0x3c,0x01,0x10,0x00]
159 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
160 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
168 # CHECK-TRAP: ori $1, $zero, 65535 # encoding: [0x34,0x01,0xff,0xff]
169 # CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
170 # CHECK-TRAP: ori $1, $1, 65534 # encoding: [0x34,0x21,0xff,0xfe]
171 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
172 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
180 # CHECK-TRAP: lui $1, 65535 # encoding: [0x3c,0x01,0xff,0xff]
181 # CHECK-TRAP: dsrl32 $1, $1, 0 # encoding: [0x00,0x01,0x08,0x3e]
182 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
183 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
193 # CHECK-TRAP: addiu $1, $zero, 15 # encoding: [0x24,0x01,0x00,0x0f]
194 # CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
195 # CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
196 # CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
197 # CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
198 # CHECK-TRAP: ddiv $zero, $4, $1 # encoding: [0x00,0x81,0x00,0x1e]
199 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
219 # CHECK-TRAP: teq $6, $zero, 7 # encoding: [0x00,0xc0,0x01,0xf4]
220 # CHECK-TRAP: ddiv $zero, $5, $6 # encoding: [0x00,0xa6,0x00,0x1e]
221 # CHECK-TRAP: addiu $1, $zero, -1 # encoding: [0x24,0x01,0xff,0xff]
222 # CHECK-TRAP: bne $6, $1, .Ltmp3 # encoding: [0x14,0xc1,A,A]
223 # CHECK-TRAP: # fixup A - offset: 0, value: .Ltmp3-4, kind: fixup_Mips_…
224 # CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
225 # CHECK-TRAP: dsll32 $1, $1, 31 # encoding: [0x00,0x01,0x0f,0xfc]
226 # CHECK-TRAP: teq $5, $1, 6 # encoding: [0x00,0xa1,0x01,0xb4]
227 # CHECK-TRAP: .Ltmp3:
228 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
232 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
236 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
240 # CHECK-TRAP: ddiv $zero, $4, $5 # encoding: [0x00,0x85,0x00,0x1e]
244 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
248 # CHECK-TRAP: teq $zero, $zero, 7 # encoding: [0x00,0x00,0x01,0xf4]
252 # CHECK-TRAP: move $4, $5 # encoding: [0x00,0xa0,0x20,0x25]
256 # CHECK-TRAP: dneg $4, $5 # encoding: [0x00,0x05,0x20,0x2e]
262 # CHECK-TRAP: addiu $1, $zero, 2 # encoding: [0x24,0x01,0x00,0x02]
263 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
264 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
270 # CHECK-TRAP: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00]
271 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
272 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
278 # CHECK-TRAP: addiu $1, $zero, -32768 # encoding: [0x24,0x01,0x80,0x00]
279 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
280 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
286 # CHECK-TRAP: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
287 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
288 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
295 # CHECK-TRAP: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
296 # CHECK-TRAP: ori $1, $1, 42405 # encoding: [0x34,0x21,0xa5,0xa5]
297 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
298 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
305 # CHECK-TRAP: lui $1, 4095 # encoding: [0x3c,0x01,0x0f,0xff]
306 # CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
307 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
308 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
314 # CHECK-TRAP: lui $1, 4096 # encoding: [0x3c,0x01,0x10,0x00]
315 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
316 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
324 # CHECK-TRAP: ori $1, $zero, 65535 # encoding: [0x34,0x01,0xff,0xff]
325 # CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
326 # CHECK-TRAP: ori $1, $1, 65534 # encoding: [0x34,0x21,0xff,0xfe]
327 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
328 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
335 # CHECK-TRAP: lui $1, 65535 # encoding: [0x3c,0x01,0xff,0xff]
336 # CHECK-TRAP: dsrl32 $1, $1, 0 # encoding: [0x00,0x01,0x08,0x3e]
337 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
338 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
348 # CHECK-TRAP: addiu $1, $zero, 15 # encoding: [0x24,0x01,0x00,0x0f]
349 # CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
350 # CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
351 # CHECK-TRAP: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38]
352 # CHECK-TRAP: ori $1, $1, 65535 # encoding: [0x34,0x21,0xff,0xff]
353 # CHECK-TRAP: ddiv $zero, $5, $1 # encoding: [0x00,0xa1,0x00,0x1e]
354 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]