Lines Matching refs:zero
8 ; RUN: llc -march=mips -mcpu=mips32 -mno-check-zero-division < %s | FileCheck %s -check-prefix=…
9 ; RUN: llc -march=mips -mcpu=mips32r2 -mno-check-zero-division < %s | FileCheck %s -check-prefix=…
10 ; RUN: llc -march=mips -mcpu=mips32r6 -mno-check-zero-division < %s | FileCheck %s -check-prefix=…
11 ; RUN: llc -march=mips64 -mcpu=mips64 -mno-check-zero-division < %s | FileCheck %s -check-prefix=…
12 ; RUN: llc -march=mips64 -mcpu=mips64r2 -mno-check-zero-division < %s | FileCheck %s -check-prefix=…
13 ; RUN: llc -march=mips64 -mcpu=mips64r6 -mno-check-zero-division < %s | FileCheck %s -check-prefix=…
25 ; NOCHECK - Division by zero will not be detected
34 ; ACC32: div $zero, $4, $5
35 ; ACC32-TRAP: teq $5, $zero, 7
37 ; ACC64: div $zero, $4, $5
38 ; ACC64-TRAP: teq $5, $zero, 7
41 ; GPR32-TRAP: teq $5, $zero, 7
44 ; GPR64-TRAP: teq $5, $zero, 7
61 ; ACC32: div $zero, $4, $5
62 ; ACC32-TRAP: teq $5, $zero, 7
64 ; ACC64: div $zero, $4, $5
65 ; ACC64-TRAP: teq $5, $zero, 7
68 ; GPR32-TRAP: teq $5, $zero, 7
71 ; GPR64-TRAP: teq $5, $zero, 7
88 ; ACC32: divu $zero, $4, $5
89 ; ACC32-TRAP: teq $5, $zero, 7
91 ; ACC64: divu $zero, $4, $5
92 ; ACC64-TRAP: teq $5, $zero, 7
95 ; GPR32-TRAP: teq $5, $zero, 7
98 ; GPR64-TRAP: teq $5, $zero, 7
114 ; ACC32: divu $zero, $4, $5
115 ; ACC32-TRAP: teq $5, $zero, 7
117 ; ACC64: divu $zero, $4, $5
118 ; ACC64-TRAP: teq $5, $zero, 7
121 ; GPR32-TRAP: teq $5, $zero, 7
124 ; GPR64-TRAP: teq $5, $zero, 7
141 ; ACC32: div $zero, $4, $5
142 ; ACC32-TRAP: teq $5, $zero, 7
148 ; ACC64: div $zero, $4, $5
149 ; ACC64-TRAP: teq $5, $zero, 7
156 ; GPR32-TRAP: teq $5, $zero, 7
160 ; GPR32-TRAP: teq $5, $zero, 7
163 ; GPR64-TRAP: teq $5, $zero, 7
167 ; GPR64-TRAP: teq $5, $zero, 7
182 ; ACC32: divu $zero, $4, $5
183 ; ACC32-TRAP: teq $5, $zero, 7
189 ; ACC64: divu $zero, $4, $5
190 ; ACC64-TRAP: teq $5, $zero, 7
197 ; GPR32-TRAP: teq $5, $zero, 7
201 ; GPR32-TRAP: teq $5, $zero, 7
205 ; GPR64-TRAP: teq $5, $zero, 7
209 ; GPR64-TRAP: teq $5, $zero, 7
236 ; ACC64: ddiv $zero, $4, $5
237 ; ACC64-TRAP: teq $5, $zero, 7
240 ; GPR64-TRAP: teq $5, $zero, 7
259 ; ACC64: div $zero, $4, $5
260 ; ACC64-TRAP: teq $5, $zero, 7
263 ; GPR64-TRAP: teq $5, $zero, 7
282 ; ACC64: divu $zero, $4, $5
283 ; ACC64-TRAP: teq $5, $zero, 7
286 ; GPR64-TRAP: teq $5, $zero, 7
304 ; ACC64: divu $zero, $4, $5
305 ; ACC64-TRAP: teq $5, $zero, 7
308 ; GPR64-TRAP: teq $5, $zero, 7
331 ; ACC64: ddiv $zero, $4, $5
332 ; ACC64-TRAP: teq $5, $zero, 7
339 ; GPR64-TRAP: teq $5, $zero, 7
344 ; GPR64-TRAP: teq $5, $zero, 7
366 ; ACC64: ddivu $zero, $4, $5
367 ; ACC64-TRAP: teq $5, $zero, 7
374 ; GPR64-TRAP: teq $5, $zero, 7
379 ; GPR64-TRAP: teq $5, $zero, 7