Home
last modified time | relevance | path

Searched full:mips32 (Results 1 – 25 of 813) sorted by relevance

12345678910>>...33

/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/
Dlong_ambiguous_chain_s64.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: long_chain_ambiguous_i64_in_fpr:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: addiu $sp, $sp, -72
8 ; MIPS32-NEXT: .cfi_def_cfa_offset 72
9 ; MIPS32-NEXT: sw $4, 44($sp) # 4-byte Folded Spill
10 ; MIPS32-NEXT: sw $5, 48($sp) # 4-byte Folded Spill
11 ; MIPS32-NEXT: sw $6, 52($sp) # 4-byte Folded Spill
12 ; MIPS32-NEXT: sw $7, 56($sp) # 4-byte Folded Spill
13 ; MIPS32-NEXT: addiu $1, $sp, 88
[all …]
Dbitwise.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: and_i1:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: and $2, $5, $4
8 ; MIPS32-NEXT: jr $ra
9 ; MIPS32-NEXT: nop
16 ; MIPS32-LABEL: and_i8:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: and $2, $5, $4
19 ; MIPS32-NEXT: jr $ra
[all …]
Dlong_ambiguous_chain_s32.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: long_chain_ambiguous_i32_in_gpr:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: addiu $sp, $sp, -48
8 ; MIPS32-NEXT: .cfi_def_cfa_offset 48
9 ; MIPS32-NEXT: sw $4, 20($sp) # 4-byte Folded Spill
10 ; MIPS32-NEXT: sw $5, 24($sp) # 4-byte Folded Spill
11 ; MIPS32-NEXT: sw $6, 28($sp) # 4-byte Folded Spill
12 ; MIPS32-NEXT: sw $7, 32($sp) # 4-byte Folded Spill
13 ; MIPS32-NEXT: addiu $1, $sp, 64
[all …]
Drem_and_div.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
6 ; MIPS32-LABEL: sdiv_i8:
7 ; MIPS32: # %bb.0: # %entry
8 ; MIPS32-NEXT: sll $1, $5, 24
9 ; MIPS32-NEXT: sra $2, $1, 24
10 ; MIPS32-NEXT: sll $1, $4, 24
11 ; MIPS32-NEXT: sra $1, $1, 24
12 ; MIPS32-NEXT: div $zero, $2, $1
13 ; MIPS32-NEXT: teq $1, $zero, 7
14 ; MIPS32-NEXT: mflo $1
[all …]
Dicmp.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: eq_i32:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: xor $1, $4, $5
8 ; MIPS32-NEXT: sltiu $2, $1, 1
9 ; MIPS32-NEXT: jr $ra
10 ; MIPS32-NEXT: nop
17 ; MIPS32-LABEL: ne_i32:
18 ; MIPS32: # %bb.0: # %entry
19 ; MIPS32-NEXT: xor $1, $4, $5
[all …]
Dphi.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: phi_i1:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: addiu $sp, $sp, -16
8 ; MIPS32-NEXT: .cfi_def_cfa_offset 16
9 ; MIPS32-NEXT: sw $5, 8($sp) # 4-byte Folded Spill
10 ; MIPS32-NEXT: sw $6, 12($sp) # 4-byte Folded Spill
11 ; MIPS32-NEXT: andi $1, $4, 1
12 ; MIPS32-NEXT: bnez $1, $BB0_2
13 ; MIPS32-NEXT: nop
[all …]
Dmul.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
4 ; MIPS32-LABEL: mul_i32:
5 ; MIPS32: # %bb.0: # %entry
6 ; MIPS32-NEXT: mul $2, $4, $5
7 ; MIPS32-NEXT: jr $ra
8 ; MIPS32-NEXT: nop
15 ; MIPS32-LABEL: mul_i8_sext:
16 ; MIPS32: # %bb.0: # %entry
17 ; MIPS32-NEXT: mul $1, $5, $4
18 ; MIPS32-NEXT: sll $1, $1, 24
[all …]
Dadd.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
4 ; MIPS32-LABEL: add_i32:
5 ; MIPS32: # %bb.0: # %entry
6 ; MIPS32-NEXT: addu $2, $4, $5
7 ; MIPS32-NEXT: jr $ra
8 ; MIPS32-NEXT: nop
15 ; MIPS32-LABEL: add_i8_sext:
16 ; MIPS32: # %bb.0: # %entry
17 ; MIPS32-NEXT: addu $1, $5, $4
18 ; MIPS32-NEXT: sll $1, $1, 24
[all …]
Dsub.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: sub_i32:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: subu $2, $4, $5
8 ; MIPS32-NEXT: jr $ra
9 ; MIPS32-NEXT: nop
16 ; MIPS32-LABEL: sub_i8_sext:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: subu $1, $5, $4
19 ; MIPS32-NEXT: sll $1, $1, 24
[all …]
Dconstants.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: any_i64:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: ori $2, $zero, 0
8 ; MIPS32-NEXT: lui $3, 32768
9 ; MIPS32-NEXT: jr $ra
10 ; MIPS32-NEXT: nop
16 ; MIPS32-LABEL: any_i32:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: lui $2, 32768
[all …]
Dcttz.ll2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: cttz_i32:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: not $1, $4
8 ; MIPS32-NEXT: addiu $2, $4, -1
9 ; MIPS32-NEXT: and $2, $1, $2
10 ; MIPS32-NEXT: ori $1, $zero, 32
11 ; MIPS32-NEXT: clz $2, $2
12 ; MIPS32-NEXT: subu $2, $1, $2
13 ; MIPS32-NEXT: jr $ra
[all …]
Dload_split_because_of_memsize_or_align.ll2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
32 ; MIPS32-LABEL: load3align1:
33 ; MIPS32: # %bb.0: # %entry
34 ; MIPS32-NEXT: # implicit-def: $at
35 ; MIPS32-NEXT: lwl $1, 3($4)
36 ; MIPS32-NEXT: lwr $1, 0($4)
37 ; MIPS32-NEXT: lui $2, 255
38 ; MIPS32-NEXT: ori $2, $2, 65535
39 ; MIPS32-NEXT: and $2, $1, $2
40 ; MIPS32-NEXT: jr $ra
[all …]
Dselect.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: select_i8:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: move $2, $6
8 ; MIPS32-NEXT: andi $1, $4, 1
9 ; MIPS32-NEXT: movn $2, $5, $1
10 ; MIPS32-NEXT: jr $ra
11 ; MIPS32-NEXT: nop
18 ; MIPS32-LABEL: select_i16:
19 ; MIPS32: # %bb.0: # %entry
[all …]
Dfptosi_and_fptoui.ll2 …psel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP32
3 …fp64,+mips32r2 -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP64
6 ; MIPS32-LABEL: f32toi64:
7 ; MIPS32: # %bb.0: # %entry
8 ; MIPS32-NEXT: addiu $sp, $sp, -24
9 ; MIPS32-NEXT: .cfi_def_cfa_offset 24
10 ; MIPS32-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill
11 ; MIPS32-NEXT: .cfi_offset 31, -4
12 ; MIPS32-NEXT: jal __fixsfdi
13 ; MIPS32-NEXT: nop
[all …]
Dstore_split_because_of_memsize_or_align.ll2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
32 ; MIPS32-LABEL: store3align1:
33 ; MIPS32: # %bb.0: # %entry
34 ; MIPS32-NEXT: sb $5, 0($4)
35 ; MIPS32-NEXT: srl $1, $5, 8
36 ; MIPS32-NEXT: sb $1, 1($4)
37 ; MIPS32-NEXT: srl $1, $5, 16
38 ; MIPS32-NEXT: sb $1, 2($4)
39 ; MIPS32-NEXT: jr $ra
40 ; MIPS32-NEXT: nop
[all …]
Dctpop.ll2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: ctpop_i32:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: srl $1, $4, 1
8 ; MIPS32-NEXT: lui $2, 21845
9 ; MIPS32-NEXT: ori $2, $2, 21845
10 ; MIPS32-NEXT: and $1, $1, $2
11 ; MIPS32-NEXT: subu $2, $4, $1
12 ; MIPS32-NEXT: srl $1, $2, 2
13 ; MIPS32-NEXT: lui $3, 13107
[all …]
Dfloat_args.ll2 …psel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP32
3 …fp64,+mips32r2 -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP64
6 ; MIPS32-LABEL: float_in_fpr:
7 ; MIPS32: # %bb.0: # %entry
8 ; MIPS32-NEXT: mov.s $f0, $f14
9 ; MIPS32-NEXT: jr $ra
10 ; MIPS32-NEXT: nop
16 ; MIPS32-LABEL: double_in_fpr:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: mov.d $f0, $f14
[all …]
Dbitreverse.ll2 …le=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
7 ; MIPS32-LABEL: bitreverse_i32:
8 ; MIPS32: # %bb.0: # %entry
9 ; MIPS32-NEXT: sll $2, $4, 24
10 ; MIPS32-NEXT: srl $1, $4, 24
11 ; MIPS32-NEXT: or $1, $1, $2
12 ; MIPS32-NEXT: andi $2, $4, 65280
13 ; MIPS32-NEXT: sll $2, $2, 8
14 ; MIPS32-NEXT: or $1, $1, $2
15 ; MIPS32-NEXT: srl $2, $4, 8
[all …]
Dimplicit_def.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
6 ; MIPS32-LABEL: g_i32:
7 ; MIPS32: # %bb.0: # %entry
8 ; MIPS32-NEXT: addiu $sp, $sp, -24
9 ; MIPS32-NEXT: .cfi_def_cfa_offset 24
10 ; MIPS32-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill
11 ; MIPS32-NEXT: .cfi_offset 31, -4
12 ; MIPS32-NEXT: # implicit-def: $a0
13 ; MIPS32-NEXT: jal f_i32
14 ; MIPS32-NEXT: nop
[all …]
Dtest_TypeInfoforMF.ll2 …e=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
5 ; MIPS32-LABEL: outgoing_gpr:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: lw $2, 0($4)
8 ; MIPS32-NEXT: jr $ra
9 ; MIPS32-NEXT: nop
16 ; MIPS32-LABEL: outgoing_fpr:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: lwc1 $f0, 0($4)
19 ; MIPS32-NEXT: jr $ra
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/
Dconst-mult.ll2 ; RUN: llc -mtriple=mipsel-mti-linux-gnu < %s | FileCheck %s -check-prefix=MIPS32
7 ; MIPS32-LABEL: mul5_32:
8 ; MIPS32: # %bb.0: # %entry
9 ; MIPS32-NEXT: sll $1, $4, 2
10 ; MIPS32-NEXT: jr $ra
11 ; MIPS32-NEXT: addu $2, $1, $4
24 ; MIPS32-LABEL: mul27_32:
25 ; MIPS32: # %bb.0: # %entry
26 ; MIPS32-NEXT: sll $1, $4, 2
27 ; MIPS32-NEXT: addu $1, $1, $4
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/irtranslator/
Dextend_args.ll2 …l-isel -stop-after=irtranslator -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
6 ; MIPS32-LABEL: name: sext_arg_i8
7 ; MIPS32: bb.1.entry:
8 ; MIPS32: liveins: $a0
9 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
10 ; MIPS32: [[TRUNC:%[0-9]+]]:_(s8) = G_TRUNC [[COPY]](s32)
11 ; MIPS32: [[SEXT:%[0-9]+]]:_(s32) = G_SEXT [[TRUNC]](s8)
12 ; MIPS32: $v0 = COPY [[SEXT]](s32)
13 ; MIPS32: RetRA implicit $v0
19 ; MIPS32-LABEL: name: zext_arg_i8
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/legalizer/
Drem_and_div.mir2 …l-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
31 ; MIPS32-LABEL: name: sdiv_i8
32 ; MIPS32: liveins: $a0, $a1
33 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
34 ; MIPS32: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1
35 ; MIPS32: [[COPY2:%[0-9]+]]:_(s32) = COPY [[COPY1]](s32)
36 ; MIPS32: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 24
37 ; MIPS32: [[SHL:%[0-9]+]]:_(s32) = G_SHL [[COPY2]], [[C]](s32)
38 ; MIPS32: [[ASHR:%[0-9]+]]:_(s32) = G_ASHR [[SHL]], [[C]](s32)
39 ; MIPS32: [[COPY3:%[0-9]+]]:_(s32) = COPY [[COPY]](s32)
[all …]
Dbitwise.mir2 …l-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
43 ; MIPS32-LABEL: name: and_i1
44 ; MIPS32: liveins: $a0, $a1
45 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
46 ; MIPS32: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1
47 ; MIPS32: [[COPY2:%[0-9]+]]:_(s32) = COPY [[COPY1]](s32)
48 ; MIPS32: [[COPY3:%[0-9]+]]:_(s32) = COPY [[COPY]](s32)
49 ; MIPS32: [[AND:%[0-9]+]]:_(s32) = G_AND [[COPY2]], [[COPY3]]
50 ; MIPS32: [[COPY4:%[0-9]+]]:_(s32) = COPY [[AND]](s32)
51 ; MIPS32: $v0 = COPY [[COPY4]](s32)
[all …]
Dphi.mir2 …l-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
152 ; MIPS32-LABEL: name: phi_i1
153 ; MIPS32: bb.0.entry:
154 ; MIPS32: successors: %bb.1(0x40000000), %bb.2(0x40000000)
155 ; MIPS32: liveins: $a0, $a1, $a2
156 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
157 ; MIPS32: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1
158 ; MIPS32: [[COPY2:%[0-9]+]]:_(s32) = COPY $a2
159 ; MIPS32: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 1
160 ; MIPS32: [[COPY3:%[0-9]+]]:_(s32) = COPY [[COPY]](s32)
[all …]

12345678910>>...33