Home
last modified time | relevance | path

Searched refs:N32 (Results 1 – 25 of 176) sorted by relevance

12345678

/external/llvm-project/llvm/test/CodeGen/Mips/msa/
Df16-llvm-ir.ll7 ; RUN: --check-prefixes=MIPS64-N32,MIPS64R5-N32
17 ; RUN: --check-prefixes=MIPS64-N32,MIPSR6-N32
53 ; MIPS64-N32-LABEL: f3:
54 ; MIPS64-N32: # %bb.0: # %entry
55 ; MIPS64-N32-NEXT: addiu $sp, $sp, -32
56 ; MIPS64-N32-NEXT: .cfi_def_cfa_offset 32
57 ; MIPS64-N32-NEXT: sd $ra, 24($sp) # 8-byte Folded Spill
58 ; MIPS64-N32-NEXT: sd $gp, 16($sp) # 8-byte Folded Spill
59 ; MIPS64-N32-NEXT: .cfi_offset 31, -8
60 ; MIPS64-N32-NEXT: .cfi_offset 28, -16
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/cconv/
Dbyval.ll7 ; RUN: | FileCheck %s --check-prefix=N32
14 ; RUN: -debug 2>&1 | FileCheck %s --check-prefix=N32-SDAG
39 ; N32-SDAG-LABEL: Initial selection DAG: %bb.0 'g:entry'
40 ; N32-SDAG: t{{.*}}: ch,glue = callseq_start t{{.*}}, TargetConstant:i32<{{.*}}>
41 ; N32-SDAG-NOT: t{{.*}}: ch,glue = callseq_start t{{.*}}, TargetConstant:i32<{{.*}}>
42 ; N32-SDAG: t{{.*}}: ch,glue = MipsISD::JmpLink t{{.*}}, TargetExternalSymbol:i32'memcpy'
43 ; N32-SDAG-NOT: t{{.*}}: ch,glue = callseq_end t{{.*}}, TargetConstant:i32<{{.*}}>
44 ; N32-SDAG: t{{.*}}: ch,glue = MipsISD::JmpLink t{{.*}}, TargetGlobalAddress:i32<void (%struct.S1*)…
45 ; N32-SDAG: t{{.*}}: ch,glue = callseq_end t{{.*}}, TargetConstant:i32<{{.*}}>
86 ; N32-LABEL: g:
[all …]
Dcallee-saved.ll16 ; RUN: | FileCheck --check-prefixes=ALL,N32 %s
18 ; RUN: | FileCheck --check-prefixes=ALL,N32 %s
20 ; RUN: | FileCheck --check-prefixes=ALL,N32-INV %s
22 ; RUN: | FileCheck --check-prefixes=ALL,N32-INV %s
34 ; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.
89 ; N32: addiu $sp, $sp, -96
90 ; N32-INV-NOT: sd $0,
91 ; N32-INV-NOT: sd $1,
92 ; N32-INV-NOT: sd $2,
93 ; N32-INV-NOT: sd $3,
[all …]
Dreturn-struct.ll12 ; RUN: | FileCheck --check-prefixes=ALL,N32,N32-BE %s
14 ; RUN: | FileCheck --check-prefixes=ALL,N32,N32-LE %s
41 ; N32-LE-DAG: lui [[R1:\$[0-9]+]], %hi(struct_byte)
42 ; N32-LE-DAG: lb $2, %lo(struct_byte)([[R1]])
44 ; N32-BE-DAG: lui [[R1:\$[0-9]+]], %hi(struct_byte)
45 ; N32-BE-DAG: lb [[R2:\$[0-9]+]], %lo(struct_byte)([[R1]])
46 ; N32-BE-DAG: dsll $2, [[R2]], 56
73 ; N32-LE-DAG: lui [[R1:\$[0-9]+]], %hi(struct_2byte)
74 ; N32-LE-DAG: lhu [[R2:\$[0-9]+]], %lo(struct_2byte)([[R1]])
75 ; N32-LE-DAG: sh [[R2]], 8([[SP:\$sp]])
[all …]
Darguments-varargs.ll12 ; RUN: | FileCheck --check-prefixes=ALL,NEW,N32,NEW-BE %s
14 ; RUN: | FileCheck --check-prefixes=ALL,NEW,N32,NEW-LE %s
29 ; Set up the stack with an 8-byte local area. N32/N64 must also make room for
32 ; N32: addiu [[SP:\$sp]], $sp, -64
52 ; For N32/N64, it is only 8 since the fixed arguments do not reserve stack
57 ; N32-DAG: addiu [[VA:\$[0-9]+]], [[SP]], 8
58 ; N32-DAG: sw [[VA]], 0([[SP]])
70 ; N32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
71 ; N32-DAG: addiu [[VA2:\$[0-9]+]], [[VA]], 8
72 ; N32-DAG: sw [[VA2]], 0([[SP]])
[all …]
Dcallee-saved-float.ll11 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
13 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N32-INV %s
14 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N32-INV %s
24 ; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.
75 ; N32: addiu $sp, $sp, -48
76 ; N32-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp)
77 ; N32-DAG: sdc1 [[F22:\$f22]], [[OFF22:[0-9]+]]($sp)
78 ; N32-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp)
79 ; N32-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp)
[all …]
/external/llvm/test/CodeGen/Mips/cconv/
Dcallee-saved.ll11 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
13 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32-INV %s
14 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32-INV %s
22 ; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.
77 ; N32: addiu $sp, $sp, -96
78 ; N32-INV-NOT: sd $0,
79 ; N32-INV-NOT: sd $1,
80 ; N32-INV-NOT: sd $2,
81 ; N32-INV-NOT: sd $3,
[all …]
Dreturn-struct.ll7 …ux-gnu -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32,N32-BE %s
8 …ux-gnu -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32,N32-LE %s
33 ; N32-LE-DAG: lui [[R1:\$[0-9]+]], %hi(struct_byte)
34 ; N32-LE-DAG: lb $2, %lo(struct_byte)([[R1]])
36 ; N32-BE-DAG: lui [[R1:\$[0-9]+]], %hi(struct_byte)
37 ; N32-BE-DAG: lb [[R2:\$[0-9]+]], %lo(struct_byte)([[R1]])
38 ; N32-BE-DAG: dsll $2, [[R2]], 56
67 ; N32-LE-DAG: lui [[R1:\$[0-9]+]], %hi(struct_2byte)
68 ; N32-LE-DAG: lhu [[R2:\$[0-9]+]], %lo(struct_2byte)([[R1]])
69 ; N32-LE-DAG: sh [[R2]], 8([[SP:\$sp]])
[all …]
Darguments-varargs.ll7 …ux -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,NEW,N32,NEW-BE %s
8 …ux -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,NEW,N32,NEW-LE %s
21 ; Set up the stack with an 8-byte local area. N32/N64 must also make room for
24 ; N32: addiu [[SP:\$sp]], $sp, -64
44 ; For N32/N64, it is only 8 since the fixed arguments do not reserve stack
49 ; N32-DAG: addiu [[VA:\$[0-9]+]], [[SP]], 8
50 ; N32-DAG: sw [[VA]], 0([[SP]])
65 ; N32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])
66 ; N32-DAG: addiu [[VA2:\$[0-9]+]], [[VA]], 8
67 ; N32-DAG: sw [[VA2]], 0([[SP]])
[all …]
Dcallee-saved-float.ll11 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
13 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N32-INV %s
14 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N32-INV %s
24 ; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.
75 ; N32: addiu $sp, $sp, -48
76 ; N32-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp)
77 ; N32-DAG: sdc1 [[F22:\$f22]], [[OFF22:[0-9]+]]($sp)
78 ; N32-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp)
79 ; N32-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp)
[all …]
Dreturn-hard-struct-f128.ll1 …s64-linux-gnu -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
2 …4el-linux-gnu -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
7 ; Test return of {fp128} agrees with de-facto N32/N64 ABI.
22 ; Contrary to the N32/N64 ABI documentation, a struct containing a long double
25 ; N32-DAG: lui [[R1:\$[0-9]+]], %hi(struct_fp128)
26 ; N32-DAG: ld [[R2:\$[0-9]+]], %lo(struct_fp128)([[R1]])
27 ; N32-DAG: dmtc1 [[R2]], $f0
28 ; N32-DAG: addiu [[R3:\$[0-9]+]], [[R1]], %lo(struct_fp128)
29 ; N32-DAG: ld [[R4:\$[0-9]+]], 8([[R3]])
30 ; N32-DAG: dmtc1 [[R4]], $f1
/external/llvm-project/llvm/test/CodeGen/Mips/
Dmips64intldst.ll2 …h=mips64el -mcpu=mips4 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
4 …=mips64el -mcpu=mips64 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
20 ; CHECK-N32: func1
21 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(c)
22 ; CHECK-N32: lb ${{[0-9]+}}, 0($[[R0]])
33 ; CHECK-N32: func2
34 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(s)
35 ; CHECK-N32: lh ${{[0-9]+}}, 0($[[R0]])
46 ; CHECK-N32: func3
47 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(i)
[all …]
DatomicCmpSwapPW.ll5 ; RUN: | FileCheck -check-prefixes=N32 %s
33 ; N32-LABEL: foo:
34 ; N32: # %bb.0: # %entry
35 ; N32-NEXT: move $1, $5
36 ; N32-NEXT: sll $5, $1, 0
37 ; N32-NEXT: move $1, $4
38 ; N32-NEXT: sll $4, $1, 0
39 ; N32-NEXT: lui $1, %hi(sym)
40 ; N32-NEXT: lw $3, %lo(sym)($1)
41 ; N32-NEXT: sync
[all …]
Dmips64fpldst.ll2 …h=mips64el -mcpu=mips4 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
4 …=mips64el -mcpu=mips64 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
16 ; CHECK-N32: funcfl1
17 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(f0)
18 ; CHECK-N32: lwc1 $f{{[0-9]+}}, 0($[[R0]])
28 ; CHECK-N32: funcfl2
29 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(d0)
30 ; CHECK-N32: ldc1 $f{{[0-9]+}}, 0($[[R0]])
40 ; CHECK-N32: funcfs1
41 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(f0)
[all …]
Dgprestore.ll4 …< %s -relocation-model=pic -target-abi n32 -mips-jalr-reloc=false | FileCheck %s --check-prefix=N32
82 ; N32-LABEL: f0:
83 ; N32: # %bb.0: # %entry
84 ; N32-NEXT: addiu $sp, $sp, -32
85 ; N32-NEXT: sd $ra, 24($sp) # 8-byte Folded Spill
86 ; N32-NEXT: sd $gp, 16($sp) # 8-byte Folded Spill
87 ; N32-NEXT: sd $16, 8($sp) # 8-byte Folded Spill
88 ; N32-NEXT: lui $1, %hi(%neg(%gp_rel(f0)))
89 ; N32-NEXT: addu $1, $1, $25
90 ; N32-NEXT: addiu $gp, $1, %lo(%neg(%gp_rel(f0)))
[all …]
Dstart-asm-file.ll20 ; ### N32 ABI ###
23 ; RUN: FileCheck -DNAN=legacy -DABI=N32 -check-prefixes=CHECK,STATIC-N32 %s
27 ; RUN: FileCheck -DNAN=legacy -DABI=N32 -check-prefixes=CHECK,PIC-N32 %s
31 ; RUN: FileCheck -DNAN=2008 -DABI=N32 -check-prefixes=CHECK,STATIC-N32 %s
35 ; RUN: FileCheck -DNAN=2008 -DABI=N32 -check-prefixes=CHECK,PIC-N32 %s
60 ; STATIC-N32: .abicalls
61 ; STATIC-N32: .option pic0
63 ; PIC-N32: .abicalls
64 ; PIC-N32-NOT: .option pic0
/external/llvm/test/CodeGen/Mips/
Dmips64intldst.ll2 …h=mips64el -mcpu=mips4 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
4 …=mips64el -mcpu=mips64 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
20 ; CHECK-N32: func1
21 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(c)
22 ; CHECK-N32: lb ${{[0-9]+}}, 0($[[R0]])
33 ; CHECK-N32: func2
34 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(s)
35 ; CHECK-N32: lh ${{[0-9]+}}, 0($[[R0]])
46 ; CHECK-N32: func3
47 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(i)
[all …]
Dmips64fpldst.ll2 …h=mips64el -mcpu=mips4 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
4 …=mips64el -mcpu=mips64 -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
5 …64r6 -mattr=+micromips -target-abi n32 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N32
18 ; CHECK-N32: funcfl1
19 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(f0)
20 ; CHECK-N32: lwc1 $f{{[0-9]+}}, 0($[[R0]])
30 ; CHECK-N32: funcfl2
31 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(d0)
32 ; CHECK-N32: ldc1 $f{{[0-9]+}}, 0($[[R0]])
42 ; CHECK-N32: funcfs1
[all …]
Dstart-asm-file.ll20 ; ### N32 ABI ###
23 ; RUN: FileCheck -check-prefixes=CHECK-STATIC-N32,CHECK-STATIC-N32-NLEGACY %s
27 ; RUN: FileCheck -check-prefixes=CHECK-PIC-N32,CHECK-PIC-N32-NLEGACY %s
31 ; RUN: FileCheck -check-prefixes=CHECK-STATIC-N32,CHECK-STATIC-N32-N2008 %s
35 ; RUN: FileCheck -check-prefixes=CHECK-PIC-N32,CHECK-PIC-N32-N2008 %s
66 ; CHECK-STATIC-N32: .abicalls
67 ; CHECK-STATIC-N32: .option pic0
68 ; CHECK-STATIC-N32: .section .mdebug.abiN32
69 ; CHECK-STATIC-N32-NLEGACY: .nan legacy
70 ; CHECK-STATIC-N32-N2008: .nan 2008
[all …]
/external/llvm-project/llvm/test/MC/Mips/
Dreloc-directive.s12 # RUN: FileCheck -check-prefix=OBJ-N32 %s
134 # OBJ-N32-LABEL: Name: .text
135 # OBJ-N32: 0000: 00000000 00000000 00000000 00000000
136 # OBJ-N32-NEXT: 0010: 00000000 00000000 00000000 00000000
137 # OBJ-N32-NEXT: 0020: 00000000 00000000 00000000 00000000
138 # OBJ-N32-NEXT: 0030: 00000000 00000000 00000000 00000000
139 # OBJ-N32-NEXT: 0040: 00000000 00000000 00000000 00000000
140 # OBJ-N32-NEXT: 0050: 00000000 00000000 00000000 00000000
141 # OBJ-N32-NEXT: 0060: 00000000 00000000 00000000 00000000
142 # OBJ-N32-NEXT: 0070: 00000000 00000000 00000000 00000000
[all …]
Dmacro-li.d.s1 …-show-encoding -mcpu=mips32 -target-abi=o32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC,O32
3 …pu=mips32 -target-abi=o32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC,O32
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: addiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x24]
17 # N32-N64: addiu $4, $zero, 0 # encoding: [0x00,0x00,0x04,0x24]
25 # O32-N32-NO-PIC: lui $1, %hi([[LABEL]]) # encoding: [A,A,0x01,0x3c]
26 # O32-N32-NO-PIC: # fixup A - offset: 0, value: %hi([[LABEL]]…
[all …]
Dmacro-la-pic.s11 # RUN: -mcpu=mips64r2 | FileCheck -check-prefix=N32 %s
30 # N32: lw $5, %got_disp(symbol)($gp) # encoding: [0x8f,0x85,A,A]
45 # N32: lw $5, %got_disp(symbol)($gp) # encoding: [0x8f,0x85,A,A]
46 # N32: # fixup A - offset: 0, value: %got_disp(symbol), kind: fi…
47 # N32: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
61 # N32: lw $1, %got_disp(symbol)($gp) # encoding: [0x8f,0x81,A,A]
62 # N32: # fixup A - offset: 0, value: %got_disp(symbol), kind: fixu…
63 # N32: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
77 # N32: lw $5, %got_disp(symbol)($gp) # encoding: [0x8f,0x85,A,A]
78 # N32: # fixup A - offset: 0, value: %got_disp(symbol), kind: fixu…
[all …]
Dmacro-li.s.s1 …sel-unknown-linux -show-encoding -target-abi=o32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC
2 …show-encoding -target-abi=o32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC
3 …inux -show-encoding -mcpu=mips64 -target-abi=n32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC
4 … -mcpu=mips64 -target-abi=n32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC
58 # O32-N32-PIC: lw $1, %got([[LABEL]])($gp) # encoding: [A,A,0x81,0x8f]
59 # O32-N32-PIC: # fixup A - offset: 0, value: %got([[LABEL]…
60 # O32-N32-NO-PIC: lui $1, %hi([[LABEL]]) # encoding: [A,A,0x01,0x3c]
61 # O32-N32-NO-PIC: # fixup A - offset: 0, value: %hi([[LABEL]]…
88 # O32-N32-PIC: lw $1, %got([[LABEL]])($gp) # encoding: [A,A,0x81,0x8f]
89 # O32-N32-PIC: # fixup A - offset: 0, value: %got([[LABEL]…
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/indirect-jump-hazard/
Dlong-calls.ll8 ; RUN: -verify-machineinstrs | FileCheck -check-prefix=N32 %s
42 ; N32-LABEL: caller:
43 ; N32: # %bb.0:
44 ; N32-NEXT: addiu $sp, $sp, -16
45 ; N32-NEXT: .cfi_def_cfa_offset 16
46 ; N32-NEXT: sd $ra, 8($sp) # 8-byte Folded Spill
47 ; N32-NEXT: .cfi_offset 31, -8
48 ; N32-NEXT: lui $1, %hi(callee)
49 ; N32-NEXT: addiu $25, $1, %lo(callee)
50 ; N32-NEXT: jalr.hb $25
[all …]
/external/jemalloc_new/test/src/
DSFMT.c429 return N32; in get_min_array_size32()
452 if (ctx->idx >= N32) { in gen_rand32()
494 if (ctx->idx >= N32) { in gen_rand64()
553 assert(ctx->idx == N32); in fill_array32()
555 assert(size >= N32); in fill_array32()
558 ctx->idx = N32; in fill_array32()
589 assert(ctx->idx == N32); in fill_array64()
594 ctx->idx = N32; in fill_array64()
620 for (i = 1; i < N32; i++) { in init_gen_rand()
625 ctx->idx = N32; in init_gen_rand()
[all …]

12345678