/external/llvm-project/llvm/test/CodeGen/Mips/msa/ |
D | f16-llvm-ir.ll | 7 ; RUN: --check-prefixes=MIPS64-N32,MIPS64R5-N32 10 ; RUN: --check-prefixes=MIPS64-N64,MIPS64R5-N64 17 ; RUN: --check-prefixes=MIPS64-N32,MIPSR6-N32 20 ; RUN: --check-prefixes=MIPS64-N64,MIPSR6-N64 53 ; MIPS64-N32-LABEL: f3: 54 ; MIPS64-N32: # %bb.0: # %entry 55 ; MIPS64-N32-NEXT: addiu $sp, $sp, -32 56 ; MIPS64-N32-NEXT: .cfi_def_cfa_offset 32 57 ; MIPS64-N32-NEXT: sd $ra, 24($sp) # 8-byte Folded Spill 58 ; MIPS64-N32-NEXT: sd $gp, 16($sp) # 8-byte Folded Spill [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | const-mult.ll | 3 ; RUN: llc -mtriple=mips64el-mti-linux-gnu < %s | FileCheck %s -check-prefix=MIPS64 13 ; MIPS64-LABEL: mul5_32: 14 ; MIPS64: # %bb.0: # %entry 15 ; MIPS64-NEXT: sll $1, $4, 2 16 ; MIPS64-NEXT: jr $ra 17 ; MIPS64-NEXT: addu $2, $1, $4 32 ; MIPS64-LABEL: mul27_32: 33 ; MIPS64: # %bb.0: # %entry 34 ; MIPS64-NEXT: sll $1, $4, 2 35 ; MIPS64-NEXT: addu $1, $1, $4 [all …]
|
D | xray-mips-attribute-instrumentation.ll | 3 …riple=mips64-unknown-linux-gnu < %s | FileCheck --check-prefix=CHECK --check-prefix=CHECK-MIPS64 %s 4 …ple=mips64el-unknown-linux-gnu < %s | FileCheck --check-prefix=CHECK --check-prefix=CHECK-MIPS64 %s 8 ; CHECK-MIPS64-LABEL: .Lxray_sled_0: 10 ; CHECK-MIPS64: b .Ltmp1 23 ; CHECK-MIPS64: nop 24 ; CHECK-MIPS64: nop 25 ; CHECK-MIPS64: nop 26 ; CHECK-MIPS64: nop 27 ; CHECK-MIPS64-LABEL: .Ltmp1: 32 ; CHECK-MIPS64-LABEL: .Lxray_sled_1: [all …]
|
D | blez_bgez.ll | 5 ; RUN: llc -mtriple=mips64el-mti-linux-gnu < %s | FileCheck %s --check-prefix=MIPS64 26 ; MIPS64-LABEL: test_blez: 27 ; MIPS64: # %bb.0: # %entry 28 ; MIPS64-NEXT: sll $1, $4, 0 29 ; MIPS64-NEXT: blez $1, .LBB0_2 30 ; MIPS64-NEXT: nop 31 ; MIPS64-NEXT: # %bb.1: # %if.then 32 ; MIPS64-NEXT: daddiu $sp, $sp, -16 33 ; MIPS64-NEXT: .cfi_def_cfa_offset 16 34 ; MIPS64-NEXT: sd $ra, 8($sp) # 8-byte Folded Spill [all …]
|
D | octeon.ll | 2 ; RUN: llc -O1 < %s -march=mips64 -mcpu=mips64 | FileCheck %s -check-prefixes=ALL,MIPS64 10 ; MIPS64: daddu $[[T0:[0-9]+]], $4, $5 11 ; MIPS64: jr $ra 12 ; MIPS64: andi $2, $[[T0]], 255 23 ; MIPS64: dmult $4, $5 24 ; MIPS64: jr $ra 25 ; MIPS64: mflo $2 35 ; MIPS64: xor $[[T0:[0-9]+]], $4, $5 36 ; MIPS64: sltiu $[[T1:[0-9]+]], $[[T0]], 1 37 ; MIPS64: dsll $[[T2:[0-9]+]], $[[T1]], 32 [all …]
|
D | mcount.ll | 8 ; RUN: < %s | FileCheck %s -check-prefix=MIPS64 10 ; RUN: < %s | FileCheck %s -check-prefix=MIPS64-PIC 52 ; MIPS64-LABEL: foo: 53 ; MIPS64: # %bb.0: # %entry 54 ; MIPS64-NEXT: daddiu $sp, $sp, -16 55 ; MIPS64-NEXT: .cfi_def_cfa_offset 16 56 ; MIPS64-NEXT: sd $ra, 8($sp) # 8-byte Folded Spill 57 ; MIPS64-NEXT: .cfi_offset 31, -8 58 ; MIPS64-NEXT: move $1, $ra 59 ; MIPS64-NEXT: jal _mcount [all …]
|
D | cttz-v.ll | 2 ; RUN: llc < %s -march=mips64el -mcpu=mips64r2 | FileCheck %s -check-prefix=MIPS64 21 ; MIPS64-DAG: sll $[[A0:[0-9]+]], $4, 0 22 ; MIPS64-DAG: addiu $[[R0:[0-9]+]], $[[A0]], -1 23 ; MIPS64-DAG: not $[[R1:[0-9]+]], $[[A0]] 24 ; MIPS64-DAG: and $[[R2:[0-9]+]], $[[R1]], $[[R0]] 25 ; MIPS64-DAG: clz $[[R3:[0-9]+]], $[[R2]] 26 ; MIPS64-DAG: addiu $[[R4:[0-9]+]], $zero, 32 27 ; MIPS64-DAG: subu $[[R5:[0-9]+]], $[[R4]], $[[R3]] 28 ; MIPS64-DAG: dsrl $[[R6:[0-9]+]], $4, 32 29 ; MIPS64-DAG: sll $[[R7:[0-9]+]], $[[R6]], 0 [all …]
|
D | load-store-left-right.ll | 7 …4 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EL %s 8 …4 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EB %s 9 …64 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EL %s 10 …64 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EB %s 11 …r2 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64R2-EL %s 12 …r2 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64R2-EB %s 37 ; MIPS64-EL: lwl $[[R0:[0-9]+]], 3($[[R1:[0-9]+]]) 38 ; MIPS64-EL: lwr $[[R0]], 0($[[R1]]) 43 ; MIPS64-EB: lwl $[[R0:[0-9]+]], 0($[[R1:[0-9]+]]) 44 ; MIPS64-EB: lwr $[[R0]], 3($[[R1]]) [all …]
|
/external/llvm-project/llvm/test/MC/Mips/ |
D | scd-expansion.s | 2 # RUN: | llvm-objdump -d -r - | FileCheck %s --check-prefix=MIPS64 7 # MIPS64: f3 a2 00 80 scd $2, 128($sp) 11 # MIPS64: f3 a2 ff 80 scd $2, -128($sp) 15 # MIPS64: f3 a2 01 00 scd $2, 256($sp) 21 # MIPS64: f3 a2 fe ff scd $2, -257($sp) 27 # MIPS64: f3 a2 7f ff scd $2, 32767($sp) 33 # MIPS64: 3c 01 00 01 lui $1, 1 34 # MIPS64-NEXT: 00 3d 08 2d daddu $1, $1, $sp 35 # MIPS64-NEXT: f0 22 80 00 scd $2, -32768($1) 42 # MIPS64: f3 a2 80 00 scd $2, -32768($sp) [all …]
|
D | lld-expansion.s | 2 # RUN: | llvm-objdump -d -r - | FileCheck %s --check-prefix=MIPS64 7 # MIPS64: d3 a2 00 80 lld $2, 128($sp) 11 # MIPS64: d3 a2 ff 80 lld $2, -128($sp) 15 # MIPS64: d3 a2 01 00 lld $2, 256($sp) 21 # MIPS64: d3 a2 fe ff lld $2, -257($sp) 27 # MIPS64: d3 a2 7f ff lld $2, 32767($sp) 33 # MIPS64: 3c 02 00 01 lui $2, 1 34 # MIPS64-NEXT: 00 5d 10 2d daddu $2, $2, $sp 35 # MIPS64-NEXT: d0 42 80 00 lld $2, -32768($2) 42 # MIPS64: d3 a2 80 00 lld $2, -32768($sp) [all …]
|
D | mips-coprocessor-encodings.s | 2 # RUN:| FileCheck --check-prefix=MIPS64 %s 4 # MIPS64: dmtc0 $12, $16, 2 # encoding: [0x40,0xac,0x80,0x02] 5 # MIPS64: dmtc0 $12, $16, 0 # encoding: [0x40,0xac,0x80,0x00] 6 # MIPS64: mtc0 $12, $16, 2 # encoding: [0x40,0x8c,0x80,0x02] 7 # MIPS64: mtc0 $12, $16, 0 # encoding: [0x40,0x8c,0x80,0x00] 8 # MIPS64: dmfc0 $12, $16, 2 # encoding: [0x40,0x2c,0x80,0x02] 9 # MIPS64: dmfc0 $12, $16, 0 # encoding: [0x40,0x2c,0x80,0x00] 10 # MIPS64: mfc0 $12, $16, 2 # encoding: [0x40,0x0c,0x80,0x02] 11 # MIPS64: mfc0 $12, $16, 0 # encoding: [0x40,0x0c,0x80,0x00] 22 # MIPS64: dmtc2 $12, $16, 2 # encoding: [0x48,0xac,0x80,0x02] [all …]
|
D | macro-sge64.s | 4 # RUN: | FileCheck --check-prefix=MIPS64 %s 8 # MIPS64: ori $4, $zero, 32768 # encoding: [0x34,0x04,0x80,0x00] 9 # MIPS64: dsll $4, $4, 17 # encoding: [0x00,0x04,0x24,0x78] 10 # MIPS64: slt $4, $5, $4 # encoding: [0x00,0xa4,0x20,0x2a] 11 # MIPS64: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01] 14 # MIPS64: ori $4, $zero, 32768 # encoding: [0x34,0x04,0x80,0x00] 15 # MIPS64: dsll $4, $4, 17 # encoding: [0x00,0x04,0x24,0x78] 16 # MIPS64: sltu $4, $5, $4 # encoding: [0x00,0xa4,0x20,0x2b] 17 # MIPS64: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01] 20 # MIPS64: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00] [all …]
|
D | macro-sle64.s | 4 # RUN: | FileCheck --check-prefix=MIPS64 %s 8 # MIPS64: ori $4, $zero, 32768 # encoding: [0x34,0x04,0x80,0x00] 9 # MIPS64: dsll $4, $4, 17 # encoding: [0x00,0x04,0x24,0x78] 10 # MIPS64: slt $4, $4, $5 # encoding: [0x00,0x85,0x20,0x2a] 11 # MIPS64: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01] 14 # MIPS64: ori $4, $zero, 32768 # encoding: [0x34,0x04,0x80,0x00] 15 # MIPS64: dsll $4, $4, 17 # encoding: [0x00,0x04,0x24,0x78] 16 # MIPS64: sltu $4, $4, $5 # encoding: [0x00,0x85,0x20,0x2b] 17 # MIPS64: xori $4, $4, 1 # encoding: [0x38,0x84,0x00,0x01] 20 # MIPS64: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00] [all …]
|
D | macro-saad.s | 2 # RUN: | FileCheck -check-prefix=MIPS64 %s 6 # MIPS64: daddiu $1, $5, 8 # encoding: [0x64,0xa1,0x00,0x08] 7 # MIPS64-NEXT: saad $2, ($1) # encoding: [0x70,0x22,0x00,0x19] 11 # MIPS64: lui $1, %highest(foo) # encoding: [0x3c,0x01,A,A] 12 # MIPS64-NEXT: # fixup A - offset: 0, value: %highest(foo), kind: fi… 13 # MIPS64-NEXT: daddiu $1, $1, %higher(foo) # encoding: [0x64,0x21,A,A] 14 # MIPS64-NEXT: # fixup A - offset: 0, value: %higher(foo), kind: fix… 15 # MIPS64-NEXT: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38] 16 # MIPS64-NEXT: daddiu $1, $1, %hi(foo) # encoding: [0x64,0x21,A,A] 17 # MIPS64-NEXT: # fixup A - offset: 0, value: %hi(foo), kind: fixup_M… [all …]
|
D | macro-saa.s | 4 # RUN: | FileCheck -check-prefix=MIPS64 %s 11 # MIPS64: daddiu $1, $5, 8 # encoding: [0x64,0xa1,0x00,0x08] 12 # MIPS64-NEXT: saa $2, ($1) # encoding: [0x70,0x22,0x00,0x18] 22 # MIPS64: lui $1, %highest(foo) # encoding: [0x3c,0x01,A,A] 23 # MIPS64-NEXT: # fixup A - offset: 0, value: %highest(foo), kind: fi… 24 # MIPS64-NEXT: daddiu $1, $1, %higher(foo) # encoding: [0x64,0x21,A,A] 25 # MIPS64-NEXT: # fixup A - offset: 0, value: %higher(foo), kind: fix… 26 # MIPS64-NEXT: dsll $1, $1, 16 # encoding: [0x00,0x01,0x0c,0x38] 27 # MIPS64-NEXT: daddiu $1, $1, %hi(foo) # encoding: [0x64,0x21,A,A] 28 # MIPS64-NEXT: # fixup A - offset: 0, value: %hi(foo), kind: fixup_M… [all …]
|
D | macro-sgt64.s | 4 # RUN: | FileCheck --check-prefix=MIPS64 %s 8 # MIPS64: ori $4, $zero, 32768 # encoding: [0x34,0x04,0x80,0x00] 9 # MIPS64: dsll $4, $4, 17 # encoding: [0x00,0x04,0x24,0x78] 10 # MIPS64: slt $4, $4, $5 # encoding: [0x00,0x85,0x20,0x2a] 13 # MIPS64: ori $4, $zero, 32768 # encoding: [0x34,0x04,0x80,0x00] 14 # MIPS64: dsll $4, $4, 17 # encoding: [0x00,0x04,0x24,0x78] 15 # MIPS64: sltu $4, $4, $5 # encoding: [0x00,0x85,0x20,0x2b] 18 # MIPS64: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00] 19 # MIPS64: dsll $1, $1, 17 # encoding: [0x00,0x01,0x0c,0x78] 20 # MIPS64: slt $4, $1, $4 # encoding: [0x00,0x24,0x20,0x2a] [all …]
|
D | sc-expansion.s | 12 # RUN: | llvm-objdump -d -r - | FileCheck %s --check-prefix=MIPS64 14 # RUN: | llvm-objdump -d -r - | FileCheck %s --check-prefix=MIPS64 25 # MIPS64: e3 a2 00 80 sc $2, 128($sp) 33 # MIPS64: e3 a2 ff 80 sc $2, -128($sp) 47 # MIPS64: e3 a2 01 00 sc $2, 256($sp) 63 # MIPS64: e3 a2 fe ff sc $2, -257($sp) 79 # MIPS64: e3 a2 7f ff sc $2, 32767($sp) 101 # MIPS64: 3c 01 00 01 lui $1, 1 102 # MIPS64-NEXT: 00 3d 08 2d daddu $1, $1, $sp 103 # MIPS64-NEXT: e0 22 80 00 sc $2, -32768($1) [all …]
|
D | ll-expansion.s | 12 # RUN: | llvm-objdump -d -r - | FileCheck %s --check-prefix=MIPS64 14 # RUN: | llvm-objdump -d -r - | FileCheck %s --check-prefix=MIPS64 25 # MIPS64: c3 a2 00 80 ll $2, 128($sp) 33 # MIPS64: c3 a2 ff 80 ll $2, -128($sp) 47 # MIPS64: c3 a2 01 00 ll $2, 256($sp) 63 # MIPS64: c3 a2 fe ff ll $2, -257($sp) 79 # MIPS64: c3 a2 7f ff ll $2, 32767($sp) 101 # MIPS64: 3c 02 00 01 lui $2, 1 102 # MIPS64-NEXT: 00 5d 10 2d daddu $2, $2, $sp 103 # MIPS64-NEXT: c0 42 80 00 ll $2, -32768($2) [all …]
|
/external/llvm/test/CodeGen/Mips/ |
D | octeon.ll | 2 ; RUN: llc -O1 < %s -march=mips64 -mcpu=mips64 | FileCheck %s -check-prefixes=ALL,MIPS64 9 ; MIPS64: daddu $[[T0:[0-9]+]], $4, $5 10 ; MIPS64: jr $ra 11 ; MIPS64: andi $2, $[[T0]], 255 22 ; MIPS64: dmult $4, $5 23 ; MIPS64: jr $ra 24 ; MIPS64: mflo $2 34 ; MIPS64: xor $[[T0:[0-9]+]], $4, $5 35 ; MIPS64: sltiu $[[T1:[0-9]+]], $[[T0]], 1 36 ; MIPS64: dsll $[[T2:[0-9]+]], $[[T1]], 32 [all …]
|
D | load-store-left-right.ll | 7 …4 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EL %s 8 …4 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EB %s 9 …64 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EL %s 10 …64 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EB %s 11 …64r2 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EL %s 12 …64r2 -target-abi=n64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,MIPS64,MIPS64-EB %s 37 ; MIPS64-EL: lwl $[[R0:[0-9]+]], 3($[[R1:[0-9]+]]) 38 ; MIPS64-EL: lwr $[[R0]], 0($[[R1]]) 40 ; MIPS64-EB: lwl $[[R0:[0-9]+]], 0($[[R1:[0-9]+]]) 41 ; MIPS64-EB: lwr $[[R0]], 3($[[R1]]) [all …]
|
D | cttz-v.ll | 2 ; RUN: llc < %s -march=mips64el -mcpu=mips64r2 | FileCheck %s -check-prefix=MIPS64 21 ; MIPS64-DAG: sll $[[A0:[0-9]+]], $4, 0 22 ; MIPS64-DAG: addiu $[[R0:[0-9]+]], $[[A0]], -1 23 ; MIPS64-DAG: not $[[R1:[0-9]+]], $[[A0]] 24 ; MIPS64-DAG: and $[[R2:[0-9]+]], $[[R1]], $[[R0]] 25 ; MIPS64-DAG: clz $[[R3:[0-9]+]], $[[R2]] 26 ; MIPS64-DAG: addiu $[[R4:[0-9]+]], $zero, 32 27 ; MIPS64-DAG: subu $2, $[[R4]], $[[R3]] 28 ; MIPS64-DAG: sll $[[A1:[0-9]+]], $5, 0 29 ; MIPS64-DAG: addiu $[[R5:[0-9]+]], $[[A1]], -1 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/longbranch/ |
D | branch-limits-int-mips64.mir | 2 …efore mips-delay-slot-filler -stop-after mips-branch-expansion | FileCheck %s --check-prefix=MIPS64 116 ; MIPS64-LABEL: name: expand_BEQ64 117 ; MIPS64: bb.0 (%ir-block.0): 118 ; MIPS64: successors: %bb.2(0x40000000), %bb.1(0x40000000) 119 ; MIPS64: BNE64 $a0_64, $zero_64, %bb.2, implicit-def $at { 120 ; MIPS64: NOP 121 ; MIPS64: } 122 ; MIPS64: bb.1 (%ir-block.0): 123 ; MIPS64: successors: %bb.3(0x80000000) 124 ; MIPS64: J %bb.3, implicit-def $at { [all …]
|
D | branch-limits-int-mips64r6.mir | 2 …efore mips-delay-slot-filler -stop-after mips-branch-expansion | FileCheck %s --check-prefix=MIPS64 188 ; MIPS64-LABEL: name: expand_BNEZC64 189 ; MIPS64: bb.0 (%ir-block.0): 190 ; MIPS64: successors: %bb.1(0x40000000), %bb.2(0x40000000) 191 ; MIPS64: BNEZC64 killed renamable $a0_64, %bb.2, implicit-def $at 192 ; MIPS64: bb.1.iftrue: 193 ; MIPS64: INLINEASM &".space 831068", 1 194 ; MIPS64: PseudoReturn64 undef $ra_64, implicit killed $v0_64 { 195 ; MIPS64: $v0_64 = DADDiu $zero_64, 1 196 ; MIPS64: } [all …]
|
/external/llvm/test/MC/Mips/ |
D | mips-coprocessor-encodings.s | 2 # RUN:| FileCheck --check-prefix=MIPS64 %s 4 # MIPS64: dmtc0 $12, $16, 2 # encoding: [0x40,0xac,0x80,0x02] 5 # MIPS64: dmtc0 $12, $16, 0 # encoding: [0x40,0xac,0x80,0x00] 6 # MIPS64: mtc0 $12, $16, 2 # encoding: [0x40,0x8c,0x80,0x02] 7 # MIPS64: mtc0 $12, $16, 0 # encoding: [0x40,0x8c,0x80,0x00] 8 # MIPS64: dmfc0 $12, $16, 2 # encoding: [0x40,0x2c,0x80,0x02] 9 # MIPS64: dmfc0 $12, $16, 0 # encoding: [0x40,0x2c,0x80,0x00] 10 # MIPS64: mfc0 $12, $16, 2 # encoding: [0x40,0x0c,0x80,0x02] 11 # MIPS64: mfc0 $12, $16, 0 # encoding: [0x40,0x0c,0x80,0x00] 22 # MIPS64: dmtc2 $12, $16, 2 # encoding: [0x48,0xac,0x80,0x02] [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/llvm-ir/ |
D | load.ll | 7 …-mtriple=mips64-mti-linux-gnu -mcpu=mips64 < %s -asm-show-inst | FileCheck %s --check-prefix=MIPS64 95 ; MIPS64-LABEL: f1: 96 ; MIPS64: # %bb.0: # %entry 97 ; MIPS64-NEXT: lui $1, %highest(a) # <MCInst #{{[0-9]+}} LUi64 98 ; MIPS64-NEXT: # <MCOperand Reg:{{[0-9]+}}> 99 ; MIPS64-NEXT: # <MCOperand Expr:(%highest(a))>> 100 ; MIPS64-NEXT: daddiu $1, $1, %higher(a) # <MCInst #{{[0-9]+}} DADDiu 101 ; MIPS64-NEXT: # <MCOperand Reg:{{[0-9]+}}> 102 ; MIPS64-NEXT: # <MCOperand Reg:{{[0-9]+}}> 103 ; MIPS64-NEXT: # <MCOperand Expr:(%higher(a))>> [all …]
|