/external/llvm-project/llvm/test/MC/Mips/ |
D | instalias-imm-expanding.s | 1 …le=mipsel-unknown-linux -mcpu=mips32r2 -show-encoding -show-inst | FileCheck --check-prefix=MIPS %s 9 # MIPS: lui $1, 32768 # encoding: [0x00,0x80,0x01,0x3c] 10 # MIPS: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] 11 # MIPS-NEXT: # <MCInst #{{[0-9]+}} ADD 16 # MIPS: lui $1, 65535 # encoding: [0xff,0xff,0x01,0x3c] 17 # MIPS: ori $1, $1, 32767 # encoding: [0xff,0x7f,0x21,0x34] 18 # MIPS: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] 19 # MIPS-NEXT: # <MCInst #{{[0-9]+}} ADD 25 # MIPS: addi $4, $4, -32768 # encoding: [0x00,0x80,0x84,0x20] 26 # MIPS-NEXT: # <MCInst #{{[0-9]+}} ADDi [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | atomic-min-max-64.ll | 2 …c -march=mips64 -O0 -mcpu=mips64r2 -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=MIPS 3 …-march=mips64el -O0 -mcpu=mips64r2 -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=MIPS 8 ; MIPS-LABEL: test_max: 9 ; MIPS: # %bb.0: # %entry 10 ; MIPS-NEXT: sync 11 ; MIPS-NEXT: .LBB0_1: # %entry 12 ; MIPS-NEXT: # =>This Inner Loop Header: Depth=1 13 ; MIPS-NEXT: lld $2, 0($4) 14 ; MIPS-NEXT: slt $3, $2, $5 15 ; MIPS-NEXT: move $1, $2 [all …]
|
D | unaligned-memops.ll | 2 …: llc -march=mips -mcpu=mips32r2 -stop-before=finalize-isel < %s | FileCheck %s --check-prefix=MIPS 9 ; MIPS-LABEL: name: g2 10 ; MIPS: bb.0.entry: 11 ; MIPS: liveins: $a0, $a1 12 ; MIPS: [[COPY:%[0-9]+]]:gpr32 = COPY $a1 13 ; MIPS: [[COPY1:%[0-9]+]]:gpr32 = COPY $a0 14 ; MIPS: [[DEF:%[0-9]+]]:gpr32 = IMPLICIT_DEF 15 ; MIPS: [[LWL:%[0-9]+]]:gpr32 = LWL [[COPY1]], 0, [[DEF]] :: (load 4 from %ir.a, align 1) 16 ; MIPS: [[LWR:%[0-9]+]]:gpr32 = LWR [[COPY1]], 3, [[LWL]] :: (load 4 from %ir.a, align 1) 17 ; MIPS: SWL [[LWR]], [[COPY]], 0 :: (store 4 into %ir.b, align 1) [all …]
|
D | atomic-min-max.ll | 2 …llc -march=mips -O0 -mcpu=mips32r2 -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=MIPS 16 ; MIPS-LABEL: test_max_32: 17 ; MIPS: # %bb.0: # %entry 18 ; MIPS-NEXT: sync 19 ; MIPS-NEXT: $BB0_1: # %entry 20 ; MIPS-NEXT: # =>This Inner Loop Header: Depth=1 21 ; MIPS-NEXT: ll $2, 0($4) 22 ; MIPS-NEXT: slt $3, $2, $5 23 ; MIPS-NEXT: move $1, $2 24 ; MIPS-NEXT: movn $1, $5, $3 [all …]
|
D | address-selection.ll | 1 ; RUN: llc -march=mips < %s -debug 2>&1 | FileCheck %s --check-prefix=MIPS 3 ; RUN: -debug 2>&1 | FileCheck %s --check-prefix=MIPS-XGOT 24 ; MIPS-LABEL: ===== Instruction selection ends: 25 ; MIPS: t[[A:[0-9]+]]: i32 = LUi TargetGlobalAddress:i32<i32* @x> 0 [TF=4] 26 ; MIPS: t{{.*}}: i32 = ADDiu t[[A]], TargetGlobalAddress:i32<i32* @x> 0 [TF=5] 28 ; MIPS-XGOT-LABEL: ===== Instruction selection ends: 29 ; MIPS-XGOT: t[[B:[0-9]+]]: i32 = LUi TargetGlobalAddress:i32<i32* @x> 0 [TF=20] 30 ; MIPS-XGOT: t[[C:[0-9]+]]: i32 = ADDu t[[B]], Register:i32 %0 31 ; MIPS-XGOT: t{{.*}}: i32,ch = LW<Mem:(load 4 from got)> t[[C]], TargetGlobalAddress:i32<i32* @x> 0…
|
/external/llvm/test/tools/llvm-readobj/ |
D | dynamic.test | 3 RUN: | FileCheck %s -check-prefix ELF-MIPS 5 ELF-MIPS: Format: ELF32-mips 6 ELF-MIPS: Arch: mipsel 7 ELF-MIPS: AddressSize: 32bit 8 ELF-MIPS: LoadName: 9 ELF-MIPS: DynamicSection [ (23 entries) 10 ELF-MIPS: Tag Type Name/Value 11 ELF-MIPS: 0x00000001 NEEDED SharedLibrary (libc.so.6) 12 ELF-MIPS: 0x0000000C INIT 0x528 13 ELF-MIPS: 0x0000000D FINI 0x860 [all …]
|
D | program-headers.test | 6 RUN: | FileCheck %s -check-prefix ELF-MIPS 80 ELF-MIPS: Format: ELF32-mips 81 ELF-MIPS-NEXT: Arch: mips 82 ELF-MIPS-NEXT: AddressSize: 32bit 83 ELF-MIPS-NEXT: LoadName: 84 ELF-MIPS-NEXT: ProgramHeaders [ 85 ELF-MIPS-NEXT: ProgramHeader { 86 ELF-MIPS-NEXT: Type: PT_MIPS_ABIFLAGS (0x70000003) 87 ELF-MIPS-NEXT: Offset: 0x98 88 ELF-MIPS-NEXT: VirtualAddress: 0x400098 [all …]
|
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | dynamic-tags-machine-specific.test | 49 ## Case 2: Test that MIPS machine-specific tags can be dumped. 52 # RUN: | FileCheck %s --strict-whitespace --match-full-lines --check-prefix=LLVM-MIPS 54 # RUN: | FileCheck %s --strict-whitespace --match-full-lines --check-prefix=GNU-MIPS 56 # LLVM-MIPS:DynamicSection [ (47 entries) 57 # LLVM-MIPS-NEXT: Tag Type Name/Value 58 # LLVM-MIPS-NEXT: 0x0000000000000004 HASH 0x1000 59 # LLVM-MIPS-NEXT: 0x0000000070000001 MIPS_RLD_VERSION 305419896 60 # LLVM-MIPS-NEXT: 0x0000000070000002 MIPS_TIME_STAMP 0x11223344 61 # LLVM-MIPS-NEXT: 0x0000000070000003 MIPS_ICHECKSUM 0x11112222 62 # LLVM-MIPS-NEXT: 0x0000000070000004 MIPS_IVERSION 0x1 [all …]
|
D | mips-symbols-stother.test | 1 ## Check that we are able to dump MIPS STO_* flags correctly when dumping symbols. 4 # RUN: llvm-readobj --symbols %t.o | FileCheck %s --strict-whitespace --check-prefix=MIPS-LLVM 5 # RUN: llvm-readelf --symbols %t.o | FileCheck %s --strict-whitespace --check-prefix=MIPS-GNU 7 # MIPS-LLVM:Name: foo 8 # MIPS-LLVM:Other [ 9 # MIPS-LLVM-NEXT: STO_MIPS_MICROMIPS (0x80) 10 # MIPS-LLVM-NEXT: STO_MIPS_OPTIONAL (0x4) 11 # MIPS-LLVM-NEXT: STO_MIPS_PIC (0x20) 12 # MIPS-LLVM-NEXT: STO_MIPS_PLT (0x8) 13 # MIPS-LLVM-NEXT:] [all …]
|
D | section-arch-flags.test | 26 # RUN: llvm-readobj -S %t-mips.o | FileCheck --check-prefix=MIPS-LLVM %s 27 # RUN: llvm-readelf -S %t-mips.o | FileCheck --check-prefix=MIPS-GNU %s 29 # MIPS-GNU: [Nr] Name Type Address Off Size ES Flg Lk Inf Al 30 # MIPS-GNU: [ 1] .mips PROGBITS 00000000 000034 000000 00 op 0 0 0 32 # MIPS-LLVM: Flags [ (0xFF000000) 33 # MIPS-LLVM-NEXT: SHF_EXCLUDE (0x80000000) 34 # MIPS-LLVM-NEXT: SHF_MIPS_ADDR (0x40000000) 35 # MIPS-LLVM-NEXT: SHF_MIPS_GPREL (0x10000000) 36 # MIPS-LLVM-NEXT: SHF_MIPS_LOCAL (0x4000000) 37 # MIPS-LLVM-NEXT: SHF_MIPS_MERGE (0x20000000) [all …]
|
D | machine-specific-section-types.test | 13 # RUN: llvm-readobj --section-headers %t-mips.o | FileCheck %s --check-prefix=MIPS-LLVM 14 # RUN: llvm-readelf --section-headers %t-mips.o | FileCheck %s --check-prefix=MIPS-GNU 38 # MIPS-LLVM: Name: reginfo 39 # MIPS-LLVM: Type: SHT_MIPS_REGINFO 40 # MIPS-LLVM: Name: options 41 # MIPS-LLVM: Type: SHT_MIPS_OPTIONS 42 # MIPS-LLVM: Name: abiflags 43 # MIPS-LLVM: Type: SHT_MIPS_ABIFLAGS 44 # MIPS-LLVM: Name: dwarf 45 # MIPS-LLVM: Type: SHT_MIPS_DWARF [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/longbranch/ |
D | branch-limits-int.mir | 2 …-before mips-delay-slot-filler -stop-after mips-branch-expansion | FileCheck %s --check-prefix=MIPS 110 ; MIPS-LABEL: name: expand_BEQ 111 ; MIPS: bb.0 (%ir-block.0): 112 ; MIPS: successors: %bb.2(0x40000000), %bb.1(0x40000000) 113 ; MIPS: renamable $at = ANDi killed renamable $a0, 1 114 ; MIPS: BNE $at, $zero, %bb.2, implicit-def $at { 115 ; MIPS: NOP 116 ; MIPS: } 117 ; MIPS: bb.1 (%ir-block.0): 118 ; MIPS: successors: %bb.3(0x80000000) [all …]
|
D | branch-limits-fp-mips.mir | 2 …-before mips-delay-slot-filler -stop-after mips-branch-expansion | FileCheck %s --check-prefix=MIPS 70 ; MIPS-LABEL: name: a 71 ; MIPS: bb.0.entry: 72 ; MIPS: successors: %bb.2(0x50000000), %bb.1(0x30000000) 73 ; MIPS: FCMP_D32 killed renamable $d6, killed renamable $d7, 2, implicit-def $fcc0 74 ; MIPS: BC1F $fcc0, %bb.2, implicit-def $at { 75 ; MIPS: NOP 76 ; MIPS: } 77 ; MIPS: bb.1.entry: 78 ; MIPS: successors: %bb.3(0x80000000) [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objdump/ELF/ |
D | dynamic-section-machine-specific.test | 38 ## Case 2: Test that MIPS machine-specific tags can be dumped. 39 ## MIPS has a few long tag names. Show that we indent columns properly. 41 … llvm-objdump -p %t.mips | FileCheck %s --strict-whitespace --match-full-lines --check-prefix=MIPS 43 # MIPS:Dynamic Section: 44 # MIPS-NEXT: MIPS_RLD_VERSION 0x0000000012345678 45 # MIPS-NEXT: MIPS_TIME_STAMP 0x0000000011223344 46 # MIPS-NEXT: MIPS_ICHECKSUM 0x0000000011112222 47 # MIPS-NEXT: MIPS_IVERSION 0x0000000000000001 48 # MIPS-NEXT: MIPS_FLAGS 0x0000000011111111 49 # MIPS-NEXT: MIPS_BASE_ADDRESS 0x0000000087654321 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/llvm-ir/ |
D | ashr.ll | 3 ; RUN: -check-prefix=MIPS 34 ; MIPS-LABEL: ashr_i1: 35 ; MIPS: # %bb.0: # %entry 36 ; MIPS-NEXT: jr $ra 37 ; MIPS-NEXT: move $2, $4 89 ; MIPS-LABEL: ashr_i8: 90 ; MIPS: # %bb.0: # %entry 91 ; MIPS-NEXT: andi $1, $5, 255 92 ; MIPS-NEXT: jr $ra 93 ; MIPS-NEXT: srav $2, $4, $1 [all …]
|
D | and.ll | 3 ; RUN: -check-prefix=MIPS 5 ; RUN: -check-prefix=MIPS 34 ; MIPS-LABEL: and_i1: 35 ; MIPS: # %bb.0: # %entry 36 ; MIPS-NEXT: jr $ra 37 ; MIPS-NEXT: and $2, $4, $5 83 ; MIPS-LABEL: and_i8: 84 ; MIPS: # %bb.0: # %entry 85 ; MIPS-NEXT: jr $ra 86 ; MIPS-NEXT: and $2, $4, $5 [all …]
|
D | xor.ll | 2 ; RUN: llc < %s -mtriple=mips-unknown-linux-gnu -mcpu=mips2 | FileCheck %s -check-prefix=MIPS 3 ; RUN: llc < %s -mtriple=mips-unknown-linux-gnu -mcpu=mips32 | FileCheck %s -check-prefix=MIPS 32 ; MIPS-LABEL: xor_i1: 33 ; MIPS: # %bb.0: # %entry 34 ; MIPS-NEXT: jr $ra 35 ; MIPS-NEXT: xor $2, $4, $5 81 ; MIPS-LABEL: xor_i8: 82 ; MIPS: # %bb.0: # %entry 83 ; MIPS-NEXT: jr $ra 84 ; MIPS-NEXT: xor $2, $4, $5 [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/msa/ |
D | elm_insv.ll | 5 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 7 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 9 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 11 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 28 ; MIPS-ANY: llvm_mips_insert_b_test: 29 ; MIPS-ANY-DAG: lw [[R1:\$[0-9]+]], 0( 30 ; MIPS-ANY-DAG: ld.b [[R2:\$w[0-9]+]], 0( 31 ; MIPS-ANY-DAG: insert.b [[R2]][1], [[R1]] 32 ; MIPS-ANY-DAG: st.b [[R2]], 0( 33 ; MIPS-ANY: .size llvm_mips_insert_b_test [all …]
|
D | elm_copy.ll | 5 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 7 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 9 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 11 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 26 ; MIPS-ANY: llvm_mips_copy_s_b_test: 29 ; MIPS-ANY-DAG: ld.b [[WS:\$w[0-9]+]], 0([[R1]]) 30 ; MIPS-ANY-DAG: copy_s.b [[RD:\$[0-9]+]], [[WS]][1] 33 ; MIPS-ANY-DAG: sw [[RD]], 0([[RES]]) 34 ; MIPS-ANY: .size llvm_mips_copy_s_b_test 49 ; MIPS-ANY: llvm_mips_copy_s_h_test: [all …]
|
D | 2r_vector_scalar.ll | 5 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 7 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 9 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 11 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 26 ; MIPS-ANY: llvm_mips_fill_b_test: 29 ; MIPS-ANY-DAG: fill.b [[R2:\$w[0-9]+]], [[R1]] 30 ; MIPS-ANY-DAG: st.b [[R2]], 31 ; MIPS-ANY: .size llvm_mips_fill_b_test 46 ; MIPS-ANY: llvm_mips_fill_h_test: 49 ; MIPS-ANY-DAG: fill.h [[R2:\$w[0-9]+]], [[R1]] [all …]
|
/external/llvm/test/CodeGen/Mips/msa/ |
D | elm_insv.ll | 5 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 7 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 9 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 11 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 28 ; MIPS-ANY: llvm_mips_insert_b_test: 29 ; MIPS-ANY-DAG: lw [[R1:\$[0-9]+]], 0( 30 ; MIPS-ANY-DAG: ld.b [[R2:\$w[0-9]+]], 0( 31 ; MIPS-ANY-DAG: insert.b [[R2]][1], [[R1]] 32 ; MIPS-ANY-DAG: st.b [[R2]], 0( 33 ; MIPS-ANY: .size llvm_mips_insert_b_test [all …]
|
D | elm_copy.ll | 5 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 7 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 9 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 11 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 26 ; MIPS-ANY: llvm_mips_copy_s_b_test: 29 ; MIPS-ANY-DAG: ld.b [[WS:\$w[0-9]+]], 0([[R1]]) 30 ; MIPS-ANY-DAG: copy_s.b [[RD:\$[0-9]+]], [[WS]][1] 33 ; MIPS-ANY-DAG: sw [[RD]], 0([[RES]]) 34 ; MIPS-ANY: .size llvm_mips_copy_s_b_test 49 ; MIPS-ANY: llvm_mips_copy_s_h_test: [all …]
|
D | 2r_vector_scalar.ll | 5 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 7 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS32 9 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 11 ; RUN: FileCheck %s -check-prefixes=MIPS-ANY,MIPS64 26 ; MIPS-ANY: llvm_mips_fill_b_test: 29 ; MIPS-ANY-DAG: fill.b [[R2:\$w[0-9]+]], [[R1]] 30 ; MIPS-ANY-DAG: st.b [[R2]], 31 ; MIPS-ANY: .size llvm_mips_fill_b_test 46 ; MIPS-ANY: llvm_mips_fill_h_test: 49 ; MIPS-ANY-DAG: fill.h [[R2:\$w[0-9]+]], [[R1]] [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | rename-section-flag-osproc-mask.test | 57 # RUN: llvm-readobj --sections %t-mips.o | FileCheck %s --check-prefix=MIPS 75 # MIPS: Name: .bar 76 # MIPS-NEXT: Type: SHT_PROGBITS 77 # MIPS-NEXT: Flags [ 78 # MIPS-NEXT: SHF_ALLOC (0x2) 79 # MIPS-NEXT: SHF_MIPS_ADDR (0x40000000) 80 # MIPS-NEXT: SHF_MIPS_GPREL (0x10000000) 81 # MIPS-NEXT: SHF_MIPS_LOCAL (0x4000000) 82 # MIPS-NEXT: SHF_MIPS_MERGE (0x20000000) 83 # MIPS-NEXT: SHF_MIPS_NAMES (0x2000000) [all …]
|
/external/llvm-project/llvm/test/CodeGen/Mips/cstmaterialization/ |
D | isel-materialization.ll | 1 ; RUN: llc -march=mips < %s -debug 2>&1 | FileCheck %s --check-prefix=MIPS 20 ; MIPS-LABEL: ===== Instruction selection ends: 21 ; MIPS-DAG: t{{[0-9]+}}: i32 = ADDiu Register:i32 $zero, TargetConstant:i32<1> 22 ; MIPS-DAG: t{{[0-9]+}}: i32 = ADDiu Register:i32 $zero, TargetConstant:i32<2048> 23 ; MIPS-DAG: t{{[0-9]+}}: i32 = LUi TargetConstant:i32<128> 24 ; MIPS: t{{[0-9]+}}: ch,glue = JAL TargetGlobalAddress:i32<void (i32, i32, i32)* @f> 26 ; MIPS: t[[A:[0-9]+]]: i32 = LUi TargetConstant:i32<2304> 27 ; MIPS: t{{[0-9]+}}: i32 = ORi t[[A]], TargetConstant:i32<2>
|