Home
last modified time | relevance | path

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

1234

/external/llvm/test/CodeGen/Mips/cconv/
Dcallee-saved.ll11 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
13 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32-INV…
14 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32-I…
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 …tic -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 --check-prefix=N32-BE %s
8 …tic -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 --check-prefix=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 … n32 < %s | FileCheck --check-prefix=ALL --check-prefix=NEW --check-prefix=N32 --check-prefix=NEW-…
8 … n32 < %s | FileCheck --check-prefix=ALL --check-prefix=NEW --check-prefix=N32 --check-prefix=NEW-…
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-prefix=ALL --check-prefix=N32 %s
12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
13 …target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=ALL-INV --check-prefix=N32-INV %s
14 …target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=ALL-INV --check-prefix=N32-INV %s
22 ; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.
73 ; N32: addiu $sp, $sp, -48
74 ; N32-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp)
75 ; N32-DAG: sdc1 [[F22:\$f22]], [[OFF22:[0-9]+]]($sp)
76 ; N32-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp)
77 ; N32-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp)
[all …]
Dreturn-hard-struct-f128.ll1 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
2 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=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
Dreturn-hard-fp128.ll1 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
2 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
7 ; Test the fp128 returns for N32/N64 and all byte orders as specified by
21 ; N32-DAG: ld [[R2:\$[0-9]+]], %lo(fp128)([[R1:\$[0-9]+]])
22 ; N32-DAG: addiu [[R3:\$[0-9]+]], [[R1]], %lo(fp128)
23 ; N32-DAG: ld [[R4:\$[0-9]+]], 8([[R3]])
24 ; N32-DAG: dmtc1 [[R2]], $f0
25 ; N32-DAG: dmtc1 [[R4]], $f2
Dreserved-space.ll7 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
8 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
29 ; Despite pointers being 32-bit wide on N32, the return pointer is saved as a
32 ; N32: addiu $sp, $sp, -16
33 ; N32: sd $ra, 8($sp)
34 ; N32: ld $ra, 8($sp)
35 ; N32: addiu $sp, $sp, 16
Darguments-hard-float-varargs.ll7 …32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=N32 --check-prefix=NEW …
8 …32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=N32 --check-prefix=NEW …
14 ; of the argument list as specified by section 2 of the MIPSpro N32 Handbook.
16 ; N32/N64 are almost identical in this area so many of their checks have been
20 ; the N32 handbook, but agrees with the SYSV ABI and GCC's behaviour.
48 ; N32/N64 allow it.
70 ; N32/N64 has 8 bytes for the varargs pointer, and no reserved area.
73 ; N32-DAG: addiu [[VAPTR:\$[0-9]+]], $sp, 8
74 ; N32-DAG: sw [[VAPTR]], 4($sp)
83 ; N32-DAG: addiu [[VAPTR]], [[VAPTR]], 8
[all …]
Dmemory-layout.ll7 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
8 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
61 ; N32: .align 2
66 ; N32: .4byte byte
67 ; N32: .size pointer, 4
115 ; N32: .align 2
121 ; N32: .4byte byte
122 ; N32: .4byte byte
123 ; N32: .size pointer_array, 8
Dreturn.ll7 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
8 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
34 ; N32-DAG: lui [[R1:\$[0-9]+]], %hi(byte)
35 ; N32-DAG: lbu $2, %lo(byte)([[R1]])
48 ; N32-DAG: lui [[R1:\$[0-9]+]], %hi(word)
49 ; N32-DAG: lw $2, %lo(word)([[R1]])
64 ; N32-DAG: ld $2, %lo(dword)([[R1:\$[0-9]+]])
/external/llvm/test/CodeGen/Mips/
Dmips64intldst.ll2 ; RUN: llc < %s -march=mips64el -mcpu=mips4 -target-abi n32 | FileCheck %s -check-prefix=CHECK-N32
4 ; RUN: llc < %s -march=mips64el -mcpu=mips64 -target-abi n32 | 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 ; RUN: llc < %s -march=mips64el -mcpu=mips4 -target-abi n32 | FileCheck %s -check-prefix=CHECK-N32
4 ; RUN: llc < %s -march=mips64el -mcpu=mips64 -target-abi n32 | 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 …]
Dstart-asm-file.ll20 ; ### N32 ABI ###
23 ; RUN: FileCheck -check-prefix=CHECK-STATIC-N32 -check-prefix=CHECK-STATIC-N32-NLEGACY %s
27 ; RUN: FileCheck -check-prefix=CHECK-PIC-N32 -check-prefix=CHECK-PIC-N32-NLEGACY %s
31 ; RUN: FileCheck -check-prefix=CHECK-STATIC-N32 -check-prefix=CHECK-STATIC-N32-N2008 %s
35 ; RUN: FileCheck -check-prefix=CHECK-PIC-N32 -check-prefix=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 …]
Dglobal-address.ll3 …64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
4 …32 -relocation-model=static -mtriple=mipsel-linux-gnu < %s | FileCheck %s -check-prefix=STATIC-N32
21 ; PIC-N32: lw $[[R0:[0-9]+]], %got_page(s1)
22 ; PIC-N32: lw ${{[0-9]+}}, %got_ofst(s1)($[[R0]])
23 ; PIC-N32: lw ${{[0-9]+}}, %got_disp(g1)
24 ; STATIC-N32: lui $[[R1:[0-9]+]], %hi(s1)
25 ; STATIC-N32: lw ${{[0-9]+}}, %lo(s1)($[[R1]])
26 ; STATIC-N32: lui $[[R2:[0-9]+]], %hi(g1)
27 ; STATIC-N32: lw ${{[0-9]+}}, %lo(g1)($[[R2]])
Dblockaddr.ll3 …64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
4 …mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
25 ; PIC-N32: lw $[[R0:[0-9]+]], %got_page($tmp[[T0:[0-9]+]])
26 ; PIC-N32: addiu ${{[0-9]+}}, $[[R0]], %got_ofst($tmp[[T0]])
27 ; PIC-N32: lw $[[R1:[0-9]+]], %got_page($tmp[[T1:[0-9]+]])
28 ; PIC-N32: addiu ${{[0-9]+}}, $[[R1]], %got_ofst($tmp[[T1]])
29 ; STATIC-N32: lui $[[R2:[0-9]+]], %hi($tmp[[T2:[0-9]+]])
30 ; STATIC-N32: addiu ${{[0-9]+}}, $[[R2]], %lo($tmp[[T2]])
31 ; STATIC-N32: lui $[[R3:[0-9]+]], %hi($tmp[[T3:[0-9]+]])
32 ; STATIC-N32: addiu ${{[0-9]+}}, $[[R3]], %lo($tmp[[T3]])
D2009-11-16-CstPoolLoad.ll3 …64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
4 …mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
14 ; PIC-N32: lw $[[R0:[0-9]+]], %got_page($CPI0_0)
15 ; PIC-N32: lwc1 $f0, %got_ofst($CPI0_0)($[[R0]])
16 ; STATIC-N32: lui $[[R0:[0-9]+]], %hi($CPI0_0)
17 ; STATIC-N32: lwc1 $f0, %lo($CPI0_0)($[[R0]])
Ddynamic-stack-realignment.ll14 ; RUN: --check-prefix=ALL --check-prefix=GP64 -check-prefix=N32
16 ; RUN: --check-prefix=ALL --check-prefix=GP64 -check-prefix=N32
18 ; RUN: --check-prefix=ALL --check-prefix=GP64 -check-prefix=N32
59 ; N32/N64 ABIs
68 ; N32: addiu $sp, $sp, -1024
72 ; N32: sd $gp, 1000($sp)
75 ; N32: addiu $[[T0:[0-9]+|ra]], $zero, -512
80 ; N32: addiu $[[T1:[0-9]+]], $sp, 512
86 ; N32: ld $gp, 1000($sp)
89 ; N32: addiu $sp, $sp, 1024
[all …]
Dehframe-indirect.ll3 …64el-linux-gnu -target-abi=n32 < %s -asm-verbose | FileCheck -check-prefix=ALL -check-prefix=N32 %s
4 …-linux-android -target-abi=n32 < %s -asm-verbose | FileCheck -check-prefix=ALL -check-prefix=N32 %s
40 ; N32: .4byte _ZTISt9exception
46 ; N32: .align 2
50 ; N32: .size DW.ref.__gxx_personality_v0, 4
54 ; N32: .4byte __gxx_personality_v0
/external/jemalloc/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 …]
/external/llvm/test/MC/Mips/
Dexpansion-jal-sym-pic.s5 # RUN: FileCheck %s -check-prefix=ALL -check-prefix=NORMAL -check-prefix=N32
14 # RUN: FileCheck %s -check-prefix=ALL -check-prefix=MICROMIPS -check-prefix=N32-MICROMIPS
58 # N32: lw $25, %got_disp(local_label)($gp) # encoding: [0x8f,0x99,A,A]
59 # N32: # fixup A - offset: 0, value: local_label@GOT_DISP, k…
69 # N32-MICROMIPS: lw $25, %got_disp(local_label)($gp) # encoding: [0xff,0x3c,A,A]
70 # N32-MICROMIPS: # fixup A - offset: 0, value: local_label…
84 # N32: lw $25, %call16(weak_label)($gp) # encoding: [0x8f,0x99,A,A]
85 # N32: # fixup A - offset: 0, value: weak_label@GOT_CALL, kind:…
93 # N32-MICROMIPS: lw $25, %call16(weak_label)($gp) # encoding: [0xff,0x3c,A,A]
94 # N32-MICROMIPS: # fixup A - offset: 0, value: weak_label@GOT_C…
[all …]
Dcpload.s9 # RUN: FileCheck %s -check-prefix=OBJ-N32
28 # OBJ-N32-NOT: .text
29 # OBJ-N32-NOT: lui $gp, 0
30 # OBJ-N32-NOT: addiu $gp, $gp, 0
31 # OBJ-N32-NOT: addu $gp, $gp, $25
Dcpsetup.s10 # RUN: FileCheck -check-prefix=ALL -check-prefix=NXX -check-prefix=N32 %s
34 # FIXME: Direct object emission for N32 is still under development.
35 # N32 doesn't allow 3 operations to be specified in the same relocation
74 # N32-NEXT: addu $gp, $gp, $25
114 # N32-NEXT: addu $gp, $gp, $25
161 # FIXME: Direct object emission for N32 is still under development.
162 # N32 doesn't allow 3 operations to be specified in the same relocation
Dmacro-la-bad.s4 # RUN: FileCheck %s --check-prefix=N32
11 # N32: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate
16 # N32: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate
22 # N32-NOT: :[[@LINE-1]]:3: error: la used to load 64-bit address
/external/llvm/test/CodeGen/Mips/msa/
Dbasic_operations_float.ll3 …ch=mips64 -target-abi=n32 -mattr=+msa,+fp64 < %s | FileCheck -check-prefix=ALL -check-prefix=N32 %s
4 …=mips64el -target-abi=n32 -mattr=+msa,+fp64 < %s | FileCheck -check-prefix=ALL -check-prefix=N32 %s
26 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
37 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
43 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
58 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
64 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
70 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
76 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
82 ; N32: addiu [[G_PTR:\$[0-9]+]], {{.*}}, %got_ofst($
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsABIInfo.h26 enum class ABI { Unknown, O32, N32, N64, EABI }; enumerator
36 static MipsABIInfo N32() { return MipsABIInfo(ABI::N32); } in N32() function
44 bool IsN32() const { return ThisABI == ABI::N32; } in IsN32()

1234