• Home
  • Raw
  • Download

Lines Matching full:all

2 ; RUN:   FileCheck %s -check-prefixes=ALL,MIPS32-ANY,NO-SEB-SEH,CHECK-EL,NOT-MICROMIPS
4 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS32-ANY,HAS-SEB-SEH,CHECK-EL,NOT-MICROMIPS
6 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS32-ANY,HAS-SEB-SEH,CHECK-EL,MIPSR6
8 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS64-ANY,NO-SEB-SEH,CHECK-EL,NOT-MICROMIPS
10 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS64-ANY,NO-SEB-SEH,CHECK-EL,NOT-MICROMIPS
12 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS64-ANY,HAS-SEB-SEH,CHECK-EL,NOT-MICROMIPS
14 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS64-ANY,HAS-SEB-SEH,CHECK-EL,MIPSR6
16 ; RUN: FileCheck %s -check-prefixes=ALL-LABEL,MIPS64-ANY,O0
18 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS32-ANY,HAS-SEB-SEH,CHECK-EL,MICROMIPS
23 ; RUN: FileCheck %s -check-prefixes=ALL,MIPS32-ANY,NO-SEB-SEH,CHECK-EB,NOT-MICROMIPS
32 ; ALL-LABEL: AtomicLoadAdd32:
41 ; ALL: $[[BB0:[A-Z_0-9]+]]:
42 ; ALL: ll $[[R3:[0-9]+]], 0($[[R0]])
43 ; ALL: addu $[[R4:[0-9]+]], $[[R3]], $4
44 ; ALL: sc $[[R4]], 0($[[R0]])
55 ; ALL-LABEL: AtomicLoadNand32:
62 ; ALL: $[[BB0:[A-Z_0-9]+]]:
63 ; ALL: ll $[[R1:[0-9]+]], 0($[[R0]])
64 ; ALL: and $[[R3:[0-9]+]], $[[R1]], $4
65 ; ALL: nor $[[R2:[0-9]+]], $zero, $[[R3]]
66 ; ALL: sc $[[R2]], 0($[[R0]])
80 ; ALL-LABEL: AtomicSwap32:
85 ; ALL: $[[BB0:[A-Z_0-9]+]]:
86 ; ALL: ll ${{[0-9]+}}, 0($[[R0]])
87 ; ALL: sc $[[R2:[0-9]+]], 0($[[R0]])
102 ; ALL-LABEL: AtomicCmpSwap32:
107 ; ALL: $[[BB0:[A-Z_0-9]+]]:
108 ; ALL: ll $2, 0($[[R0]])
112 ; ALL: sc $[[R2:[0-9]+]], 0($[[R0]])
116 ; ALL: $[[BB1]]:
128 ; ALL-LABEL: AtomicLoadAdd8:
133 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
134 ; ALL: and $[[R2:[0-9]+]], $[[R0]], $[[R1]]
135 ; ALL: andi $[[R3:[0-9]+]], $[[R0]], 3
139 ; ALL: ori $[[R6:[0-9]+]], $zero, 255
140 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
141 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
142 ; ALL: sllv $[[R9:[0-9]+]], $4, $[[R5]]
148 ; ALL: $[[BB0:[A-Z_0-9]+]]:
149 ; ALL: ll $[[R12:[0-9]+]], 0($[[R2]])
150 ; ALL: addu $[[R13:[0-9]+]], $[[R12]], $[[R9]]
151 ; ALL: and $[[R14:[0-9]+]], $[[R13]], $[[R7]]
152 ; ALL: and $[[R15:[0-9]+]], $[[R12]], $[[R8]]
153 ; ALL: or $[[R16:[0-9]+]], $[[R15]], $[[R14]]
154 ; ALL: sc $[[R16]], 0($[[R2]])
159 ; ALL: and $[[R17:[0-9]+]], $[[R12]], $[[R7]]
160 ; ALL: srlv $[[R18:[0-9]+]], $[[R17]], $[[R5]]
173 ; ALL-LABEL: AtomicLoadSub8:
178 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
179 ; ALL: and $[[R2:[0-9]+]], $[[R0]], $[[R1]]
180 ; ALL: andi $[[R3:[0-9]+]], $[[R0]], 3
184 ; ALL: ori $[[R6:[0-9]+]], $zero, 255
185 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
186 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
187 ; ALL: sllv $[[R9:[0-9]+]], $4, $[[R5]]
193 ; ALL: $[[BB0:[A-Z_0-9]+]]:
194 ; ALL: ll $[[R12:[0-9]+]], 0($[[R2]])
195 ; ALL: subu $[[R13:[0-9]+]], $[[R12]], $[[R9]]
196 ; ALL: and $[[R14:[0-9]+]], $[[R13]], $[[R7]]
197 ; ALL: and $[[R15:[0-9]+]], $[[R12]], $[[R8]]
198 ; ALL: or $[[R16:[0-9]+]], $[[R15]], $[[R14]]
199 ; ALL: sc $[[R16]], 0($[[R2]])
204 ; ALL: and $[[R17:[0-9]+]], $[[R12]], $[[R7]]
205 ; ALL: srlv $[[R18:[0-9]+]], $[[R17]], $[[R5]]
218 ; ALL-LABEL: AtomicLoadNand8:
223 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
224 ; ALL: and $[[R2:[0-9]+]], $[[R0]], $[[R1]]
225 ; ALL: andi $[[R3:[0-9]+]], $[[R0]], 3
229 ; ALL: ori $[[R6:[0-9]+]], $zero, 255
230 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
231 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
232 ; ALL: sllv $[[R9:[0-9]+]], $4, $[[R5]]
238 ; ALL: $[[BB0:[A-Z_0-9]+]]:
239 ; ALL: ll $[[R12:[0-9]+]], 0($[[R2]])
240 ; ALL: and $[[R13:[0-9]+]], $[[R12]], $[[R9]]
241 ; ALL: nor $[[R14:[0-9]+]], $zero, $[[R13]]
242 ; ALL: and $[[R15:[0-9]+]], $[[R14]], $[[R7]]
243 ; ALL: and $[[R16:[0-9]+]], $[[R12]], $[[R8]]
244 ; ALL: or $[[R17:[0-9]+]], $[[R16]], $[[R15]]
245 ; ALL: sc $[[R17]], 0($[[R2]])
250 ; ALL: and $[[R18:[0-9]+]], $[[R12]], $[[R7]]
251 ; ALL: srlv $[[R19:[0-9]+]], $[[R18]], $[[R5]]
264 ; ALL-LABEL: AtomicSwap8:
269 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
270 ; ALL: and $[[R2:[0-9]+]], $[[R0]], $[[R1]]
271 ; ALL: andi $[[R3:[0-9]+]], $[[R0]], 3
275 ; ALL: ori $[[R6:[0-9]+]], $zero, 255
276 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
277 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
278 ; ALL: sllv $[[R9:[0-9]+]], $4, $[[R5]]
280 ; ALL: $[[BB0:[A-Z_0-9]+]]:
281 ; ALL: ll $[[R10:[0-9]+]], 0($[[R2]])
282 ; ALL: and $[[R18:[0-9]+]], $[[R9]], $[[R7]]
283 ; ALL: and $[[R13:[0-9]+]], $[[R10]], $[[R8]]
284 ; ALL: or $[[R14:[0-9]+]], $[[R13]], $[[R18]]
285 ; ALL: sc $[[R14]], 0($[[R2]])
290 ; ALL: and $[[R15:[0-9]+]], $[[R10]], $[[R7]]
291 ; ALL: srlv $[[R16:[0-9]+]], $[[R15]], $[[R5]]
306 ; ALL-LABEL: AtomicCmpSwap8:
311 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
312 ; ALL: and $[[R2:[0-9]+]], $[[R0]], $[[R1]]
313 ; ALL: andi $[[R3:[0-9]+]], $[[R0]], 3
317 ; ALL: ori $[[R6:[0-9]+]], $zero, 255
318 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
319 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
320 ; ALL: andi $[[R9:[0-9]+]], $4, 255
321 ; ALL: sllv $[[R10:[0-9]+]], $[[R9]], $[[R5]]
322 ; ALL: andi $[[R11:[0-9]+]], $5, 255
323 ; ALL: sllv $[[R12:[0-9]+]], $[[R11]], $[[R5]]
325 ; ALL: $[[BB0:[A-Z_0-9]+]]:
326 ; ALL: ll $[[R13:[0-9]+]], 0($[[R2]])
327 ; ALL: and $[[R14:[0-9]+]], $[[R13]], $[[R7]]
332 ; ALL: and $[[R15:[0-9]+]], $[[R13]], $[[R8]]
333 ; ALL: or $[[R16:[0-9]+]], $[[R15]], $[[R12]]
334 ; ALL: sc $[[R16]], 0($[[R2]])
339 ; ALL: $[[BB1]]:
340 ; ALL: srlv $[[R17:[0-9]+]], $[[R14]], $[[R5]]
353 ; ALL-LABEL: AtomicCmpSwapRes8
355 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
356 ; ALL: and $[[R2:[0-9]+]], $4, $[[R1]]
357 ; ALL: andi $[[R3:[0-9]+]], $4, 3
361 ; ALL: ori $[[R6:[0-9]+]], $zero, 255
362 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
363 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
364 ; ALL: andi $[[R9:[0-9]+]], $5, 255
365 ; ALL: sllv $[[R10:[0-9]+]], $[[R9]], $[[R5]]
366 ; ALL: andi $[[R11:[0-9]+]], $6, 255
367 ; ALL: sllv $[[R12:[0-9]+]], $[[R11]], $[[R5]]
369 ; ALL: $[[BB0:[A-Z_0-9]+]]:
370 ; ALL: ll $[[R13:[0-9]+]], 0($[[R2]])
371 ; ALL: and $[[R14:[0-9]+]], $[[R13]], $[[R7]]
376 ; ALL: and $[[R15:[0-9]+]], $[[R13]], $[[R8]]
377 ; ALL: or $[[R16:[0-9]+]], $[[R15]], $[[R12]]
378 ; ALL: sc $[[R16]], 0($[[R2]])
383 ; ALL: $[[BB1]]:
384 ; ALL: srlv $[[R17:[0-9]+]], $[[R14]], $[[R5]]
399 ; ALL: sltiu $2, $[[R21]], 1
410 ; ALL-LABEL: AtomicLoadAdd16:
415 ; ALL: addiu $[[R1:[0-9]+]], $zero, -4
416 ; ALL: and $[[R2:[0-9]+]], $[[R0]], $[[R1]]
417 ; ALL: andi $[[R3:[0-9]+]], $[[R0]], 3
421 ; ALL: ori $[[R6:[0-9]+]], $zero, 65535
422 ; ALL: sllv $[[R7:[0-9]+]], $[[R6]], $[[R5]]
423 ; ALL: nor $[[R8:[0-9]+]], $zero, $[[R7]]
424 ; ALL: sllv $[[R9:[0-9]+]], $4, $[[R5]]
430 ; ALL: $[[BB0:[A-Z_0-9]+]]:
431 ; ALL: ll $[[R12:[0-9]+]], 0($[[R2]])
432 ; ALL: addu $[[R13:[0-9]+]], $[[R12]], $[[R9]]
433 ; ALL: and $[[R14:[0-9]+]], $[[R13]], $[[R7]]
434 ; ALL: and $[[R15:[0-9]+]], $[[R12]], $[[R8]]
435 ; ALL: or $[[R16:[0-9]+]], $[[R15]], $[[R14]]
436 ; ALL: sc $[[R16]], 0($[[R2]])
441 ; ALL: and $[[R17:[0-9]+]], $[[R12]], $[[R7]]
442 ; ALL: srlv $[[R18:[0-9]+]], $[[R17]], $[[R5]]
460 ; ALL-LABEL: foo
465 ; ALL: sync
467 ; ALL: andi $[[R3:[0-9]+]], $[[R2]], 65535
468 ; ALL: $[[BB0:[A-Z_0-9]+]]:
469 ; ALL: ll $[[R4:[0-9]+]], 0($[[R5:[0-9]+]])
470 ; ALL: and $[[R6:[0-9]+]], $[[R4]], $
471 ; ALL: and $[[R7:[0-9]+]], $[[R4]], $
472 ; ALL: or $[[R8:[0-9]+]], $[[R7]], $
473 ; ALL: sc $[[R8]], 0($[[R5]])
478 ; ALL: srlv $[[R9:[0-9]+]], $[[R6]], $
489 ; ALL: xor $[[R12:[0-9]+]], $[[R11]], $[[R13]]
490 ; ALL: sltiu $3, $[[R12]], 1
491 ; ALL: sync
501 ; ALL-LABEL: CheckSync:
503 ; ALL: sync
504 ; ALL: ll
505 ; ALL: sc
506 ; ALL: beq
507 ; ALL: sync
535 ; ALL-LABEL: AtomicLoadAdd32_OffGt9Bit:
540 ; ALL: addiu $[[PTR:[0-9]+]], $[[R0]], 1024
541 ; ALL: $[[BB0:[A-Z_0-9]+]]:
542 ; ALL: ll $[[R1:[0-9]+]], 0($[[PTR]])
543 ; ALL: addu $[[R2:[0-9]+]], $[[R1]], $4
544 ; ALL: sc $[[R2]], 0($[[PTR]])