/external/llvm-project/llvm/test/CodeGen/Mips/llvm-ir/ |
D | or.ll | 8 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips3 | FileCheck %s -check-prefix=GP64 9 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips4 | FileCheck %s -check-prefix=GP64 10 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips64 | FileCheck %s -check-prefix=GP64 11 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips64r2 | FileCheck %s -check-prefix=GP64 12 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips64r3 | FileCheck %s -check-prefix=GP64 13 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips64r5 | FileCheck %s -check-prefix=GP64 14 ; RUN: llc < %s -mtriple=mips64-unknown-linux-gnu -mcpu=mips64r6 | FileCheck %s -check-prefix=GP64 26 ; GP64-LABEL: or_i1: 27 ; GP64: # %bb.0: # %entry 28 ; GP64-NEXT: or $1, $4, $5 [all …]
|
D | not.ll | 12 ; RUN: -check-prefixes=ALL,GP64 14 ; RUN: -check-prefixes=ALL,GP64 16 ; RUN: -check-prefixes=ALL,GP64 18 ; RUN: -check-prefixes=ALL,GP64 20 ; RUN: -check-prefixes=ALL,GP64 22 ; RUN: -check-prefixes=ALL,GP64 24 ; RUN: -check-prefixes=ALL,GP64 36 ; GP64: not $2, $4 50 ; GP64: not $2, $4 64 ; GP64: not $2, $4 [all …]
|
D | udiv.ll | 16 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64 18 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64 20 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64 22 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64 24 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64 26 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64 48 ; GP64-LABEL: udiv_i1: 49 ; GP64: # %bb.0: # %entry 50 ; GP64-NEXT: jr $ra 51 ; GP64-NEXT: move $2, $4 [all …]
|
D | sub.ll | 18 ; RUN: -check-prefixes=NOT-R2-R6,GP64,NOT-MM,GP64-NOT-R2 20 ; RUN: -check-prefixes=NOT-R2-R6,GP64,NOT-MM,GP64-NOT-R2 22 ; RUN: -check-prefixes=NOT-R2-R6,GP64,NOT-MM,GP64-NOT-R2 24 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM,GP64-R2 26 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM,GP64-R2 28 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM,GP64-R2 30 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM,GP64-R2 111 ; GP64: dsubu $2, $4, $5 199 ; GP64-NOT-R2: dsubu $1, $4, $6 200 ; GP64-NOT-R2: sltu $[[T0:[0-9]+]], $5, $7 [all …]
|
D | add.ll | 14 ; RUN: -check-prefixes=ALL,NOT-R2-R6,GP64,GP64-NOT-R2-R6 16 ; RUN: -check-prefixes=ALL,NOT-R2-R6,GP64,GP64-NOT-R2-R6 18 ; RUN: -check-prefixes=ALL,NOT-R2-R6,GP64,GP64-NOT-R2-R6 20 ; RUN: -check-prefixes=ALL,R2-R6,GP64,GP64-R2-R6 22 ; RUN: -check-prefixes=ALL,R2-R6,GP64,GP64-R2-R6 24 ; RUN: -check-prefixes=ALL,R2-R6,GP64,GP64-R2-R6 26 ; RUN: -check-prefixes=ALL,R2-R6,GP64,GP64-R2-R6 116 ; GP64: daddu $2, $4, $5 174 ; GP64: daddu $[[T0:[0-9]+]], $4, $6 175 ; GP64: daddu $[[T1:[0-9]+]], $5, $7 [all …]
|
D | sdiv.ll | 16 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 18 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 20 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 22 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 24 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 26 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 48 ; GP64-LABEL: sdiv_i1: 49 ; GP64: # %bb.0: # %entry 50 ; GP64-NEXT: jr $ra 51 ; GP64-NEXT: move $2, $4 [all …]
|
D | srem.ll | 16 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 18 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 20 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 22 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 24 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 26 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 48 ; GP64-LABEL: srem_i1: 49 ; GP64: # %bb.0: # %entry 50 ; GP64-NEXT: jr $ra 51 ; GP64-NEXT: addiu $2, $zero, 0 [all …]
|
D | urem.ll | 16 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 18 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 20 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R0R1 22 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 24 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 26 ; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=GP64,GP64R2R5 48 ; GP64-LABEL: urem_i1: 49 ; GP64: # %bb.0: # %entry 50 ; GP64-NEXT: jr $ra 51 ; GP64-NEXT: addiu $2, $zero, 0 [all …]
|
D | mul.ll | 14 ; RUN: FileCheck %s -check-prefixes=ALL,M4,GP64-NOT-R6 16 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64-NOT-R6 18 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64-NOT-R6 20 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64-NOT-R6 22 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64-NOT-R6 235 ; GP64-NOT-R6: dmult $4, $7 236 ; GP64-NOT-R6: mflo $[[T0:[0-9]+]] 237 ; GP64-NOT-R6: dmult $5, $6 238 ; GP64-NOT-R6: mflo $[[T1:[0-9]+]] 239 ; GP64-NOT-R6: dmultu $5, $7 [all …]
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | and.ll | 14 ; RUN: -check-prefixes=ALL,GP64 16 ; RUN: -check-prefixes=ALL,GP64 18 ; RUN: -check-prefixes=ALL,GP64 20 ; RUN: -check-prefixes=ALL,GP64 22 ; RUN: -check-prefixes=ALL,GP64 24 ; RUN: -check-prefixes=ALL,GP64 26 ; RUN: -check-prefixes=ALL,GP64 40 ; GP64: and $2, $4, $5 55 ; GP64: and $2, $4, $5 70 ; GP64: and $2, $4, $5 [all …]
|
D | lshr.ll | 14 ; RUN: -check-prefixes=ALL,GP64,M3 16 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 18 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 20 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 22 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 24 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 26 ; RUN: -check-prefixes=ALL,GP64,64R6 48 ; GP64: andi $2, $[[T0]], 255 61 ; GP64: andi $2, $[[T0]], 65535 123 ; GP64: dsrlv $2, $4, $5 [all …]
|
D | ashr.ll | 14 ; RUN: -check-prefixes=ALL,GP64,M3 16 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 18 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 20 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 22 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 24 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6 26 ; RUN: -check-prefixes=ALL,GP64,64R6 48 ; GP64: andi $[[T0:[0-9]+]], $5, 255 62 ; GP64: andi $[[T0:[0-9]+]], $5, 65535 129 ; GP64: dsrav $2, $4, $5 [all …]
|
D | not.ll | 12 ; RUN: -check-prefixes=ALL,GP64 14 ; RUN: -check-prefixes=ALL,GP64 16 ; RUN: -check-prefixes=ALL,GP64 18 ; RUN: -check-prefixes=ALL,GP64 20 ; RUN: -check-prefixes=ALL,GP64 22 ; RUN: -check-prefixes=ALL,GP64 24 ; RUN: -check-prefixes=ALL,GP64 38 ; GP64: not $2, $4 52 ; GP64: not $2, $4 66 ; GP64: not $2, $4 [all …]
|
D | or.ll | 7 ; RUN: llc < %s -march=mips64 -mcpu=mips3 | FileCheck %s -check-prefixes=ALL,GP64 8 ; RUN: llc < %s -march=mips64 -mcpu=mips4 | FileCheck %s -check-prefixes=ALL,GP64 9 ; RUN: llc < %s -march=mips64 -mcpu=mips64 | FileCheck %s -check-prefixes=ALL,GP64 10 ; RUN: llc < %s -march=mips64 -mcpu=mips64r2 | FileCheck %s -check-prefixes=ALL,GP64 11 ; RUN: llc < %s -march=mips64 -mcpu=mips64r3 | FileCheck %s -check-prefixes=ALL,GP64 12 ; RUN: llc < %s -march=mips64 -mcpu=mips64r5 | FileCheck %s -check-prefixes=ALL,GP64 13 ; RUN: llc < %s -march=mips64 -mcpu=mips64r6 | FileCheck %s -check-prefixes=ALL,GP64 27 ; GP64: or $2, $4, $5 42 ; GP64: or $2, $4, $5 57 ; GP64: or $2, $4, $5 [all …]
|
D | xor.ll | 12 ; RUN: -check-prefixes=ALL,GP64 14 ; RUN: -check-prefixes=ALL,GP64 16 ; RUN: -check-prefixes=ALL,GP64 18 ; RUN: -check-prefixes=ALL,GP64 20 ; RUN: -check-prefixes=ALL,GP64 22 ; RUN: -check-prefixes=ALL,GP64 24 ; RUN: -check-prefixes=ALL,GP64 38 ; GP64: xor $2, $4, $5 53 ; GP64: xor $2, $4, $5 68 ; GP64: xor $2, $4, $5 [all …]
|
D | shl.ll | 14 ; RUN: -check-prefixes=ALL,GP64,M3,NOT-R2-R6 16 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6,NOT-R2-R6 18 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6,NOT-R2-R6 20 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6,R2-R6 22 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6,R2-R6 24 ; RUN: -check-prefixes=ALL,GP64,GP64-NOT-R6,R2-R6 26 ; RUN: -check-prefixes=ALL,GP64,64R6,R2-R6 139 ; GP64: dsllv $2, $4, $5 192 ; GP64-NOT-R6: dsllv $[[T0:[0-9]+]], $4, $7 193 ; GP64-NOT-R6: dsrl $[[T1:[0-9]+]], $5, 1 [all …]
|
D | add.ll | 14 ; RUN: -check-prefixes=ALL,NOT-R2-R6,GP64 16 ; RUN: -check-prefixes=ALL,NOT-R2-R6,GP64 18 ; RUN: -check-prefixes=ALL,NOT-R2-R6,GP64 20 ; RUN: -check-prefixes=ALL,R2-R6,GP64 22 ; RUN: -check-prefixes=ALL,R2-R6,GP64 24 ; RUN: -check-prefixes=ALL,R2-R6,GP64 26 ; RUN: -check-prefixes=ALL,R2-R6,GP64 112 ; GP64: daddu $2, $4, $5 146 ; GP64: daddu $3, $5, $7 147 ; GP64: sltu $[[T0:[0-9]+]], $3, $7 [all …]
|
D | mul.ll | 14 ; RUN: FileCheck %s -check-prefixes=ALL,M4,GP64-NOT-R6 16 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64-NOT-R6 18 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64,GP64-NOT-R6 20 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64,GP64-NOT-R6 22 ; RUN: FileCheck %s -check-prefixes=ALL,64R1-R5,GP64,GP64-NOT-R6 233 ; GP64-NOT-R6: dmult $4, $7 234 ; GP64-NOT-R6: mflo $[[T0:[0-9]+]] 235 ; GP64-NOT-R6: dmult $5, $6 236 ; GP64-NOT-R6: mflo $[[T1:[0-9]+]] 237 ; GP64-NOT-R6: dmultu $5, $7 [all …]
|
D | sub.ll | 18 ; RUN: -check-prefixes=NOT-R2-R6,GP64,NOT-MM 20 ; RUN: -check-prefixes=NOT-R2-R6,GP64,NOT-MM 22 ; RUN: -check-prefixes=NOT-R2-R6,GP64,NOT-MM 24 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM 26 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM 28 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM 30 ; RUN: -check-prefixes=R2-R6,GP64,NOT-MM 32 ; RUN: -check-prefixes=GP64,MM 107 ; GP64: dsubu $2, $4, $5 149 ; GP64: dsubu $3, $5, $7 [all …]
|
D | udiv.ll | 15 ; RUN: -check-prefixes=ALL,NOT-R6,GP64-NOT-R6 17 ; RUN: -check-prefixes=ALL,NOT-R6,GP64-NOT-R6 19 ; RUN: -check-prefixes=ALL,NOT-R6,GP64-NOT-R6 21 ; RUN: -check-prefixes=ALL,NOT-R6,GP64-NOT-R6 23 ; RUN: -check-prefixes=ALL,NOT-R6,GP64-NOT-R6 25 ; RUN: -check-prefixes=ALL,NOT-R6,GP64-NOT-R6 130 ; GP64-NOT-R6: ddivu $zero, $4, $5 131 ; GP64-NOT-R6: teq $5, $zero, 7 132 ; GP64-NOT-R6: mflo $2 152 ; GP64-NOT-R6: ld $25, %call16(__udivti3)($gp)
|
D | srem.ll | 15 ; RUN: -check-prefixes=ALL,GP64-NOT-R6,NOT-R6,NOT-R2-R6 17 ; RUN: -check-prefixes=ALL,GP64-NOT-R6,NOT-R6,NOT-R2-R6 19 ; RUN: -check-prefixes=ALL,GP64-NOT-R6,NOT-R6,NOT-R2-R6 21 ; RUN: -check-prefixes=ALL,R2-R5,R2-R6,GP64-NOT-R6,NOT-R6 23 ; RUN: -check-prefixes=ALL,R2-R5,R2-R6,GP64-NOT-R6,NOT-R6 25 ; RUN: -check-prefixes=ALL,R2-R5,R2-R6,GP64-NOT-R6,NOT-R6 158 ; GP64-NOT-R6: ddiv $zero, $4, $5 159 ; GP64-NOT-R6: teq $5, $zero, 7 160 ; GP64-NOT-R6: mfhi $2 180 ; GP64-NOT-R6: ld $25, %call16(__modti3)($gp)
|
/external/llvm/test/CodeGen/Mips/ |
D | dynamic-stack-realignment.ll | 8 ; RUN: --check-prefixes=ALL,GP64,N64 10 ; RUN: --check-prefixes=ALL,GP64,N64 12 ; RUN: --check-prefixes=ALL,GP64,N64 14 ; RUN: --check-prefixes=ALL,GP64,N32 16 ; RUN: --check-prefixes=ALL,GP64,N32 18 ; RUN: --check-prefixes=ALL,GP64,N32 62 ; GP64-LABEL: func_02: 70 ; GP64: sd $ra, 1016($sp) 71 ; GP64: sd $fp, 1008($sp) 74 ; GP64: move $fp, $sp [all …]
|
D | adjust-callstack-sp.ll | 5 ; RUN: llc < %s -march=mips -mcpu=mips3 -target-abi n64 | FileCheck %s -check-prefix=GP64 6 ; RUN: llc < %s -march=mips -mcpu=mips64 -target-abi n64 | FileCheck %s -check-prefix=GP64 7 ; RUN: llc < %s -march=mips -mcpu=mips64r6 -target-abi n64 | FileCheck %s -check-prefix=GP64 16 ; GP64-NOT: daddiu $sp, $sp, 0
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | dynamic-stack-realignment.ll | 12 ; RUN: --check-prefixes=ALL,GP64,N64 14 ; RUN: --check-prefixes=ALL,GP64,N64 16 ; RUN: --check-prefixes=ALL,GP64,N64 18 ; RUN: --check-prefixes=ALL,GP64,N32 20 ; RUN: --check-prefixes=ALL,GP64,N32 22 ; RUN: --check-prefixes=ALL,GP64,N32 71 ; GP64-LABEL: func_02: 79 ; GP64: sd $ra, 1016($sp) 80 ; GP64: sd $fp, 1008($sp) 83 ; GP64: move $fp, $sp [all …]
|
D | adjust-callstack-sp.ll | 5 ; RUN: llc < %s -march=mips -mcpu=mips3 -target-abi n64 | FileCheck %s -check-prefix=GP64 6 ; RUN: llc < %s -march=mips -mcpu=mips64 -target-abi n64 | FileCheck %s -check-prefix=GP64 7 ; RUN: llc < %s -march=mips -mcpu=mips64r6 -target-abi n64 | FileCheck %s -check-prefix=GP64 16 ; GP64-NOT: daddiu $sp, $sp, 0
|