Home
last modified time | relevance | path

Searched refs:MIPS (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/
Dinstalias-imm-expanding.s1 …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 …]
Dmips_abi_flags_xx.s6 # RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R1,CHECK-OBJ-MIPS
10 # RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R1,CHECK-OBJ-MIPS
14 # RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R6,CHECK-OBJ-MIPS
25 # CHECK-OBJ-LABEL: Name: .MIPS.abiflags
39 # CHECK-OBJ: MIPS ABI Flags {
44 # CHECK-OBJ-MIPS-NEXT: ISA Extension: None (0x0)
/external/llvm/test/tools/llvm-readobj/
Ddynamic.test3 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 …]
Dprogram-headers.test6 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 …]
Dreloc-types.test11 …m-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix ELF-MIPS
417 ELF-MIPS: Type: R_MIPS_NONE (0)
418 ELF-MIPS: Type: R_MIPS_16 (1)
419 ELF-MIPS: Type: R_MIPS_32 (2)
420 ELF-MIPS: Type: R_MIPS_REL32 (3)
421 ELF-MIPS: Type: R_MIPS_26 (4)
422 ELF-MIPS: Type: R_MIPS_HI16 (5)
423 ELF-MIPS: Type: R_MIPS_LO16 (6)
424 ELF-MIPS: Type: R_MIPS_GPREL16 (7)
425 ELF-MIPS: Type: R_MIPS_LITERAL (8)
[all …]
Delf-sec-flags.test48 # RUN: llvm-readobj -s %t-mips.o | FileCheck -check-prefix=MIPS %s
50 # MIPS: Flags [ (0x38000000)
51 # MIPS-NEXT: SHF_MIPS_GPREL (0x10000000)
52 # MIPS-NEXT: SHF_MIPS_MERGE (0x20000000)
53 # MIPS-NEXT: SHF_MIPS_NOSTRIP (0x8000000)
54 # MIPS-NEXT: ]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/longbranch/
Dbranch-limits-int.mir2 …-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 …]
Dbranch-limits-fp-mips.mir2 …-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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/llvm-ir/
Dashr.ll3 ; 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 …]
Dand.ll3 ; 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 …]
Dxor.ll2 ; 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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Ddynamic.test3 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 Shared library: [libc.so.6]
12 ELF-MIPS: 0x0000000C INIT 0x528
13 ELF-MIPS: 0x0000000D FINI 0x860
[all …]
Dprogram-headers.test6 RUN: | FileCheck %s -check-prefix ELF-MIPS
94 ELF-MIPS: Format: ELF32-mips
95 ELF-MIPS-NEXT: Arch: mips
96 ELF-MIPS-NEXT: AddressSize: 32bit
97 ELF-MIPS-NEXT: LoadName:
98 ELF-MIPS-NEXT: ProgramHeaders [
99 ELF-MIPS-NEXT: ProgramHeader {
100 ELF-MIPS-NEXT: Type: PT_MIPS_ABIFLAGS (0x70000003)
101 ELF-MIPS-NEXT: Offset: 0x98
102 ELF-MIPS-NEXT: VirtualAddress: 0x400098
[all …]
Dreloc-types.test11 …m-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix ELF-MIPS
417 ELF-MIPS: Type: R_MIPS_NONE (0)
418 ELF-MIPS: Type: R_MIPS_16 (1)
419 ELF-MIPS: Type: R_MIPS_32 (2)
420 ELF-MIPS: Type: R_MIPS_REL32 (3)
421 ELF-MIPS: Type: R_MIPS_26 (4)
422 ELF-MIPS: Type: R_MIPS_HI16 (5)
423 ELF-MIPS: Type: R_MIPS_LO16 (6)
424 ELF-MIPS: Type: R_MIPS_GPREL16 (7)
425 ELF-MIPS: Type: R_MIPS_LITERAL (8)
[all …]
Delf-sec-flags.test25 # RUN: llvm-readobj -s %t-mips.o | FileCheck -check-prefix=MIPS %s
27 # MIPS: Flags [ (0x38000000)
28 # MIPS-NEXT: SHF_MIPS_GPREL (0x10000000)
29 # MIPS-NEXT: SHF_MIPS_MERGE (0x20000000)
30 # MIPS-NEXT: SHF_MIPS_NOSTRIP (0x8000000)
31 # MIPS-NEXT: ]
/external/llvm/test/CodeGen/Mips/msa/
Delm_insv.ll5 ; 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 …]
Delm_copy.ll5 ; 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 …]
D2r_vector_scalar.ll5 ; 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/msa/
Delm_insv.ll5 ; 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 …]
Delm_copy.ll5 ; 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 …]
D2r_vector_scalar.ll5 ; 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
Dunaligned-memops.ll2 …-march=mips -mcpu=mips32r2 -stop-before=expand-isel-pseudos < %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 …]
Daddress-selection.ll1 ; RUN: llc -march=mips < %s -debug 2>&1 | FileCheck %s --check-prefix=MIPS
2 …c -march=mips -relocation-model=pic -mxgot < %s -debug 2>&1 | FileCheck %s --check-prefix=MIPS-XGOT
22 ; MIPS-LABEL: ===== Instruction selection ends:
23 ; MIPS: t[[A:[0-9]+]]: i32 = LUi TargetGlobalAddress:i32<i32* @x> 0 [TF=4]
24 ; MIPS: t{{.*}}: i32 = ADDiu t[[A]], TargetGlobalAddress:i32<i32* @x> 0 [TF=5]
26 ; MIPS-XGOT-LABEL: ===== Instruction selection ends:
27 ; MIPS-XGOT: t[[B:[0-9]+]]: i32 = LUi TargetGlobalAddress:i32<i32* @x> 0 [TF=20]
28 ; MIPS-XGOT: t[[C:[0-9]+]]: i32 = ADDu t[[B]], Register:i32 %0
29 ; MIPS-XGOT: t{{.*}}: i32,ch = LW<Mem:(load 4 from got)> t[[C]], TargetGlobalAddress:i32<i32* @x> 0…
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/cstmaterialization/
Disel-materialization.ll1 ; 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>
DconstMaterialization.ll1 ; RUN: llc -march=mips < %s | FileCheck %s -check-prefixes=ALL,MIPS
10 ; MIPS: addiu $2, $zero, -1
14 ; MIPS-NOT: li16
23 ; MIPS: addiu $2, $zero, 126
28 ; MIPS-NOT: li16
48 ; MIPS: addiu $2, $zero, 0
52 ; MIPS-NOT: li16

12345678910>>...13