/external/swiftshader/third_party/llvm-7.0/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: daddiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x64] 17 # N32-N64: daddiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x64] 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 64 # N64-PIC: ld $1, %got([[LABEL]])($gp) # encoding: [A,A,0x81,0xdf] 65 # N64-PIC: # fixup A - offset: 0, value: %got([[LABEL]… 66 # N64-NO-PIC: lui $1, %highest([[LABEL]]) # encoding: [A,A,0x01,0x3c] 67 # N64-NO-PIC: # fixup A - offset: 0, value: %highest([[LA… 68 # N64-NO-PIC: daddiu $1, $1, %higher([[LABEL]]) # encoding: [A,A,0x21,0x64] 69 # N64-NO-PIC: # fixup A - offset: 0, value: %higher([[LAB… 70 # N64-NO-PIC: dsll $1, $1, 16 # encoding: [0x38,0x0c,0x01,0x00] 71 # 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 172 # OBJ-N64-LABEL: Name: .text 173 # OBJ-N64: 0000: 00000000 00000000 00000000 00000000 174 # OBJ-N64-NEXT: 0010: 00000000 00000000 00000000 00000000 175 # OBJ-N64-NEXT: 0020: 00000000 00000000 00000000 00000000 176 # OBJ-N64-NEXT: 0030: 00000000 00000000 00000000 00000000 177 # OBJ-N64-NEXT: 0040: 00000000 00000000 00000000 00000000 178 # OBJ-N64-NEXT: 0050: 00000000 00000000 00000000 00000000 179 # OBJ-N64-NEXT: 0060: 00000000 00000000 00000000 00000000 180 # OBJ-N64-NEXT: 0070: 00000000 00000000 00000000 00000000 [all …]
|
/external/swiftshader/third_party/llvm-7.0/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 | 16 …h=mips64 -target-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,N64 %s 17 …mips64el -target-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,N64 %s 18 …ps64 -target-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,N64-INV %s 19 …64el -target-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --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 …c -target-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,N64,N64-BE %s 11 …c -target-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,N64,N64-LE %s 40 ; N64-LE-DAG: lb $2, %lo(struct_byte)(${{[0-9]+}}) 42 ; N64-BE-DAG: lb [[R1:\$[0-9]+]], %lo(struct_byte)(${{[0-9]+}}) 43 ; N64-BE-DAG: dsll $2, [[R1]], 56 76 ; N64-LE-DAG: daddiu $[[R0:[0-9]+]], ${{[0-9]+}}, %hi(struct_2byte) 77 ; N64-LE-DAG: dsll [[R1:\$[0-9]]], $[[R0]], 16 78 ; N64-LE-DAG: lhu [[R2:\$[0-9]+]], %lo(struct_2byte)([[R1]]) 79 ; N64-LE-DAG: sh [[R2]], 8([[SP:\$sp]]) 80 ; N64-LE-DAG: lh $2, 8([[SP:\$sp]]) [all …]
|
D | arguments-varargs.ll | 10 …arget-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,NEW,N64,NEW-BE %s 11 …arget-abi n64 < %s | FileCheck -allow-deprecated-dag-overlap --check-prefixes=ALL,NEW,N64,NEW-LE %s 21 ; Set up the stack with an 8-byte local area. N32/N64 must also make room for 25 ; N64: daddiu [[SP:\$sp]], $sp, -64 44 ; For N32/N64, it is only 8 since the fixed arguments do not reserve stack 52 ; N64-DAG: daddiu [[VA:\$[0-9]+]], [[SP]], 8 53 ; N64-DAG: sd [[VA]], 0([[SP]]) 69 ; N64-DAG: ld [[VA:\$[0-9]+]], 0([[SP]]) 70 ; N64-DAG: addiu [[VA2:\$[0-9]+]], [[VA]], 8 71 ; N64-DAG: sd [[VA2]], 0([[SP]]) [all …]
|
/external/swiftshader/third_party/llvm-7.0/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 74 ; N64-LABEL: foo: 75 ; N64: # %bb.0: # %entry 76 ; N64-NEXT: daddiu $sp, $sp, -16 77 ; N64-NEXT: .cfi_def_cfa_offset 16 78 ; N64-NEXT: move $1, $5 79 ; N64-NEXT: sll $1, $1, 0 80 ; N64-NEXT: move $2, $4 81 ; N64-NEXT: sll $2, $2, 0 82 ; N64-NEXT: lui $4, %highest(sym) [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: | FileCheck -check-prefix=N64 %s 8 ; RUN: | 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 | gprestore.ll | 3 …RUN: llc -mtriple=mips64-mti-linux-gnu < %s -relocation-model=pic | FileCheck %s --check-prefix=N64 50 ; N64-LABEL: f0: 51 ; N64: # %bb.0: # %entry 52 ; N64-NEXT: daddiu $sp, $sp, -32 53 ; N64-NEXT: sd $ra, 24($sp) # 8-byte Folded Spill 54 ; N64-NEXT: sd $gp, 16($sp) # 8-byte Folded Spill 55 ; N64-NEXT: sd $16, 8($sp) # 8-byte Folded Spill 56 ; N64-NEXT: lui $1, %hi(%neg(%gp_rel(f0))) 57 ; N64-NEXT: daddu $1, $1, $25 58 ; N64-NEXT: daddiu $gp, $1, %lo(%neg(%gp_rel(f0))) [all …]
|
D | biggot.ll | 3 ; RUN: FileCheck %s -check-prefix=N64 6 ; RUN: FileCheck %s -check-prefix=N64 20 ; N64-LABEL: foo1: 21 ; N64-DAG: lui $[[R0:[0-9]+]], %got_hi(v0) 22 ; N64-DAG: daddu $[[R1:[0-9]+]], $[[R0]], ${{[a-z0-9]+}} 23 ; N64-DAG: lui $[[R2:[0-9]+]], %call_hi(foo0) 24 ; N64-DAG: daddu $[[R3:[0-9]+]], $[[R2]], ${{[a-z0-9]+}} 25 ; N64-DAG: ld ${{[0-9]+}}, %got_lo(v0)($[[R1]]) 26 ; N64-DAG: ld ${{[0-9]+}}, %call_lo(foo0)($[[R3]]) 44 ; N64-LABEL: foo2: [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/indirect-jump-hazard/ |
D | long-calls.ll | 12 ; RUN: -verify-machineinstrs | FileCheck -check-prefix=N64 %s 65 ; N64-LABEL: caller: 66 ; N64: # %bb.0: 67 ; N64-NEXT: daddiu $sp, $sp, -16 68 ; N64-NEXT: .cfi_def_cfa_offset 16 69 ; N64-NEXT: sd $ra, 8($sp) # 8-byte Folded Spill 70 ; N64-NEXT: .cfi_offset 31, -8 71 ; N64-NEXT: lui $1, %highest(callee) 72 ; N64-NEXT: daddiu $1, $1, %higher(callee) 73 ; 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/swiftshader/third_party/LLVM/test/CodeGen/Mips/ |
D | mips64intldst.ll | 1 ; RUN: llc < %s -march=mips64el -mcpu=mips64r1 -mattr=n64 | FileCheck %s -check-prefix=CHECK-N64 15 ; CHECK-N64: func1 16 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(c) 17 ; CHECK-N64: lb ${{[0-9]+}}, 0($[[R0]]) 28 ; CHECK-N64: func2 29 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(s) 30 ; CHECK-N64: lh ${{[0-9]+}}, 0($[[R0]]) 41 ; CHECK-N64: func3 42 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(i) 43 ; CHECK-N64: lw ${{[0-9]+}}, 0($[[R0]]) [all …]
|
D | mips64fpldst.ll | 1 ; RUN: llc < %s -march=mips64el -mcpu=mips64r1 -mattr=n64 | FileCheck %s -check-prefix=CHECK-N64 11 ; CHECK-N64: funcfl1 12 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 13 ; CHECK-N64: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 23 ; CHECK-N64: funcfl2 24 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(d0) 25 ; CHECK-N64: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 35 ; CHECK-N64: funcfs1 36 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 37 ; CHECK-N64: swc1 $f{{[0-9]+}}, 0($[[R0]]) [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 | arguments-varargs.ll | 10 …64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,NEW,N64,NEW-BE %s 11 …el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,NEW,N64,NEW-LE %s 21 ; Set up the stack with an 8-byte local area. N32/N64 must also make room for 25 ; N64: daddiu [[SP:\$sp]], $sp, -64 44 ; For N32/N64, it is only 8 since the fixed arguments do not reserve stack 52 ; N64-DAG: daddiu [[VA:\$[0-9]+]], [[SP]], 8 53 ; N64-DAG: sd [[VA]], 0([[SP]]) 69 ; N64-DAG: ld [[VA:\$[0-9]+]], 0([[SP]]) 70 ; N64-DAG: addiu [[VA2:\$[0-9]+]], [[VA]], 8 71 ; N64-DAG: sd [[VA2]], 0([[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 …]
|