/external/llvm/test/CodeGen/Mips/ |
D | call-optimization.ll | 2 ; RUN: FileCheck %s -check-prefix=O32 4 ; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=O32-LOADTGT 9 ; O32-LABEL: caller3: 10 ; O32-DAG: lw $25, %call16(callee3) 11 ; O32-DAG: move $gp 12 ; O32: jalr $25 13 ; O32-NOT: move $gp 14 ; O32: lw $25, %call16(callee3) 15 ; O32-NOT: move $gp 16 ; O32: jalr $25 [all …]
|
D | 2010-07-20-Switch.ll | 2 ; RUN: FileCheck %s -check-prefix=STATIC-O32 4 ; RUN: FileCheck %s -check-prefix=PIC-O32 19 ; STATIC-O32: sll $[[R0:[0-9]+]], ${{[0-9]+}}, 2 20 ; STATIC-O32: lui $[[R1:[0-9]+]], %hi($JTI0_0) 21 ; STATIC-O32: addu $[[R2:[0-9]+]], $[[R0]], $[[R1]] 22 ; STATIC-O32: lw $[[R3:[0-9]+]], %lo($JTI0_0)($[[R2]]) 23 ; PIC-O32: sll $[[R0:[0-9]+]], ${{[0-9]+}}, 2 24 ; PIC-O32: lw $[[R1:[0-9]+]], %got($JTI0_0) 25 ; PIC-O32: addu $[[R2:[0-9]+]], $[[R0]], $[[R1]] 26 ; PIC-O32: lw $[[R4:[0-9]+]], %lo($JTI0_0)($[[R2]]) [all …]
|
D | biggot.ll | 1 ; RUN: llc -march=mipsel -mxgot < %s | FileCheck %s -check-prefix=O32 9 ; O32: lui $[[R0:[0-9]+]], %got_hi(v0) 10 ; O32: addu $[[R1:[0-9]+]], $[[R0]], ${{[a-z0-9]+}} 11 ; O32: lw ${{[0-9]+}}, %got_lo(v0)($[[R1]]) 12 ; O32: lui $[[R2:[0-9]+]], %call_hi(foo0) 13 ; O32: addu $[[R3:[0-9]+]], $[[R2]], ${{[a-z0-9]+}} 14 ; O32: lw ${{[0-9]+}}, %call_lo(foo0)($[[R3]]) 34 ; O32-LABEL: foo2: 35 ; O32: lui $[[R2:[0-9]+]], %call_hi(memcpy) 36 ; O32: addu $[[R3:[0-9]+]], $[[R2]], ${{[a-z0-9]+}} [all …]
|
D | start-asm-file.ll | 6 ; ### O32 ABI ### 9 ; RUN: FileCheck -check-prefix=CHECK-STATIC-O32 -check-prefix=CHECK-STATIC-O32-NLEGACY %s 13 ; RUN: FileCheck -check-prefix=CHECK-PIC-O32 -check-prefix=CHECK-PIC-O32-NLEGACY %s 17 ; RUN: FileCheck -check-prefix=CHECK-STATIC-O32 -check-prefix=CHECK-STATIC-O32-N2008 %s 21 ; RUN: FileCheck -check-prefix=CHECK-PIC-O32 -check-prefix=CHECK-PIC-O32-N2008 %s 57 ; CHECK-STATIC-O32: .abicalls 58 ; CHECK-STATIC-O32: .option pic0 59 ; CHECK-STATIC-O32: .section .mdebug.abi32 60 ; CHECK-STATIC-O32-NLEGACY: .nan legacy 61 ; CHECK-STATIC-O32-N2008: .nan 2008 [all …]
|
D | longbranch.ll | 3 ; RUN: | FileCheck %s -check-prefix=O32 50 ; O32: lui $[[R0:[0-9]+]], %hi(_gp_disp) 51 ; O32: addiu $[[R0]], $[[R0]], %lo(_gp_disp) 52 ; O32: bnez $4, $[[BB0:BB[0-9_]+]] 53 ; O32: addu $[[GP:[0-9]+]], $[[R0]], $25 56 ; O32: addiu $sp, $sp, -8 57 ; O32-NEXT: sw $ra, 0($sp) 58 ; O32-NEXT: lui $1, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]])) 59 ; O32-NEXT: bal $[[BB1]] 60 ; O32-NEXT: addiu $1, $1, %lo(($[[BB2]])-($[[BB1]])) [all …]
|
D | global-address.ll | 1 ; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32 2 …sel -relocation-model=static -mtriple=mipsel-linux-gnu < %s | FileCheck %s -check-prefix=STATIC-O32 13 ; PIC-O32: lw $[[R0:[0-9]+]], %got(s1) 14 ; PIC-O32: lw ${{[0-9]+}}, %lo(s1)($[[R0]]) 15 ; PIC-O32: lw ${{[0-9]+}}, %got(g1) 16 ; STATIC-O32: lui $[[R1:[0-9]+]], %hi(s1) 17 ; STATIC-O32: lw ${{[0-9]+}}, %lo(s1)($[[R1]]) 18 ; STATIC-O32: lui $[[R2:[0-9]+]], %hi(g1) 19 ; STATIC-O32: lw ${{[0-9]+}}, %lo(g1)($[[R2]])
|
D | blockaddr.ll | 1 ; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32 2 ; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32 17 ; PIC-O32: lw $[[R0:[0-9]+]], %got($tmp[[T0:[0-9]+]]) 18 ; PIC-O32: addiu ${{[0-9]+}}, $[[R0]], %lo($tmp[[T0]]) 19 ; PIC-O32: lw $[[R1:[0-9]+]], %got($tmp[[T1:[0-9]+]]) 20 ; PIC-O32: addiu ${{[0-9]+}}, $[[R1]], %lo($tmp[[T1]]) 21 ; STATIC-O32: lui $[[R2:[0-9]+]], %hi($tmp[[T2:[0-9]+]]) 22 ; STATIC-O32: addiu ${{[0-9]+}}, $[[R2]], %lo($tmp[[T2]]) 23 ; STATIC-O32: lui $[[R3:[0-9]+]], %hi($tmp[[T3:[0-9]+]]) 24 ; STATIC-O32: addiu ${{[0-9]+}}, $[[R3]], %lo($tmp[[T3]])
|
D | 2009-11-16-CstPoolLoad.ll | 1 ; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32 2 ; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32 10 ; PIC-O32: lw $[[R0:[0-9]+]], %got($CPI0_0) 11 ; PIC-O32: lwc1 $f0, %lo($CPI0_0)($[[R0]]) 12 ; STATIC-O32: lui $[[R0:[0-9]+]], %hi($CPI0_0) 13 ; STATIC-O32: lwc1 $f0, %lo($CPI0_0)($[[R0]])
|
/external/llvm/test/CodeGen/Mips/cconv/ |
D | callee-saved-fpxx.ll | 1 ; RUN: llc -march=mips -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-FPX… 2 ; RUN: llc -march=mipsel -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-F… 3 ; RUN: llc -march=mips -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-FPX… 4 ; RUN: llc -march=mipsel -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-F… 6 … llc -march=mips64 -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-FPXX %s 7 …lc -march=mips64el -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-FPXX %s 8 …o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-FPXX-INV --check-prefix=O32-FPXX-… 9 …o32,+fpxx < %s | FileCheck --check-prefix=ALL --check-prefix=O32-FPXX-INV --check-prefix=O32-FPXX-… 17 ; O32-FPXX-LABEL: fpu_clobber: 18 ; O32-FPXX-INV-NOT: sdc1 $f0, [all …]
|
D | callee-saved.ll | 1 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 3 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32-INV %s 4 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32-INV %s 6 …-TODO: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 7 …ODO: llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 8 …O: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32-INV %s 9 … llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32-INV %s 32 ; O32: addiu $sp, $sp, -40 33 ; O32-INV-NOT: sw $0, [all …]
|
D | arguments.ll | 1 …ic < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32B… 2 …ic < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32L… 4 …tic -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 5 …tic -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 58 ; The first four arguments are the same in O32/N32/N64 65 ; O32 starts loading from the stack. The addresses start at 16 because space is 67 ; O32-DAG: lw [[R3:\$[0-9]+]], 16($sp) 68 ; O32-DAG: sb [[R3]], 5([[R1]]) 70 ; O32-DAG: lw [[R3:\$[0-9]+]], 20($sp) 71 ; O32-DAG: sb [[R3]], 6([[R1]]) [all …]
|
D | callee-saved-fpxx1.ll | 1 ; RUN: llc -march=mips -mattr=+o32,+fp64 < %s | FileCheck --check-prefix=O32-FP64-INV %s 2 ; RUN: llc -march=mipsel -mattr=+o32,+fp64 < %s | FileCheck --check-prefix=O32-FP64-INV %s 4 ; RUN: llc -march=mips -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=O32-FPXX %s 5 ; RUN: llc -march=mipsel -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=O32-FPXX %s 7 ; RUN-TODO: llc -march=mips64 -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=O32-FPXX %s 8 ; RUN-TODO: llc -march=mips64el -mattr=+o32,+fpxx < %s | FileCheck --check-prefix=O32-FPXX %s 16 ; O32-FPXX-LABEL: fpu_clobber: 18 ; O32-FPXX: addiu $sp, $sp, -8 20 ; O32-FP64-INV-NOT: sdc1 $f20, 21 ; O32-FPXX-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp) [all …]
|
D | arguments-float.ll | 1 …at < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32B… 2 …at < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32L… 4 …oat -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 5 …oat -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 54 ; The first four arguments are the same in O32/N32/N64. 57 ; O32-DAG: sw $4, 8([[R2]]) 58 ; O32-DAG: sw $5, 12([[R2]]) 61 ; O32-DAG: sw $6, 16([[R2]]) 62 ; O32-DAG: sw $7, 20([[R2]]) 65 ; O32 has run out of argument registers and starts using the stack [all …]
|
D | arguments-hard-float.ll | 1 …ic < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32B… 2 …ic < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32L… 4 …tic -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 5 …tic -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 55 ; The first argument is the same for O32/N32/N64 but the second argument differs 58 ; O32-DAG: sdc1 $f14, 16([[R2]]) 61 ; O32 has run out of argument registers and starts using the stack 62 ; O32-DAG: ldc1 [[F1:\$f[0-9]+]], 16($sp) 63 ; O32-DAG: sdc1 [[F1]], 24([[R2]]) 65 ; O32-DAG: ldc1 [[F1:\$f[0-9]+]], 24($sp) [all …]
|
D | callee-saved-float.ll | 1 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 3 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32-INV %s 4 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32-INV %s 6 …-TODO: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 7 …ODO: llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 8 …attr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=ALL-INV --check-prefix=O32-INV %s 9 …attr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=ALL-INV --check-prefix=O32-INV %s 54 ; O32: addiu $sp, $sp, -48 55 ; O32-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp) [all …]
|
D | arguments-hard-float-varargs.ll | 1 …ic < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32B… 2 …ic < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 --check-prefix=O32L… 4 …tic -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 5 …tic -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --check-prefix=O32 %s 19 ; On O32, varargs prevents all FPU argument register usage. This contradicts 46 ; O32 forbids using floating point registers for the non-variable portion. 52 ; O32-DAG: sdc1 [[FTMP1]], 8([[R2]]) 56 ; O32-DAG: sw $6, 16($sp) 57 ; O32-DAG: sw $7, 20($sp) 67 ; O32 has 4 bytes padding, 4 bytes for the varargs pointer, and 8 bytes reserved [all …]
|
D | return.ll | 1 …e=mips-linux-gnu -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 …mipsel-linux-gnu -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 4 …-relocation-model=static -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 5 …-relocation-model=static -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 32 ; O32-DAG: lui [[R1:\$[0-9]+]], %hi(byte) 33 ; O32-DAG: lbu $2, %lo(byte)([[R1]]) 46 ; O32-DAG: lui [[R1:\$[0-9]+]], %hi(word) 47 ; O32-DAG: lw $2, %lo(word)([[R1]]) 60 ; On O32, we must use v0 and v1 for the return value 61 ; O32-DAG: lw $2, %lo(dword)([[R1:\$[0-9]+]]) [all …]
|
D | reserved-space.ll | 1 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 4 …-TODO: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 5 …ODO: llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 13 ; Test that O32 correctly reserved space for the four arguments, even when 25 ; O32: addiu $sp, $sp, -24 26 ; O32: sw $ra, 20($sp) 27 ; O32: lw $ra, 20($sp) 28 ; O32: addiu $sp, $sp, 24
|
D | return-float.ll | 1 …-gnu -soft-float -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 …-gnu -soft-float -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 4 …-relocation-model=static -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 5 …-relocation-model=static -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 29 ; O32-DAG: lui [[R1:\$[0-9]+]], %hi(float) 30 ; O32-DAG: lw $2, %lo(float)([[R1]]) 43 ; O32-DAG: lw $2, %lo(double)([[R1:\$[0-9]+]]) 44 ; O32-DAG: addiu [[R2:\$[0-9]+]], [[R1]], %lo(double) 45 ; O32-DAG: lw $3, 4([[R2]])
|
D | stack-alignment.ll | 1 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 4 …-TODO: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 5 …ODO: llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 23 ; O32: addiu $sp, $sp, -8 24 ; O32: addiu $sp, $sp, 8
|
D | memory-layout.ll | 1 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 4 …-TODO: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 5 …ODO: llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 60 ; O32: .align 2 64 ; O32: .4byte byte 65 ; O32: .size pointer, 4 114 ; O32: .align 2 118 ; O32: .4byte byte 119 ; O32: .4byte byte [all …]
|
D | return-hard-float.ll | 1 …e=mips-linux-gnu -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 2 …mipsel-linux-gnu -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 4 …-relocation-model=static -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 5 …-relocation-model=static -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s 29 ; O32-DAG: lui [[R1:\$[0-9]+]], %hi(float) 30 ; O32-DAG: lwc1 $f0, %lo(float)([[R1]]) 43 ; O32-DAG: ldc1 $f0, %lo(double)([[R1:\$[0-9]+]])
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | call.ll | 4 …ps -mcpu=mips32 -enable-mips-tail-calls < %s | FileCheck %s -check-prefix=ALL -check-prefix=O32 5 …ps -mcpu=mips32r2 -enable-mips-tail-calls < %s | FileCheck %s -check-prefix=ALL -check-prefix=O32 6 …ps -mcpu=mips32r6 -enable-mips-tail-calls < %s | FileCheck %s -check-prefix=ALL -check-prefix=O32 19 ; O32: lw $[[TGT:[0-9]+]], %call16(extern_void_void)($gp) 32 ; O32: lw $[[TGT:[0-9]+]], %call16(extern_i32_void)($gp) 48 ; O32: addu $[[GP:[0-9]+]], ${{[0-9]+}}, $25 49 ; O32: lw $[[TGT:[0-9]+]], %call16(extern_float_void)($[[GP]]) 55 ; O32: move $gp, $[[GP]] 65 ; O32: lw $[[TGT:[0-9]+]], %call16(extern_void_void)($gp) 79 ; O32: lw $[[TGT:[0-9]+]], %call16(extern_i32_void)($gp) [all …]
|
/external/llvm/test/MC/Mips/ |
D | elf_eflags.s | 64 …ps64r2 -mattr=-n64,o32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-O32 %s 65 # MIPS64EL-MIPS64R2-O32: Flags [ (0x80001100) 67 …4,o32,+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-O32-NAN2008 %s 68 # MIPS64EL-MIPS64R2-O32-NAN2008: Flags [ (0x80001500) 100 …u=mips64 %s -mattr=-n64,o32 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-O32 %s 101 # MIPS64EL-MIPS64-O32: Flags [ (0x60001100) 103 …r=-n64,o32,+nan2008 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-O32-NAN2008 %s 104 # MIPS64EL-MIPS64-O32-NAN2008: Flags [ (0x60001500)
|
D | oddspreg.s | 6 # RUN: FileCheck %s -check-prefix=CHECK-OBJ-ALL -check-prefix=CHECK-OBJ-O32 42 # CHECK-OBJ-O32: 0000: 00002001 01020006 00000000 00000000 |.. .............| 43 # CHECK-OBJ-O32: 0010: 00000001 00000000 |........|
|