/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/ |
macro-aliases-invalid-wrong-error.s | 2 # RUN: FileCheck --check-prefix=O32 %s < %t1 10 subu $4, $4, %lo($start) # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 12 subu $4, $4, $start # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 14 subu $4, $a4, $a4 # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 15 subu $4, $4, %hi(end) # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 17 subu $4, $4, end + 4 # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 19 subu $4, $4, end # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 21 subu $4, $4, sp # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 24 subu $4, %lo($start) # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list 26 subu $4, $start # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument lis [all...] |
expansion-jal-sym-pic.s | 2 # RUN: FileCheck %s -check-prefixes=ALL,MIPS,O32 11 # RUN: FileCheck %s -check-prefixes=ALL,MM,O32-MM 19 # RUN: llvm-objdump -d -r - | FileCheck %s -check-prefixes=ELF-O32 39 # O32: lw $25, %got(local_label)($gp) # encoding: [0x8f,0x99,A,A] 40 # O32: # fixup A - offset: 0, value: %got(local_label), kind: fixup_Mips_GOT 41 # O32: addiu $25, $25, %lo(local_label) # encoding: [0x27,0x39,A,A] 42 # O32: # fixup A - offset: 0, value: %lo(local_label), kind: fixup_Mips_LO16 43 # ELF-O32: 8f 99 00 00 lw $25, 0($gp) 44 # ELF-O32-NEXT: R_MIPS_GOT16 .text 45 # ELF-O32-NEXT: 27 39 00 00 addiu $25, $25, [all...] |
reloc-directive.s | 1 # RUN: llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \ 7 # RUN: llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \ 9 # RUN: FileCheck -check-prefix=OBJ-O32 %s 83 # OBJ-O32-LABEL: Name: .text 84 # OBJ-O32: 0000: 00000000 00000000 00000008 00000000 85 # OBJ-O32-NEXT: 0010: 00000000 00000004 00000000 00000000 86 # OBJ-O32-NEXT: 0020: 00000004 00000004 00000004 00000000 87 # OBJ-O32-NEXT: 0030: 00000004 00000000 00000000 00000000 88 # OBJ-O32-NEXT: 0040: 00000000 00000000 00000000 00000000 89 # OBJ-O32-NEXT: 0050: 00000000 00000004 00000004 0000000 [all...] |
macro-li.d.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32 -target-abi=o32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC,O32 2 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -target-abi=o32 | FileCheck %s --check-prefixes=ALL,CHECK-MIPS32r2 3 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32 -target-abi=o32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC,O32 4 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips64 -target-abi=n32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC,N32-N64 5 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips64 -target-abi=n32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC,N32-N64 10 # O32: addiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x24 [all...] |
cpload.s | 4 # RUN: llvm-objdump -d -r - | FileCheck %s -check-prefix=OBJ-O32 18 # OBJ-O32: .text 19 # OBJ-O32: lui $gp, 0 20 # OBJ-O32: R_MIPS_HI16 _gp_disp 21 # OBJ-O32: addiu $gp, $gp, 0 22 # OBJ-O32: R_MIPS_LO16 _gp_disp 23 # OBJ-O32: addu $gp, $gp, $25
|
expansion-j-sym-pic.s | 16 # RUN: llvm-objdump -d -r - | FileCheck %s -check-prefixes=ELF-O32 41 # ELF-O32: 10 00 ff ff b 0 54 # ELF-O32: 10 00 ff ff b 0 55 # ELF-O32-NEXT: R_MIPS_PC16 weak_label 70 # ELF-O32: 10 00 ff ff b 0 71 # ELF-O32-NEXT: 00000010: R_MIPS_PC16 global_label 86 # ELF-O32: 10 00 ff f9 b -24 <local_label> 87 # ELF-O32-NEXT: 00 00 00 00 nop 101 # ELF-O32: 10 00 00 04 b 20 <local_label+0x34> 115 # ELF-O32: 10 00 00 04 b 20 <forward_local [all...] |
macro-la-bad.s | 2 # RUN: FileCheck %s < %t1 --check-prefix=O32 10 # O32: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate 15 # O32: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate
|
macro-li.s.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -target-abi=o32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC 2 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -target-abi=o32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC 3 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips64 -target-abi=n32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC 4 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips64 -target-abi=n32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC 60 # O32-N32-PIC: lw $1, %got([[LABEL]])($gp) # encoding: [A,A,0x81,0x8f] 61 # O32-N32-PIC: # fixup A - offset: 0, value: %got([[LABEL]]), kind: fixup_Mips_GOT 62 # O32-N32-NO-PIC: lui $1, %hi([[LABEL]]) # encoding: [A,A,0x01,0x3c] 63 # O32-N32-NO-PIC: # fixup A - offset: 0, value: %hi([[LABEL]]), ki (…) [all...] |
elf_header.s | 1 # Default ABI for MIPS32 is O32. 2 # RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips1 %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,BE,O32,NAN1985,MIPS1 %s 3 # RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips2 %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,BE,O32,NAN1985,MIPS2 %s 4 # RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips3 %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,BE,O32,NAN1985,MIPS3,32BITMODE %s 5 # RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips4 %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,BE,O32,NAN1985,MIPS4,32BITMODE %s 6 # RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips5 %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,BE,O32,NAN1985,MIPS5,32BITMODE %s 7 # RUN: llvm-mc -filetype=obj -triple mips-unknown-linux %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,BE,O32,NAN1985,MIPS32R1 %s 8 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,LE,O32,NAN1985,MIPS32R1 %s 9 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,LE,O32,NAN1985,MIPS32R1 %s 10 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r2 %s -o - | llvm-readobj -h | FileCheck --check-prefixes=ALL,ELF32,LE,O32,NAN1985,MIPS32R2 % [all...] |
cpsetup.s | 1 # RUN: llvm-mc -triple mips-unknown-linux -target-abi o32 -filetype=obj -o - %s | \ 2 # RUN: llvm-objdump -d -r - | FileCheck -check-prefixes=ALL,O32 %s 4 # RUN: llvm-mc -triple mips-unknown-linux -target-abi o32 %s | \ 5 # RUN: FileCheck -check-prefixes=ALL,ASM,ASM-O32 %s 33 # O32-NOT: __cerror 61 # O32-NOT: __cerror 96 # O32-NEXT: nop 97 # O32-NEXT: sub $3, $3, $2 110 # ASM-O32: [[LABEL:\$tmp0]]: 152 # O32-NOT: __cerro [all...] |
/external/llvm/test/MC/Mips/ |
reloc-directive.s | 1 # RUN: llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \ 7 # RUN: llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \ 9 # RUN: FileCheck -check-prefix=OBJ-O32 %s 27 # OBJ-O32-LABEL: Name: .text 28 # OBJ-O32: 0000: 00000000 00000000 00000008 29 # OBJ-O32-LABEL: } 30 # OBJ-O32-LABEL: Relocations [ 31 # OBJ-O32: 0x0 R_MIPS_NONE .text 0x0 32 # OBJ-O32: 0x4 R_MIPS_NONE .text 0x0 33 # OBJ-O32: 0x8 R_MIPS_32 .text 0x [all...] |
cpload.s | 4 # RUN: llvm-objdump -d -r - | FileCheck %s -check-prefix=OBJ-O32 18 # OBJ-O32: .text 19 # OBJ-O32: lui $gp, 0 20 # OBJ-O32: R_MIPS_HI16 _gp_disp 21 # OBJ-O32: addiu $gp, $gp, 0 22 # OBJ-O32: R_MIPS_LO16 _gp_disp 23 # OBJ-O32: addu $gp, $gp, $25
|
expansion-jal-sym-pic.s | 2 # RUN: FileCheck %s -check-prefixes=ALL,NORMAL,O32 11 # RUN: FileCheck %s -check-prefixes=ALL,MICROMIPS,O32-MICROMIPS 53 # O32: lw $25, %got(local_label)($gp) # encoding: [0x8f,0x99,A,A] 54 # O32: # fixup A - offset: 0, value: %got(local_label), kind: fixup_Mips_GOT 55 # O32: addiu $25, $25, %lo(local_label) # encoding: [0x27,0x39,A,A] 56 # O32: # fixup A - offset: 0, value: %lo(local_label), kind: fixup_Mips_LO16 64 # O32-MICROMIPS: lw $25, %got(local_label)($gp) # encoding: [0xff,0x3c,A,A] 65 # O32-MICROMIPS: # fixup A - offset: 0, value: %got(local_label), kind: fixup_MICROMIPS_GOT16 66 # O32-MICROMIPS: addiu $25, $25, %lo(local_label) # encoding: [0x33,0x39,A,A] 67 # O32-MICROMIPS: # fixup A - offset: 0, value: %lo(local_label) (…) [all...] |
macro-la-bad.s | 2 # RUN: FileCheck %s < %t1 --check-prefix=O32 10 # O32: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate 15 # O32: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate
|
cprestore-noreorder-noat.s | 2 # RUN: -o /dev/null 2>&1 | FileCheck %s -check-prefix=O32 26 # O32-NOT: error: pseudo-instruction requires $at, which is not available 45 # O32: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsABIInfo.h | 26 enum class ABI { Unknown, O32, N32, N64 }; 35 static MipsABIInfo O32() { return MipsABIInfo(ABI::O32); } 42 bool IsO32() const { return ThisABI == ABI::O32; } 54 /// CallingConv::FastCall affects the value for O32.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsABIInfo.h | 26 enum class ABI { Unknown, O32, N32, N64 }; 35 static MipsABIInfo O32() { return MipsABIInfo(ABI::O32); } 42 bool IsO32() const { return ThisABI == ABI::O32; } 54 /// CallingConv::FastCall affects the value for O32.
|
/external/llvm/test/MC/Mips/mips64r2/ |
abi-bad.s | 3 # CHECK: error: '.set fp=xx' requires the O32 ABI
|
/external/llvm/test/MC/Mips/mips64r3/ |
abi-bad.s | 3 # CHECK: error: '.set fp=xx' requires the O32 ABI
|
/external/llvm/test/MC/Mips/mips64r5/ |
abi-bad.s | 3 # CHECK: error: '.set fp=xx' requires the O32 ABI
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/mips64r2/ |
abi-bad.s | 3 # CHECK: error: '.set fp=xx' requires the O32 ABI
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/mips64r3/ |
abi-bad.s | 3 # CHECK: error: '.set fp=xx' requires the O32 ABI
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/mips64r5/ |
abi-bad.s | 3 # CHECK: error: '.set fp=xx' requires the O32 ABI
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
MipsSubtarget.h | 32 UnknownABI, O32, N32, N64, EABI 92 /// Only O32 and EABI supported right now. 96 bool isABI_O32() const { return MipsABI == O32; }
|
MipsSubtarget.cpp | 44 MipsABI = hasMips64() ? N64 : O32;
|