/external/swiftshader/third_party/LLVM/test/CodeGen/Mips/ |
D | mips64intldst.ll | 1 ; RUN: llc < %s -march=mips64el -mcpu=mips64r1 -mattr=n64 | FileCheck %s -check-prefix=CHECK-N64 15 ; CHECK-N64: func1 16 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(c) 17 ; CHECK-N64: lb ${{[0-9]+}}, 0($[[R0]]) 28 ; CHECK-N64: func2 29 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(s) 30 ; CHECK-N64: lh ${{[0-9]+}}, 0($[[R0]]) 41 ; CHECK-N64: func3 42 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(i) 43 ; CHECK-N64: lw ${{[0-9]+}}, 0($[[R0]]) [all …]
|
D | mips64fpldst.ll | 1 ; RUN: llc < %s -march=mips64el -mcpu=mips64r1 -mattr=n64 | FileCheck %s -check-prefix=CHECK-N64 11 ; CHECK-N64: funcfl1 12 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 13 ; CHECK-N64: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 23 ; CHECK-N64: funcfl2 24 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(d0) 25 ; CHECK-N64: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 35 ; CHECK-N64: funcfs1 36 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 37 ; CHECK-N64: swc1 $f{{[0-9]+}}, 0($[[R0]]) [all …]
|
/external/llvm/test/CodeGen/Mips/cconv/ |
D | callee-saved.ll | 16 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 17 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 18 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64-INV %s 19 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64-INV %s 123 ; N64: daddiu $sp, $sp, -96 124 ; N64-INV-NOT: sd $0, 125 ; N64-INV-NOT: sd $1, 126 ; N64-INV-NOT: sd $2, 127 ; N64-INV-NOT: sd $3, 128 ; N64-INV-NOT: sd $4, [all …]
|
D | return-struct.ll | 10 …ux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64,N64-BE %s 11 …ux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64,N64-LE %s 40 ; N64-LE-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_byte)($1) 41 ; N64-LE-DAG: lb $2, 0([[R1]]) 43 ; N64-BE-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_byte)($1) 44 ; N64-BE-DAG: lb [[R2:\$[0-9]+]], 0([[R1]]) 45 ; N64-BE-DAG: dsll $2, [[R2]], 56 78 ; N64-LE-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_2byte)($1) 79 ; N64-LE-DAG: lhu [[R2:\$[0-9]+]], 0([[R1]]) 80 ; N64-LE-DAG: sh [[R2]], 8([[SP:\$sp]]) [all …]
|
D | callee-saved-float.ll | 16 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 17 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 18 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N64-INV %s 19 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N64-INV %s 94 ; N64: addiu $sp, $sp, -64 95 ; N64-INV-NOT: sdc1 $f20, 96 ; N64-INV-NOT: sdc1 $f22, 97 ; N64-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp) 98 ; N64-DAG: sdc1 [[F25:\$f25]], [[OFF25:[0-9]+]]($sp) 99 ; N64-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp) [all …]
|
D | arguments-varargs.ll | 10 …64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,NEW,N64,NEW-BE %s 11 …el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,NEW,N64,NEW-LE %s 21 ; Set up the stack with an 8-byte local area. N32/N64 must also make room for 25 ; N64: daddiu [[SP:\$sp]], $sp, -64 44 ; For N32/N64, it is only 8 since the fixed arguments do not reserve stack 52 ; N64-DAG: daddiu [[VA:\$[0-9]+]], [[SP]], 8 53 ; N64-DAG: sd [[VA]], 0([[SP]]) 69 ; N64-DAG: ld [[VA:\$[0-9]+]], 0([[SP]]) 70 ; N64-DAG: addiu [[VA2:\$[0-9]+]], [[VA]], 8 71 ; N64-DAG: sd [[VA2]], 0([[SP]]) [all …]
|
D | return-hard-struct-f128.ll | 4 …s64-linux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 5 …4el-linux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %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 32 ; N64-DAG: ld [[R1:\$[0-9]+]], %got_disp(struct_fp128)($1) 33 ; N64-DAG: ld [[R2:\$[0-9]+]], 0([[R1]]) 34 ; N64-DAG: dmtc1 [[R2]], $f0 35 ; N64-DAG: ld [[R4:\$[0-9]+]], 8([[R1]]) 36 ; N64-DAG: dmtc1 [[R4]], $f1
|
D | return-hard-fp128.ll | 4 …-march=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 5 …arch=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 7 ; Test the fp128 returns for N32/N64 and all byte orders as specified by 27 ; N64-DAG: ld [[R2:\$[0-9]+]], %got_disp(fp128)([[R1:\$[0-9]+]]) 28 ; N64-DAG: ld [[R3:\$[0-9]+]], 0([[R2]]) 29 ; N64-DAG: ld [[R4:\$[0-9]+]], 8([[R2]]) 30 ; N64-DAG: dmtc1 [[R3]], $f0 31 ; N64-DAG: dmtc1 [[R4]], $f2
|
D | return.ll | 10 …s64-linux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 11 …4el-linux-gnu -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 36 ; N64-DAG: ld [[R1:\$[0-9]+]], %got_disp(byte)( 37 ; N64-DAG: lbu $2, 0([[R1]]) 50 ; N64-DAG: ld [[R1:\$[0-9]+]], %got_disp(word)( 51 ; N64-DAG: lw $2, 0([[R1]]) 65 ; N64-DAG: ld [[R1:\$[0-9]+]], %got_disp(dword)([[R1:\$[0-9]+]]) 66 ; N64-DAG: ld $2, 0([[R1]])
|
D | arguments-hard-float-varargs.ll | 10 …elocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWBE %s 11 …elocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWLE %s 16 ; N32/N64 are almost identical in this area so many of their checks have been 48 ; N32/N64 allow it. 70 ; N32/N64 has 8 bytes for the varargs pointer, and no reserved area. 75 ; N64-DAG: daddiu [[VAPTR:\$[0-9]+]], $sp, 8 76 ; N64-DAG: sd [[VAPTR]], 0($sp) 85 ; N64-DAG: daddiu [[VAPTR]], [[VAPTR]], 8 86 ; N64-DAG: sd [[VAPTR]], 0($sp) 112 ; The first four arguments are the same in O32/N32/N64. [all …]
|
D | memory-layout.ll | 10 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 11 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 62 ; N64: .p2align 3 68 ; N64: .8byte byte 69 ; N64: .size pointer, 8 116 ; N64: .p2align 3 124 ; N64: .8byte byte 125 ; N64: .8byte byte 126 ; N64: .size pointer_array, 16
|
D | reserved-space.ll | 10 ; RUN: llc -march=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 11 ; RUN: llc -march=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s 36 ; N64: daddiu $sp, $sp, -16 37 ; N64: sd $ra, 8($sp) 38 ; N64: ld $ra, 8($sp) 39 ; N64: daddiu $sp, $sp, 16
|
/external/llvm/test/CodeGen/Mips/ |
D | mips64intldst.ll | 1 …h=mips64el -mcpu=mips4 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 3 …=mips64el -mcpu=mips64 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 17 ; CHECK-N64: func1 18 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(c) 19 ; CHECK-N64: lb ${{[0-9]+}}, 0($[[R0]]) 30 ; CHECK-N64: func2 31 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(s) 32 ; CHECK-N64: lh ${{[0-9]+}}, 0($[[R0]]) 43 ; CHECK-N64: func3 44 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(i) [all …]
|
D | 2010-07-20-Switch.ll | 6 ; RUN: FileCheck %s -check-prefix=N64 8 ; RUN: FileCheck %s -check-prefix=N64 10 ; RUN: FileCheck %s -check-prefix=N64 12 ; RUN: FileCheck %s -check-prefix=N64 29 ; N64: dsll $[[R0:[0-9]+]], ${{[0-9]+}}, 3 30 ; N64: ld $[[R1:[0-9]+]], %got_page($JTI0_0) 31 ; N64: daddu $[[R2:[0-9]+]], $[[R0:[0-9]+]], $[[R1]] 32 ; N64: ld $[[R4:[0-9]+]], %got_ofst($JTI0_0)($[[R2]]) 33 ; N64: daddu $[[R5:[0-9]+]], $[[R4:[0-9]+]] 34 ; N64: jr $[[R5]] [all …]
|
D | mips64fpldst.ll | 1 …h=mips64el -mcpu=mips4 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 3 …=mips64el -mcpu=mips64 -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 6 …64r6 -mattr=+micromips -target-abi n64 -relocation-model=pic | FileCheck %s -check-prefix=CHECK-N64 15 ; CHECK-N64: funcfl1 16 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(f0) 17 ; CHECK-N64: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 27 ; CHECK-N64: funcfl2 28 ; CHECK-N64: ld $[[R0:[0-9]+]], %got_disp(d0) 29 ; CHECK-N64: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 39 ; CHECK-N64: funcfs1 [all …]
|
D | longbranch.ll | 7 ; RUN: < %s | FileCheck %s -check-prefix=N64 9 ; RUN: < %s | FileCheck %s -check-prefix=N64 11 ; RUN: -relocation-model=pic -asm-show-inst < %s | FileCheck %s -check-prefix=N64-R6 86 ; N64: lui $[[R0:[0-9]+]], %hi(%neg(%gp_rel(test1))) 87 ; N64: bnez $4, $[[BB0:BB[0-9_]+]] 88 ; N64: daddu $[[R1:[0-9]+]], $[[R0]], $25 91 ; N64: daddiu $sp, $sp, -16 92 ; N64-NEXT: sd $ra, 0($sp) 93 ; N64-NEXT: daddiu $1, $zero, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]])) 94 ; N64-NEXT: dsll $1, $1, 16 [all …]
|
D | start-asm-file.ll | 37 ; ### N64 ABI ### 40 ; RUN: FileCheck -check-prefixes=CHECK-STATIC-N64,CHECK-STATIC-N64-NLEGACY %s 44 ; RUN: FileCheck -check-prefixes=CHECK-PIC-N64,CHECK-PIC-N64-NLEGACY %s 48 ; RUN: FileCheck -check-prefixes=CHECK-STATIC-N64,CHECK-STATIC-N64-N2008 %s 52 ; RUN: FileCheck -check-prefixes=CHECK-PIC-N64,CHECK-PIC-N64-N2008 %s 78 ; CHECK-STATIC-N64: .abicalls 79 ; CHECK-STATIC-N64-NOT: .option pic0 80 ; CHECK-STATIC-N64: .section .mdebug.abi64 81 ; CHECK-STATIC-N64-NLEGACY: .nan legacy 82 ; CHECK-STATIC-N64-N2008: .nan 2008 [all …]
|
D | biggot.ll | 3 ; RUN: FileCheck %s -check-prefix=N64 16 ; N64: lui $[[R0:[0-9]+]], %got_hi(v0) 17 ; N64: daddu $[[R1:[0-9]+]], $[[R0]], ${{[a-z0-9]+}} 18 ; N64: ld ${{[0-9]+}}, %got_lo(v0)($[[R1]]) 19 ; N64: lui $[[R2:[0-9]+]], %call_hi(foo0) 20 ; N64: daddu $[[R3:[0-9]+]], $[[R2]], ${{[a-z0-9]+}} 21 ; N64: ld ${{[0-9]+}}, %call_lo(foo0)($[[R3]]) 39 ; N64-LABEL: foo2: 40 ; N64: lui $[[R2:[0-9]+]], %call_hi(memcpy) 41 ; N64: daddu $[[R3:[0-9]+]], $[[R2]], ${{[a-z0-9]+}} [all …]
|
D | tailcall.ll | 6 ; RUN: -verify-machineinstrs < %s | FileCheck %s -check-prefix=N64 26 ; N64-NOT: jalr 39 ; N64-NOT: jalr 52 ; N64-NOT: jalr 65 ; N64: jalr 82 ; N64: .ent caller5 83 ; N64-NOT: jalr 84 ; N64: .end caller5 133 ; N64: .ent caller8_1 134 ; N64-NOT: jalr [all …]
|
D | blockaddr.ll | 5 …64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64 6 …mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64 33 ; PIC-N64: ld $[[R0:[0-9]+]], %got_page($tmp[[T0:[0-9]+]]) 34 ; PIC-N64: daddiu ${{[0-9]+}}, $[[R0]], %got_ofst($tmp[[T0]]) 35 ; PIC-N64: ld $[[R1:[0-9]+]], %got_page($tmp[[T1:[0-9]+]]) 36 ; PIC-N64: daddiu ${{[0-9]+}}, $[[R1]], %got_ofst($tmp[[T1]]) 37 ; STATIC-N64: ld $[[R2:[0-9]+]], %got_page($tmp[[T2:[0-9]+]]) 38 ; STATIC-N64: daddiu ${{[0-9]+}}, $[[R2]], %got_ofst($tmp[[T2]]) 39 ; STATIC-N64: ld $[[R3:[0-9]+]], %got_page($tmp[[T3:[0-9]+]]) 40 ; STATIC-N64: daddiu ${{[0-9]+}}, $[[R3]], %got_ofst($tmp[[T3]])
|
D | global-address.ll | 5 …64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64 6 …mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64 29 ; PIC-N64: ld $[[R0:[0-9]+]], %got_page(s1) 30 ; PIC-N64: lw ${{[0-9]+}}, %got_ofst(s1)($[[R0]]) 31 ; PIC-N64: ld ${{[0-9]+}}, %got_disp(g1) 32 ; STATIC-N64: ld $[[R1:[0-9]+]], %got_page(s1) 33 ; STATIC-N64: lw ${{[0-9]+}}, %got_ofst(s1)($[[R1]]) 34 ; STATIC-N64: ld ${{[0-9]+}}, %got_disp(g1)
|
D | 2009-11-16-CstPoolLoad.ll | 5 …64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64 6 …mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64 18 ; PIC-N64: ld $[[R0:[0-9]+]], %got_page($CPI0_0) 19 ; PIC-N64: lwc1 $f0, %got_ofst($CPI0_0)($[[R0]]) 20 ; STATIC-N64: ld $[[R0:[0-9]+]], %got_page($CPI0_0) 21 ; STATIC-N64: lwc1 $f0, %got_ofst($CPI0_0)($[[R0]])
|
/external/llvm/test/MC/Mips/ |
D | expansion-jal-sym-pic.s | 8 # RUN: FileCheck %s -check-prefixes=ALL,NORMAL,N64 17 # RUN: FileCheck %s -check-prefixes=ALL,MICROMIPS,N64-MICROMIPS 61 # N64: ld $25, %got_disp(local_label)($gp) # encoding: [0xdf,0x99,A,A] 62 # N64: # fixup A - offset: 0, value: %got_disp(local_label),… 72 # N64-MICROMIPS: ld $25, %got_disp(local_label)($gp) # encoding: [0xdf,0x99,A,A] 73 # N64-MICROMIPS: # fixup A - offset: 0, value: %got_disp(l… 87 # N64: ld $25, %call16(weak_label)($gp) # encoding: [0xdf,0x99,A,A] 88 # N64: # fixup A - offset: 0, value: %call16(weak_label), kind:… 96 # N64-MICROMIPS: ld $25, %call16(weak_label)($gp) # encoding: [0xdf,0x99,A,A] 97 # N64-MICROMIPS: # fixup A - offset: 0, value: %call16(weak_lab… [all …]
|
D | cpsetup.s | 16 # RUN: FileCheck -check-prefixes=ALL,NXX,N64 %s 36 # N64-NEXT: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_HI16 __cerror 39 # N64-NEXT: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_LO16 __cerror 40 # N64-NEXT: daddu $gp, $gp, $25 64 # N64-NEXT: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_HI16 __cerror 67 # N64-NEXT: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_LO16 __cerror 68 # N64-NEXT: daddu $gp, $gp, $25
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | call.ll | 10 …h=mips64 -mcpu=mips4 -enable-mips-tail-calls < %s | FileCheck %s -check-prefixes=ALL,N64,NOT-R6C 11 …h=mips64 -mcpu=mips64 -enable-mips-tail-calls < %s | FileCheck %s -check-prefixes=ALL,N64,NOT-R6C 12 …h=mips64 -mcpu=mips64r2 -enable-mips-tail-calls < %s | FileCheck %s -check-prefixes=ALL,N64,NOT-R6C 13 …h=mips64 -mcpu=mips64r3 -enable-mips-tail-calls < %s | FileCheck %s -check-prefixes=ALL,N64,NOT-R6C 14 …h=mips64 -mcpu=mips64r5 -enable-mips-tail-calls < %s | FileCheck %s -check-prefixes=ALL,N64,NOT-R6C 15 … -disable-mips-delay-filler -enable-mips-tail-calls < %s | FileCheck %s -check-prefixes=ALL,N64,R6C 26 ; N64: ld $[[TGT:[0-9]+]], %call16(extern_void_void)($gp) 41 ; N64: ld $[[TGT:[0-9]+]], %call16(extern_i32_void)($gp) 60 ; N64: ld $[[TGT:[0-9]+]], %call16(extern_float_void)($gp) 77 ; N64: ld $[[TGT:[0-9]+]], %call16(extern_void_void)($gp) [all …]
|