Searched refs:N32 (Results 1 – 25 of 88) sorted by relevance
1234
11 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s13 ; 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, -9678 ; N32-INV-NOT: sd $0,79 ; N32-INV-NOT: sd $1,80 ; N32-INV-NOT: sd $2,81 ; N32-INV-NOT: sd $3,[all …]
7 …tic -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 --check-prefix=N32-BE %s8 …tic -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 --check-prefix=N32-LE %s33 ; 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]], 5667 ; 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 …]
7 … 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 for24 ; N32: addiu [[SP:\$sp]], $sp, -6444 ; For N32/N64, it is only 8 since the fixed arguments do not reserve stack49 ; N32-DAG: addiu [[VA:\$[0-9]+]], [[SP]], 850 ; N32-DAG: sw [[VA]], 0([[SP]])65 ; N32-DAG: lw [[VA:\$[0-9]+]], 0([[SP]])66 ; N32-DAG: addiu [[VA2:\$[0-9]+]], [[VA]], 867 ; N32-DAG: sw [[VA2]], 0([[SP]])[all …]
11 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s12 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s13 …target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=ALL-INV --check-prefix=N32-INV %s14 …target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=ALL-INV --check-prefix=N32-INV %s22 ; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.73 ; N32: addiu $sp, $sp, -4874 ; 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 …]
1 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s2 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s7 ; Test return of {fp128} agrees with de-facto N32/N64 ABI.22 ; Contrary to the N32/N64 ABI documentation, a struct containing a long double25 ; 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]], $f028 ; 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
1 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s2 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s7 ; Test the fp128 returns for N32/N64 and all byte orders as specified by21 ; 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]], $f025 ; N32-DAG: dmtc1 [[R4]], $f2
7 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s8 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s29 ; Despite pointers being 32-bit wide on N32, the return pointer is saved as a32 ; N32: addiu $sp, $sp, -1633 ; N32: sd $ra, 8($sp)34 ; N32: ld $ra, 8($sp)35 ; N32: addiu $sp, $sp, 16
7 …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 been20 ; 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, 874 ; N32-DAG: sw [[VAPTR]], 4($sp)83 ; N32-DAG: addiu [[VAPTR]], [[VAPTR]], 8[all …]
7 ; RUN: llc -march=mips64 -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s8 ; RUN: llc -march=mips64el -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s61 ; N32: .align 266 ; N32: .4byte byte67 ; N32: .size pointer, 4115 ; N32: .align 2121 ; N32: .4byte byte122 ; N32: .4byte byte123 ; N32: .size pointer_array, 8
7 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s8 … -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s34 ; 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]+]])
2 ; RUN: llc < %s -march=mips64el -mcpu=mips4 -target-abi n32 | FileCheck %s -check-prefix=CHECK-N324 ; RUN: llc < %s -march=mips64el -mcpu=mips64 -target-abi n32 | FileCheck %s -check-prefix=CHECK-N3220 ; CHECK-N32: func121 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(c)22 ; CHECK-N32: lb ${{[0-9]+}}, 0($[[R0]])33 ; CHECK-N32: func234 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(s)35 ; CHECK-N32: lh ${{[0-9]+}}, 0($[[R0]])46 ; CHECK-N32: func347 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(i)[all …]
2 ; RUN: llc < %s -march=mips64el -mcpu=mips4 -target-abi n32 | FileCheck %s -check-prefix=CHECK-N324 ; RUN: llc < %s -march=mips64el -mcpu=mips64 -target-abi n32 | FileCheck %s -check-prefix=CHECK-N3216 ; CHECK-N32: funcfl117 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(f0)18 ; CHECK-N32: lwc1 $f{{[0-9]+}}, 0($[[R0]]) 28 ; CHECK-N32: funcfl229 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(d0)30 ; CHECK-N32: ldc1 $f{{[0-9]+}}, 0($[[R0]]) 40 ; CHECK-N32: funcfs141 ; CHECK-N32: lw $[[R0:[0-9]+]], %got_disp(f0)[all …]
20 ; ### N32 ABI ###23 ; RUN: FileCheck -check-prefix=CHECK-STATIC-N32 -check-prefix=CHECK-STATIC-N32-NLEGACY %s27 ; RUN: FileCheck -check-prefix=CHECK-PIC-N32 -check-prefix=CHECK-PIC-N32-NLEGACY %s31 ; RUN: FileCheck -check-prefix=CHECK-STATIC-N32 -check-prefix=CHECK-STATIC-N32-N2008 %s35 ; RUN: FileCheck -check-prefix=CHECK-PIC-N32 -check-prefix=CHECK-PIC-N32-N2008 %s66 ; CHECK-STATIC-N32: .abicalls67 ; CHECK-STATIC-N32: .option pic068 ; CHECK-STATIC-N32: .section .mdebug.abiN3269 ; CHECK-STATIC-N32-NLEGACY: .nan legacy70 ; CHECK-STATIC-N32-N2008: .nan 2008[all …]
3 …64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N324 …32 -relocation-model=static -mtriple=mipsel-linux-gnu < %s | FileCheck %s -check-prefix=STATIC-N3221 ; 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]])
3 …64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N324 …mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N3225 ; 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]])
3 …64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N324 …mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N3214 ; 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]])
14 ; RUN: --check-prefix=ALL --check-prefix=GP64 -check-prefix=N3216 ; RUN: --check-prefix=ALL --check-prefix=GP64 -check-prefix=N3218 ; RUN: --check-prefix=ALL --check-prefix=GP64 -check-prefix=N3259 ; N32/N64 ABIs68 ; N32: addiu $sp, $sp, -102472 ; N32: sd $gp, 1000($sp)75 ; N32: addiu $[[T0:[0-9]+|ra]], $zero, -51280 ; N32: addiu $[[T1:[0-9]+]], $sp, 51286 ; N32: ld $gp, 1000($sp)89 ; N32: addiu $sp, $sp, 1024[all …]
3 …64el-linux-gnu -target-abi=n32 < %s -asm-verbose | FileCheck -check-prefix=ALL -check-prefix=N32 %s4 …-linux-android -target-abi=n32 < %s -asm-verbose | FileCheck -check-prefix=ALL -check-prefix=N32 %s40 ; N32: .4byte _ZTISt9exception46 ; N32: .align 250 ; N32: .size DW.ref.__gxx_personality_v0, 454 ; N32: .4byte __gxx_personality_v0
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 …]
5 # RUN: FileCheck %s -check-prefix=ALL -check-prefix=NORMAL -check-prefix=N3214 # RUN: FileCheck %s -check-prefix=ALL -check-prefix=MICROMIPS -check-prefix=N32-MICROMIPS58 # 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 …]
9 # RUN: FileCheck %s -check-prefix=OBJ-N3228 # OBJ-N32-NOT: .text29 # OBJ-N32-NOT: lui $gp, 030 # OBJ-N32-NOT: addiu $gp, $gp, 031 # OBJ-N32-NOT: addu $gp, $gp, $25
10 # RUN: FileCheck -check-prefix=ALL -check-prefix=NXX -check-prefix=N32 %s34 # FIXME: Direct object emission for N32 is still under development.35 # N32 doesn't allow 3 operations to be specified in the same relocation74 # N32-NEXT: addu $gp, $gp, $25114 # N32-NEXT: addu $gp, $gp, $25161 # FIXME: Direct object emission for N32 is still under development.162 # N32 doesn't allow 3 operations to be specified in the same relocation
4 # RUN: FileCheck %s --check-prefix=N3211 # N32: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate16 # N32: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate22 # N32-NOT: :[[@LINE-1]]:3: error: la used to load 64-bit address
3 …ch=mips64 -target-abi=n32 -mattr=+msa,+fp64 < %s | FileCheck -check-prefix=ALL -check-prefix=N32 %s4 …=mips64el -target-abi=n32 -mattr=+msa,+fp64 < %s | FileCheck -check-prefix=ALL -check-prefix=N32 %s26 ; 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 …]
26 enum class ABI { Unknown, O32, N32, N64, EABI }; enumerator36 static MipsABIInfo N32() { return MipsABIInfo(ABI::N32); } in N32() function44 bool IsN32() const { return ThisABI == ABI::N32; } in IsN32()