/external/swiftshader/third_party/LLVM/test/CodeGen/Mips/ |
D | mips64intldst.ll | 2 ; RUN: llc < %s -march=mips64el -mcpu=mips64r1 -mattr=n32 | FileCheck %s -check-prefix=CHECK-N32 18 ; CHECK-N32: func1 19 ; CHECK-N32: lw $[[R0:[0-9]+]], %got(c) 20 ; CHECK-N32: lb ${{[0-9]+}}, 0($[[R0]]) 31 ; CHECK-N32: func2 32 ; CHECK-N32: lw $[[R0:[0-9]+]], %got(s) 33 ; CHECK-N32: lh ${{[0-9]+}}, 0($[[R0]]) 44 ; CHECK-N32: func3 45 ; CHECK-N32: lw $[[R0:[0-9]+]], %got(i) 46 ; CHECK-N32: lw ${{[0-9]+}}, 0($[[R0]]) [all …]
|
D | mips64fpldst.ll | 2 ; RUN: llc < %s -march=mips64el -mcpu=mips64r1 -mattr=n32 | FileCheck %s -check-prefix=CHECK-N32 14 ; CHECK-N32: funcfl1 15 ; CHECK-N32: lw $[[R0:[0-9]+]], %got(f0) 16 ; CHECK-N32: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 26 ; CHECK-N32: funcfl2 27 ; CHECK-N32: lw $[[R0:[0-9]+]], %got(d0) 28 ; CHECK-N32: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 38 ; CHECK-N32: funcfs1 39 ; CHECK-N32: lw $[[R0:[0-9]+]], %got(f0) 40 ; CHECK-N32: swc1 $f{{[0-9]+}}, 0($[[R0]]) [all …]
|
/external/llvm/test/CodeGen/Mips/cconv/ |
D | callee-saved.ll | 11 ; 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 …]
|
D | return-struct.ll | 7 …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 …]
|
D | arguments-varargs.ll | 7 …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 …]
|
D | callee-saved-float.ll | 11 ; 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 …]
|
D | return-hard-struct-f128.ll | 1 …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
|
D | return-hard-fp128.ll | 1 …-march=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s 2 …arch=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,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
|
D | arguments-hard-float-varargs.ll | 7 …elocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWBE %s 8 …elocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWLE %s 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 …]
|
D | reserved-space.ll | 7 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s 8 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,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
|
D | memory-layout.ll | 7 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s 8 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s 61 ; N32: .p2align 2 66 ; N32: .4byte byte 67 ; N32: .size pointer, 4 115 ; N32: .p2align 2 121 ; N32: .4byte byte 122 ; N32: .4byte byte 123 ; N32: .size pointer_array, 8
|
D | return.ll | 7 …s64-linux-gnu -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s 8 …4el-linux-gnu -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,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/ |
D | mips64intldst.ll | 2 …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 …]
|
D | mips64fpldst.ll | 2 …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 …]
|
D | start-asm-file.ll | 20 ; ### 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 …]
|
D | global-address.ll | 3 …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]])
|
D | blockaddr.ll | 3 …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]])
|
D | 2009-11-16-CstPoolLoad.ll | 3 …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]])
|
D | dynamic-stack-realignment.ll | 14 ; RUN: --check-prefixes=ALL,GP64,N32 16 ; RUN: --check-prefixes=ALL,GP64,N32 18 ; RUN: --check-prefixes=ALL,GP64,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 …]
|
D | ehframe-indirect.ll | 3 …-gnu -target-abi=n32 < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,N32 %s 4 …roid -target-abi=n32 < %s -asm-verbose -relocation-model=pic | FileCheck -check-prefixes=ALL,N32 %s 40 ; N32: .4byte _ZTISt9exception 46 ; N32: .p2align 2 50 ; N32: .size DW.ref.__gxx_personality_v0, 4 54 ; N32: .4byte __gxx_personality_v0
|
/external/jemalloc/test/src/ |
D | SFMT.c | 429 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/ |
D | expansion-jal-sym-pic.s | 5 # RUN: FileCheck %s -check-prefixes=ALL,NORMAL,N32 14 # RUN: FileCheck %s -check-prefixes=ALL,MICROMIPS,N32-MICROMIPS 58 # N32: lw $25, %got_disp(local_label)($gp) # encoding: [0x8f,0x99,A,A] 59 # N32: # fixup A - offset: 0, value: %got_disp(local_label),… 69 # N32-MICROMIPS: lw $25, %got_disp(local_label)($gp) # encoding: [0xff,0x3c,A,A] 70 # N32-MICROMIPS: # fixup A - offset: 0, value: %got_disp(l… 84 # N32: lw $25, %call16(weak_label)($gp) # encoding: [0x8f,0x99,A,A] 85 # N32: # fixup A - offset: 0, value: %call16(weak_label), kind:… 93 # N32-MICROMIPS: lw $25, %call16(weak_label)($gp) # encoding: [0xff,0x3c,A,A] 94 # N32-MICROMIPS: # fixup A - offset: 0, value: %call16(weak_lab… [all …]
|
D | cpload.s | 7 # RUN: llvm-objdump -d -r - | FileCheck %s -check-prefix=OBJ-N32 25 # OBJ-N32-NOT: .text 26 # OBJ-N32-NOT: lui $gp, 0 27 # OBJ-N32-NOT: addiu $gp, $gp, 0 28 # OBJ-N32-NOT: addu $gp, $gp, $25
|
/external/llvm/test/CodeGen/Mips/msa/ |
D | basic_operations_float.ll | 3 …-target-abi=n32 -mattr=+msa,+fp64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,N32 %s 4 …-target-abi=n32 -mattr=+msa,+fp64 -relocation-model=pic < %s | FileCheck -check-prefixes=ALL,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/ |
D | MipsABIInfo.h | 26 enum class ABI { Unknown, O32, N32, N64 }; enumerator 36 static MipsABIInfo N32() { return MipsABIInfo(ABI::N32); } in N32() function 43 bool IsN32() const { return ThisABI == ABI::N32; } in IsN32()
|