/external/llvm-project/llvm/test/MC/Mips/ |
D | macro-li.d.s | 4 …ow-encoding -mcpu=mips64 -target-abi=n32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC,N32-N64 5 …ips64 -target-abi=n32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC,N32-N64 6 … -show-encoding -mcpu=mips64 -target-abi=n64 | FileCheck %s --check-prefixes=ALL,N64-NO-PIC,N32-N64 7 …pu=mips64 -target-abi=n64 -position-independent | FileCheck %s --check-prefixes=ALL,N64-PIC,N32-N64 12 # N32-N64: addiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x24] 17 # N32-N64: addiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x24] 29 # N64-NO-PIC: lui $1, %highest([[LABEL]]) # encoding: [A,A,0x01,0x3c] 30 # N64-NO-PIC: # fixup A - offset: 0, value: %highest([[LA… 31 # N64-NO-PIC: daddiu $1, $1, %higher([[LABEL]]) # encoding: [A,A,0x21,0x64] 32 # N64-NO-PIC: # fixup A - offset: 0, value: %higher([[LAB… [all …]
|
D | macro-li.s.s | 5 …wn-linux -show-encoding -mcpu=mips64 -target-abi=n64 | FileCheck %s --check-prefixes=ALL,N64-NO-PIC 6 …ding -mcpu=mips64 -target-abi=n64 -position-independent | FileCheck %s --check-prefixes=ALL,N64-PIC 62 # N64-PIC: ld $1, %got([[LABEL]])($gp) # encoding: [A,A,0x81,0xdf] 63 # N64-PIC: # fixup A - offset: 0, value: %got([[LABEL]… 64 # N64-NO-PIC: lui $1, %highest([[LABEL]]) # encoding: [A,A,0x01,0x3c] 65 # N64-NO-PIC: # fixup A - offset: 0, value: %highest([[LA… 66 # N64-NO-PIC: daddiu $1, $1, %higher([[LABEL]]) # encoding: [A,A,0x21,0x64] 67 # N64-NO-PIC: # fixup A - offset: 0, value: %higher([[LAB… 68 # N64-NO-PIC: dsll $1, $1, 16 # encoding: [0x38,0x0c,0x01,0x00] 69 # N64-NO-PIC: daddiu $1, $1, %hi([[LABEL]]) # encoding: [A,A,0x21,0x64] [all …]
|
D | reloc-directive.s | 15 # RUN: FileCheck -check-prefix=OBJ-N64 %s 182 # OBJ-N64-LABEL: Name: .text 183 # OBJ-N64: 0000: 00000000 00000000 00000000 00000000 184 # OBJ-N64-NEXT: 0010: 00000000 00000000 00000000 00000000 185 # OBJ-N64-NEXT: 0020: 00000000 00000000 00000000 00000000 186 # OBJ-N64-NEXT: 0030: 00000000 00000000 00000000 00000000 187 # OBJ-N64-NEXT: 0040: 00000000 00000000 00000000 00000000 188 # OBJ-N64-NEXT: 0050: 00000000 00000000 00000000 00000000 189 # OBJ-N64-NEXT: 0060: 00000000 00000000 00000000 00000000 190 # OBJ-N64-NEXT: 0070: 00000000 00000000 00000000 00000000 [all …]
|
D | macro-dla-pic.s | 2 # RUN: -mcpu=mips3 | FileCheck -check-prefix=N64 %s 9 # N64: ld $5, %got_disp(symbol)($gp) # encoding: [0xdf,0x85,A,A] 10 # N64: # fixup A - offset: 0, value: %got_disp(symbol), kind: fi… 19 # N64: ld $5, %got_disp(symbol)($gp) # encoding: [0xdf,0x85,A,A] 20 # N64: # fixup A - offset: 0, value: %got_disp(symbol), kind: fi… 21 # N64: daddu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x2d] 31 # N64: ld $1, %got_disp(symbol)($gp) # encoding: [0xdf,0x81,A,A] 32 # N64: # fixup A - offset: 0, value: %got_disp(symbol), kind: fi… 33 # N64: daddu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x2d] 43 # N64: ld $5, %got_disp(symbol)($gp) # encoding: [0xdf,0x85,A,A] [all …]
|
D | macro-aliases-invalid-wrong-error.s | 5 # RUN: FileCheck --check-prefix=N64 %s < %t1 11 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 13 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 16 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 18 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 20 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 22 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 25 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 27 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list 30 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/msa/ |
D | f16-llvm-ir.ll | 10 ; RUN: --check-prefixes=MIPS64-N64,MIPS64R5-N64 20 ; RUN: --check-prefixes=MIPS64-N64,MIPSR6-N64 75 ; MIPS64-N64-LABEL: f3: 76 ; MIPS64-N64: # %bb.0: # %entry 77 ; MIPS64-N64-NEXT: daddiu $sp, $sp, -32 78 ; MIPS64-N64-NEXT: .cfi_def_cfa_offset 32 79 ; MIPS64-N64-NEXT: sd $ra, 24($sp) # 8-byte Folded Spill 80 ; MIPS64-N64-NEXT: sd $gp, 16($sp) # 8-byte Folded Spill 81 ; MIPS64-N64-NEXT: .cfi_offset 31, -8 82 ; MIPS64-N64-NEXT: .cfi_offset 28, -16 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | 2010-07-20-Switch.ll | 6 ; RUN: FileCheck %s -check-prefix=PIC-N64 8 ; RUN: FileCheck %s -check-prefix=STATIC-N64 10 ; RUN: FileCheck %s -check-prefix=PIC-N64 12 ; RUN: FileCheck %s -check-prefix=STATIC-N64 31 ; STATIC-N64: dsrl $[[I32:[0-9]]], ${{[0-9]+}}, 32 32 ; STATIC-N64: dsll $[[R0:[0-9]]], $[[I32]], 3 33 ; STATIC-N64: lui $[[R1:[0-9]]], %highest(.LJTI0_0) 34 ; STATIC-N64: daddiu $[[R2:[0-9]]], $[[R1]], %higher(.LJTI0_0) 35 ; STATIC-N64: dsll $[[R3:[0-9]]], $[[R2]], 16 36 ; STATIC-N64: daddiu $[[R4:[0-9]]], $[[R3]], %hi(.LJTI0_0) [all …]
|
D | atomicCmpSwapPW.ll | 7 ; RUN: | FileCheck -check-prefixes=N64 %s 58 ; N64-LABEL: foo: 59 ; N64: # %bb.0: # %entry 60 ; N64-NEXT: move $1, $5 61 ; N64-NEXT: sll $5, $1, 0 62 ; N64-NEXT: move $1, $4 63 ; N64-NEXT: sll $4, $1, 0 64 ; N64-NEXT: lui $1, %highest(sym) 65 ; N64-NEXT: daddiu $1, $1, %higher(sym) 66 ; N64-NEXT: dsll $1, $1, 16 [all …]
|
D | mips64intldst.ll | 1 …h=mips64el -mcpu=mips4 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 3 …=mips64el -mcpu=mips64 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 17 ; CHECK-N64: func1 18 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(c) 19 ; CHECK-N64: lb ${{[0-9]+}}, 0($[[R0]]) 30 ; CHECK-N64: func2 31 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(s) 32 ; CHECK-N64: lh ${{[0-9]+}}, 0($[[R0]]) 43 ; CHECK-N64: func3 44 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(i) [all …]
|
D | long-call-attr.ll | 6 ; RUN: -mips-jalr-reloc=false | FileCheck -check-prefix=N64 %s 8 ; RUN: -mips-jalr-reloc=false | FileCheck -check-prefix=N64 %s 24 ; N64-LABEL: foo: 25 ; N64: lui $1, %highest(far) 26 ; N64-NEXT: daddiu $1, $1, %higher(far) 27 ; N64-NEXT: dsll $1, $1, 16 28 ; N64-NEXT: daddiu $1, $1, %hi(far) 29 ; N64-NEXT: dsll $1, $1, 16 30 ; N64-NEXT: daddiu $25, $1, %lo(far) 31 ; N64-NEXT: jalr $25 [all …]
|
D | mips64fpldst.ll | 1 …h=mips64el -mcpu=mips4 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 3 …=mips64el -mcpu=mips64 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 13 ; CHECK-N64: funcfl1 14 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 15 ; CHECK-N64: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 25 ; CHECK-N64: funcfl2 26 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(d0) 27 ; CHECK-N64: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 37 ; CHECK-N64: funcfs1 38 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) [all …]
|
D | biggot.ll | 4 ; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=N64 8 ; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=N64 22 ; N64-LABEL: foo1: 23 ; N64-DAG: lui $[[R0:[0-9]+]], %got_hi(v0) 24 ; N64-DAG: daddu $[[R1:[0-9]+]], $[[R0]], ${{[a-z0-9]+}} 25 ; N64-DAG: lui $[[R2:[0-9]+]], %call_hi(foo0) 26 ; N64-DAG: daddu $[[R3:[0-9]+]], $[[R2]], ${{[a-z0-9]+}} 27 ; N64-DAG: ld ${{[0-9]+}}, %got_lo(v0)($[[R1]]) 28 ; N64-DAG: ld ${{[0-9]+}}, %call_lo(foo0)($[[R3]]) 46 ; N64-LABEL: foo2: [all …]
|
D | global-address.ll | 10 ; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64 12 ; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64 35 ; PIC-N64: ld $[[R0:[0-9]+]], %got_page(s1) 36 ; PIC-N64: lw ${{[0-9]+}}, %got_ofst(s1)($[[R0]]) 37 ; PIC-N64: ld ${{[0-9]+}}, %got_disp(g1) 38 ; STATIC-N64: lui $[[R1:[0-9]+]], %highest(s1) 39 ; STATIC-N64: daddiu ${{[0-9]+}}, ${{[0-9]+}}, %higher(s1) 40 ; STATIC-N64: daddiu ${{[0-9]+}}, ${{[0-9]+}}, %hi(s1) 41 ; STATIC-N64: dsll $[[R2:[0-9]+]], $[[R1]], 16 42 ; STATIC-N64: lw ${{[0-9]+}}, %lo(s1)($[[R2]]) [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/cconv/ |
D | byval.ll | 9 ; RUN: | FileCheck %s --check-prefix=N64 16 ; RUN: -debug 2>&1 | FileCheck %s --check-prefix=N64-SDAG 47 ; N64-SDAG-LABEL: Initial selection DAG: %bb.0 'g:entry' 48 ; N64-SDAG: t{{.*}}: ch,glue = callseq_start t{{.*}}, TargetConstant:i64<{{.*}}> 49 ; N64-SDAG-NOT: t{{.*}}: ch,glue = callseq_start t{{.*}}, TargetConstant:i64<{{.*}}> 50 ; N64-SDAG: t{{.*}}: ch,glue = MipsISD::JmpLink t{{.*}}, TargetExternalSymbol:i64'memcpy' 51 ; N64-SDAG-NOT: t{{.*}}: ch,glue = callseq_end t{{.*}}, TargetConstant:i64<{{.*}}> 52 ; N64-SDAG: t{{.*}}: ch,glue = MipsISD::JmpLink t{{.*}}, TargetGlobalAddress:i64<void (%struct.S1*)… 53 ; N64-SDAG: t{{.*}}: ch,glue = callseq_end t{{.*}}, TargetConstant:i64<{{.*}}> 120 ; N64-LABEL: g: [all …]
|
D | callee-saved.ll | 25 ; RUN: | FileCheck --check-prefixes=ALL,N64 %s 27 ; RUN: | FileCheck --check-prefixes=ALL,N64 %s 29 ; RUN: | FileCheck --check-prefixes=ALL,N64-INV %s 31 ; RUN: | FileCheck --check-prefixes=ALL,N64-INV %s 135 ; N64: daddiu $sp, $sp, -96 136 ; N64-INV-NOT: sd $0, 137 ; N64-INV-NOT: sd $1, 138 ; N64-INV-NOT: sd $2, 139 ; N64-INV-NOT: sd $3, 140 ; N64-INV-NOT: sd $4, [all …]
|
D | return-struct.ll | 17 ; RUN: | FileCheck --check-prefixes=ALL,N64,N64-BE %s 19 ; RUN: | FileCheck --check-prefixes=ALL,N64,N64-LE %s 48 ; N64-LE-DAG: lb $2, %lo(struct_byte)(${{[0-9]+}}) 50 ; N64-BE-DAG: lb [[R1:\$[0-9]+]], %lo(struct_byte)(${{[0-9]+}}) 51 ; N64-BE-DAG: dsll $2, [[R1]], 56 84 ; N64-LE-DAG: daddiu $[[R0:[0-9]+]], ${{[0-9]+}}, %hi(struct_2byte) 85 ; N64-LE-DAG: dsll [[R1:\$[0-9]]], $[[R0]], 16 86 ; N64-LE-DAG: lhu [[R2:\$[0-9]+]], %lo(struct_2byte)([[R1]]) 87 ; N64-LE-DAG: sh [[R2]], 8([[SP:\$sp]]) 88 ; N64-LE-DAG: lh $2, 8([[SP:\$sp]]) [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/indirect-jump-hazard/ |
D | long-calls.ll | 12 ; RUN: -verify-machineinstrs | FileCheck -check-prefix=N64 %s 63 ; N64-LABEL: caller: 64 ; N64: # %bb.0: 65 ; N64-NEXT: daddiu $sp, $sp, -16 66 ; N64-NEXT: .cfi_def_cfa_offset 16 67 ; N64-NEXT: sd $ra, 8($sp) # 8-byte Folded Spill 68 ; N64-NEXT: .cfi_offset 31, -8 69 ; N64-NEXT: lui $1, %highest(callee) 70 ; N64-NEXT: daddiu $1, $1, %higher(callee) 71 ; N64-NEXT: dsll $1, $1, 16 [all …]
|
D | long-branch.ll | 21 ; RUN: | FileCheck %s -check-prefix=N64-R6 103 ; N64-R6-LABEL: test1: 104 ; N64-R6: # %bb.0: # %entry 105 ; N64-R6-NEXT: lui $1, %hi(%neg(%gp_rel(test1))) 106 ; N64-R6-NEXT: bnez $4, .LBB0_3 107 ; N64-R6-NEXT: daddu $2, $1, $25 108 ; N64-R6-NEXT: # %bb.1: # %entry 109 ; N64-R6-NEXT: daddiu $sp, $sp, -16 110 ; N64-R6-NEXT: sd $ra, 0($sp) 111 ; N64-R6-NEXT: daddiu $1, $zero, %hi(.LBB0_4-.LBB0_2) [all …]
|
/external/llvm/test/CodeGen/Mips/cconv/ |
D | callee-saved.ll | 16 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 17 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 18 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64-INV %s 19 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64-INV %s 123 ; N64: daddiu $sp, $sp, -96 124 ; N64-INV-NOT: sd $0, 125 ; N64-INV-NOT: sd $1, 126 ; N64-INV-NOT: sd $2, 127 ; N64-INV-NOT: sd $3, 128 ; N64-INV-NOT: sd $4, [all …]
|
D | return-struct.ll | 10 …ux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64,N64-BE %s 11 …ux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64,N64-LE %s 40 ; N64-LE-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_byte)($1) 41 ; N64-LE-DAG: lb $2, 0([[R1]]) 43 ; N64-BE-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_byte)($1) 44 ; N64-BE-DAG: lb [[R2:\$[0-9]+]], 0([[R1]]) 45 ; N64-BE-DAG: dsll $2, [[R2]], 56 78 ; N64-LE-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_2byte)($1) 79 ; N64-LE-DAG: lhu [[R2:\$[0-9]+]], 0([[R1]]) 80 ; N64-LE-DAG: sh [[R2]], 8([[SP:\$sp]]) [all …]
|
D | callee-saved-float.ll | 16 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 17 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 18 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N64-INV %s 19 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N64-INV %s 94 ; N64: addiu $sp, $sp, -64 95 ; N64-INV-NOT: sdc1 $f20, 96 ; N64-INV-NOT: sdc1 $f22, 97 ; N64-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp) 98 ; N64-DAG: sdc1 [[F25:\$f25]], [[OFF25:[0-9]+]]($sp) 99 ; N64-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp) [all …]
|
/external/llvm/test/CodeGen/Mips/ |
D | mips64intldst.ll | 1 …h=mips64el -mcpu=mips4 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 3 …=mips64el -mcpu=mips64 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 17 ; CHECK-N64: func1 18 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(c) 19 ; CHECK-N64: lb ${{[0-9]+}}, 0($[[R0]]) 30 ; CHECK-N64: func2 31 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(s) 32 ; CHECK-N64: lh ${{[0-9]+}}, 0($[[R0]]) 43 ; CHECK-N64: func3 44 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(i) [all …]
|
D | 2010-07-20-Switch.ll | 6 ; RUN: FileCheck %s -check-prefix=N64 8 ; RUN: FileCheck %s -check-prefix=N64 10 ; RUN: FileCheck %s -check-prefix=N64 12 ; RUN: FileCheck %s -check-prefix=N64 29 ; N64: dsll $[[R0:[0-9]+]], ${{[0-9]+}}, 3 30 ; N64: ld $[[R1:[0-9]+]], %got_page($JTI0_0) 31 ; N64: daddu $[[R2:[0-9]+]], $[[R0:[0-9]+]], $[[R1]] 32 ; N64: ld $[[R4:[0-9]+]], %got_ofst($JTI0_0)($[[R2]]) 33 ; N64: daddu $[[R5:[0-9]+]], $[[R4:[0-9]+]] 34 ; N64: jr $[[R5]] [all …]
|
D | mips64fpldst.ll | 1 …h=mips64el -mcpu=mips4 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 3 …=mips64el -mcpu=mips64 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 6 …64r6 -mattr=+micromips -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 15 ; CHECK-N64: funcfl1 16 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 17 ; CHECK-N64: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 27 ; CHECK-N64: funcfl2 28 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(d0) 29 ; CHECK-N64: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 39 ; CHECK-N64: funcfs1 [all …]
|
D | longbranch.ll | 7 ; RUN: < %s | FileCheck %s -check-prefix=N64 9 ; RUN: < %s | FileCheck %s -check-prefix=N64 11 ; RUN: -relocation-model=pic -asm-show-inst < %s | FileCheck %s -check-prefix=N64-R6 86 ; N64: lui $[[R0:[0-9]+]], %hi(%neg(%gp_rel(test1))) 87 ; N64: bnez $4, $[[BB0:BB[0-9_]+]] 88 ; N64: daddu $[[R1:[0-9]+]], $[[R0]], $25 91 ; N64: daddiu $sp, $sp, -16 92 ; N64-NEXT: sd $ra, 0($sp) 93 ; N64-NEXT: daddiu $1, $zero, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]])) 94 ; N64-NEXT: dsll $1, $1, 16 [all …]
|