repo_id string | size int64 | file_path string | content string |
|---|---|---|---|
tactcomplabs/xbgas-binutils-gdb | 2,391 | gas/testsuite/gas/bfin/stack2.s |
.EXTERN MY_LABEL2;
.section .text;
//
//5 STACK CONTROL
//
//[ -- SP ] = allreg ; /* predecrement SP (a) */
[--SP ] = R0;
[--SP ] = R6;
[--SP ] = P0;
[--SP ] = P4;
[--SP ] = I0;
[--SP ] = I1;
[--SP ] = M0;
[--SP ] = M1;
[--SP ] = L0;
[--SP ] = L1;
[--SP ] = B0;
[--SP ] = B1;
[--SP ] = A0.X;
[--SP... |
tactcomplabs/xbgas-binutils-gdb | 3,836 | gas/testsuite/gas/bfin/parallel3.s | .section .text;
r4.h = r4.l = Sign (R1.h) * R5.h + Sign(r1.L) * R5.L|| [p0] = P0;
R7 = Vit_Max (R5, r2) (ASL)|| [p0++] = P0;
r0 = VIT_MAX (r0, r6) (asr)|| [p0--] = P0;
r5.l = vit_max (R3) (asL)|| [p0+4] = P0;
r2.L = VIT_Max (r2) (Asr)|| [p0+8] = P0;
R5 = ABS R5 (V)|| [p0+60] = P0;
r2 = abs r0 (v)|| [p0+56] = ... |
tactcomplabs/xbgas-binutils-gdb | 21,012 | gas/testsuite/gas/bfin/vector2.s |
.EXTERN MY_LABEL2;
.section .text;
//
//14 VECTOR OPERATIONS
//
//Dreg_hi = Dreg_lo = SIGN ( Dreg_hi ) * Dreg_hi + SIGN ( Dreg_lo ) * Dreg_lo ; /* (b) */
r7.h=r7.l=sign(r2.h)*r3.h+sign(r2.l)*r3.l ;
r0.h=r0.l=sign(r1.h)*r2.h+sign(r1.l)*r2.l ;
r3.h=r3.l=sign(r4.h)*r5.h+sign(r4.l)*r5.l ;
r6.h=r6.l=sign(r7.h)*r0.h+sign... |
tactcomplabs/xbgas-binutils-gdb | 2,513 | gas/testsuite/gas/bfin/expected_errors.s | .text
p0.H = 0x12345678;
P0.l = 0x12345678;
CC = R3 < 4;
CC = R3 < 7;
CC = R3 < 8;
CC = R3 <= 4;
CC = R3 <= 7;
CC = R3 <= 8;
A1 -= M2.h * R3.L, A0 -= M2.l * R3.L;
R1.H = (A1=R7.L*R5.L) , A0 += R1.L*R0.L (IS);
a0 += R2.L * R3.L (IU);
a0 += R2.L * R3.L (T);
a0 += R2.L * R3.L (TFU);
a0 += R2.L * R3.L (... |
tactcomplabs/xbgas-binutils-gdb | 7,136 | gas/testsuite/gas/bfin/video2.s |
.EXTERN MY_LABEL2;
.section .text;
//
//13 VIDEO PIXEL OPERATIONS
//
//Dreg = ALIGN8 ( Dreg, Dreg ) ; /* overlay 1 byte (b) */
R0 = ALIGN8(R0, R0);
R0 = ALIGN8(R0, R1);
R0 = ALIGN8(R1, R0);
R0 = ALIGN8(R1, R1);
R0 = ALIGN8(R1, R2);
R3 = ALIGN8(R4, R5);
R6 = ALIGN8(R7, R0);
R1 = ALIGN8(R2, R3);
R4 = ALIGN8(R5, R6);
R... |
tactcomplabs/xbgas-binutils-gdb | 1,599 | gas/testsuite/gas/bfin/flow.s | .data
foodata: .word 42
.text
footext:
.text
.global jump
jump:
jump(P5);
Jump (pc + p3);
jUMp (0);
JumP.l (-16777216);
jumP.L (0x00fffffe);
JUMP.s (4094);
JUMP.L (0X00FF0000);
jump (footext);
.text
.global ccjump
ccjump:
if cc jump (-1024);
IF CC JUMP (1022) (BP);
if !cc jump (0xffffFc00) (Bp);
if ... |
tactcomplabs/xbgas-binutils-gdb | 6,412 | gas/testsuite/gas/bfin/parallel.s | .section .text;
R5 = Deposit (r3, r2) || I0 += 2;
r0 = DEPOSIT (r7, R6) (X) || I1 += 4;
r4 = extract (r2, r1.L) (z) || I2 -= M0;
R2 = EXTRACT (r0, r2.l) (Z) || i3 += m1;
r7 = ExtracT (r3, r4.L) (X) || I3 += M1 (breV);
r5 = ExtRACt (R6, R1.L) (x) || i0 -= 2;
BITMUX(R1, R0, A0) (ASR) || I1 -= 4;
Bitmux (r2, R3... |
tactcomplabs/xbgas-binutils-gdb | 1,591 | gas/testsuite/gas/bfin/cache2.s |
.EXTERN MY_LABEL2;
.section .text;
//
//12 CACHE CONTROL
//
//PREFETCH [ Preg ] ; /* indexed (a) */
PREFETCH [ P0 ] ;
PREFETCH [ P1 ] ;
PREFETCH [ P2 ] ;
PREFETCH [ P3 ] ;
PREFETCH [ P4 ] ;
PREFETCH [ P5 ] ;
PREFETCH [ SP ] ;
PREFETCH [ FP ] ;
//PREFETCH [ Preg ++ ] ; /* indexed, post increment (a) */
PREFETCH [ P0... |
tactcomplabs/xbgas-binutils-gdb | 5,219 | gas/testsuite/gas/fr30/allinsn.s | .data
foodata: .word 42
.text
footext:
.global add
add:
add r0, r1
add #0, r2
.global add2
add2:
add2 #-1, r3
.global addc
addc:
addc r4, r5
.global addn
addn:
addn r6, r7
addn #15, r8
.global addn2
addn2:
addn2 #-16, r9
.global sub
sub:
sub r10, r11
.global subc
subc:
subc r12, r13
.global subn
sub... |
tactcomplabs/xbgas-binutils-gdb | 1,260 | gas/testsuite/gas/nds32/to-16bit-v1.s | foo:
move $r0, $r0
move $sp, $sp
movi $r0, -16
movi $sp, 15
add $r0, $r0, $r0
add $r19, $sp, $r19
sub $r0, $r0, $r0
sub $r19, $r19, $sp
addi $r0, $r0, 0
addi $r19, $r19, 31
srai $r0, $r0, 0
srai $r19, $r19, 31
srli $r0, $r0, 0
srli $r19, $r19, 31
slli $r0, $r0, 0
slli $r7, $r7, 7
zeb $r0, $r0
zeb $r7,... |
tactcomplabs/xbgas-binutils-gdb | 2,066 | gas/testsuite/gas/nds32/sys-reg.s | foo:
mfsr $r0 ,$CPU_VER
mfsr $r0 ,$CORE_ID
mfsr $r0 ,$ICM_CFG
mfsr $r0 ,$DCM_CFG
mfsr $r0 ,$MMU_CFG
mfsr $r0 ,$MSC_CFG
mfsr $r0 ,$PSW
mfsr $r0 ,$IPSW
mfsr $r0 ,$P_IPSW
mfsr $r0 ,$IVB
mfsr $r0 ,$INT_CTRL
mfsr $r0 ,$EVA
mfsr $r0 ,$P_EVA
mfsr $r0 ,$ITYPE
mfsr $r0 ,$P_ITYPE
mfsr $r0 ,$MERR
mfsr $r0 ,$IPC
... |
tactcomplabs/xbgas-binutils-gdb | 6,161 | gas/testsuite/gas/epiphany/regression.s | ;; -*-asm-*-
TABLE=0x8000
RZ=r63
.macro FAIL
mov r0,#1
trap 3
.endm
.macro PASS
mov r0,#0
trap 3
.endm
.macro VERIFY ra,rb,ref,label
sub \ra,\rb,\ref
beq \label
FAIL
.endm
/*****************************************/
/*INITIALIZING REGISTERS */
/*************************************... |
tactcomplabs/xbgas-binutils-gdb | 1,537 | gas/testsuite/gas/epiphany/sample.s | .data
foodata: .hword 42
.text
footext:
.text
.macro test nm:req, args:vararg
\nm: \nm \args
.global \nm
.endm
;;; Basic Instruction Tests
1: ; All branches
test beq,1b
test bne,1b
test bgtu,1b
test bgteu,1b
test blteu,1b
test bltu,1b
test bgt,1b
test bgte,1b
test blt,1b
... |
tactcomplabs/xbgas-binutils-gdb | 21,202 | gas/testsuite/gas/epiphany/allinsn.s | .data
foodata: .hword 42
.text
footext:
.text
.global beq16
.text
.global beq
bgt16:
bgt 4
bgt 4
bgt -4
bgt footext
bgt foodata
bgt 4
bgt footext
bgt footext
.text
.global bgt
bgtu16:
bgtu 4
bgtu -4
bgtu footext
bgtu 4
bgtu -4
bgtu footext
bgtu footext
bgtu 4
.text
.global bgtu
bgte16:
bgt... |
tactcomplabs/xbgas-binutils-gdb | 3,752 | gas/testsuite/gas/mips/mips64-dsp.s | # source file to test assembly of MIPS DSP ASE for MIPS64 instructions
.set noreorder
.set nomacro
.set noat
.text
text_label:
absq_s.pw $0,$1
absq_s.qh $30,$31
addq.pw $5,$6,$7
addq_s.pw $6,$7,$8
addq.qh $2,$3,$4
addq_s.qh $3,$4,$5
addu.ob $9,$10,$11
addu_s.ob $10,$11,$12
bposge64 text_label
nop
c... |
tactcomplabs/xbgas-binutils-gdb | 4,857 | gas/testsuite/gas/mips/vr4130.s | .macro check2 insn
mflo $2
\insn $3,$3
.endm
.macro check3 insn
mfhi $2
\insn $0,$3,$3
.endm
.macro main func
.ent \func
.type \func,@function
\func:
# PART A
#
# Check that mfhis and mflos in .set noreorder blocks are considered.
.set noreorder
mfhi $2
.set reorder
mult $3,$3
.set noreorder
m... |
tactcomplabs/xbgas-binutils-gdb | 1,323 | gas/testsuite/gas/mips/unaligned-jump-mips16-1.s | .text
.set noreorder
.space 0x1000
.align 4
.set mips16
.ent foo
foo:
not $2, $2
jalx bar0
not $2, $2
jal bar0
not $2, $2
jalx bar1
not $2, $2
jal bar1
not $2, $2
jalx bar2
not $2, $2
jal bar2
not $2, $2
jalx bar3
not $2, $2
jal bar3
not $2, $2
jalx bar4
not $2, $2
jal bar4
not $2,... |
tactcomplabs/xbgas-binutils-gdb | 6,603 | gas/testsuite/gas/mips/r6.s | .text
.set reorder
new: maddf.s $f0,$f1,$f2
maddf.d $f3,$f4,$f5
msubf.s $f6,$f7,$f8
msubf.d $f9,$f10,$f11
cmp.af.s $f0,$f1,$f2
cmp.af.d $f0,$f1,$f2
cmp.un.s $f0,$f1,$f2
cmp.un.d $f0,$f1,$f2
cmp.eq.s $f0,$f1,$f2
cmp.eq.d $f0,$f1,$f2
cmp.ueq.s $f0,$f1,$f2
cmp.ueq.d $f0,$f1,$f2
cmp.lt.s $f0,$f1,$f2
cmp.lt.d... |
tactcomplabs/xbgas-binutils-gdb | 1,121 | gas/testsuite/gas/mips/loongson-3a-2.s | .text
.set noreorder
gsle $11,$12
gsgt $13,$14
gslble $2,$3,$4
gslbgt $5,$6,$7
gslhle $8,$9,$10
gslhgt $11,$12,$13
gslwle $14,$15,$16
gslwgt $17,$18,$19
gsldle $20,$21,$22
gsldgt $23,$24,$25
gssble $2,$3,$4
gssbgt $5,$6,$7
gsshle $8,$9,$10
gsshgt $11,$12,$13
gsswle $14,$15,$16
gsswgt ... |
tactcomplabs/xbgas-binutils-gdb | 1,268 | gas/testsuite/gas/mips/pcrel-reloc-4.s | .text
.ifdef reverse
.ent baz
baz:
jalr $0, $ra
.end baz
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 16, 0
.space 16
.ent bar
bar:
jalr $0, $ra
.end bar
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
.endif
.align 4, 0... |
tactcomplabs/xbgas-binutils-gdb | 1,854 | gas/testsuite/gas/mips/uld.s | # Source file used to test the uld macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
uld $4,0
uld $4,1
uld $4,0x8000
uld $4,-0x8000
... |
tactcomplabs/xbgas-binutils-gdb | 1,966 | gas/testsuite/gas/mips/loongson-2f-mmi.s | .text
.set noreorder
simd_insns:
packsshb $f0, $f1, $f2
packsswh $f3, $f4, $f5
packushb $f6, $f7, $f8
paddb $f9, $f10, $f11
paddh $f12, $f13, $f14
paddw $f15, $f16, $f17
paddd $f18, $f19, $f20
paddsb $f21, $f22, $f23
paddsh $f24, $f25, $f26
paddusb $f27, $f28, $f29
paddush $f0, $f1, $f2
pandn $f... |
tactcomplabs/xbgas-binutils-gdb | 1,029 | gas/testsuite/gas/mips/mips32-cp2.s | # source file to test assembly of mips32 cop2 instructions
.set noreorder
.set noat
.text
text_label:
# unprivileged coprocessor instructions.
# these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes.
.ifndef r6
bc2f text_label
nop
bc2fl text_label
... |
tactcomplabs/xbgas-binutils-gdb | 43,124 | gas/testsuite/gas/mips/mips16-intermix.s | .text
.align 2
.globl m32_l
.set nomips16
.ent m32_l
m32_l:
.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
.mask 0x00000000,0
.fmask 0x00000000,0
.set noreorder
.set nomacro
j $31
move $2,$4
.set macro
.set reorder
.end m32_l
.align 2
.globl m16_l
.set mips16
.ent m16_l
m16_l:
.frame $sp... |
tactcomplabs/xbgas-binutils-gdb | 1,092 | gas/testsuite/gas/mips/mips16-reg-error.s | .text
.ent foo
.set mips16
foo:
ld $4, $3($2)
ld $4, $3($pc)
ld $4, $3($sp)
lw $4, $3($2)
lw $4, $3($pc)
lw $4, $3($sp)
lwu $4, $3($2)
lh $4, $3($2)
lhu $4, $3($2)
lb $4, $3($2)
lbu $4, $3($2)
sd $4, $3($2)
sd $4, $3($sp)
sd $ra, $3($sp)
sw $4, $3($2)
sw $4, $3($sp)
sw $ra, $3($sp)
sh $4, $3($2)
... |
tactcomplabs/xbgas-binutils-gdb | 3,125 | gas/testsuite/gas/mips/ase-errors-1.s | .set nomicromips
.set mips32r2
.set fp=64
.set dsp # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: 64-bit only
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set fp=32 # OK
.set mips32 # ERROR: too low
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: 64-bit only
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.... |
tactcomplabs/xbgas-binutils-gdb | 1,749 | gas/testsuite/gas/mips/relax-swap1.s | # Source file used to test branch relaxation with swapping.
.text
foo:
move $2, $4
b foo
move $2, $4
b bar
lw $2, ($4)
b foo
lw $2, ($4)
b bar
sw $2, ($4)
b foo
sw $2, ($4)
b bar
move $2, $4
beq $2, $3, foo
move $2, $4
beq $2, $3, bar
move $2, $4
beq $4, $5, foo
move $2, $4
beq $4, $5, bar
a... |
tactcomplabs/xbgas-binutils-gdb | 3,310 | gas/testsuite/gas/mips/c0.s | .text
foo:
c0 0x00
c0 0x01
c0 0x02
c0 0x03
c0 0x04
c0 0x05
c0 0x06
c0 0x07
c0 0x08
c0 0x09
c0 0x0a
c0 0x0b
c0 0x0c
c0 0x0d
c0 0x0e
c0 0x0f
c0 0x10
c0 0x11
c0 0x12
c0 0x13
c0 0x14
c0 0x15
c0 0x16
c0 0x17
c0 0x18
c0 0x19
c0 0x1a
c0 0x1b
c0 0x1c
c0 0x1d
c0 0x1e
c0 0x1f
c0 0x20
c0 0x21
c... |
tactcomplabs/xbgas-binutils-gdb | 1,217 | gas/testsuite/gas/mips/octeon-ill.s | .text
.set noreorder
foo:
bbit032 $23,51,foo
nop
bbit0 $23,71,foo
nop
bbit132 $23,49,foo
nop
bbit1 $23,74,foo
nop
cins $2,0,37
cins32 $19,$31,39,12
cins32 $17,$20,7,25
cins $24,$10,64,8
cins $21... |
tactcomplabs/xbgas-binutils-gdb | 1,922 | gas/testsuite/gas/mips/unaligned-branch-r6-3.s | .text
.set noreorder
.space 0x1000
.align 4
.set mips32r6
.ent foo
foo:
nor $0, $0
bc bar0
nor $0, $0
beqzc $2, bar0
nor $0, $0
beqz $2, bar0
nor $0, $0
bc bar1
nor $0, $0
beqzc $2, bar1
nor $0, $0
beqz $2, bar1
nor $0, $0
bc bar2
nor $0, $0
beqzc $2, bar2
nor $0, $0
beqz $2, bar2
nor $0... |
tactcomplabs/xbgas-binutils-gdb | 3,795 | gas/testsuite/gas/mips/mips64-mips3d.s | # source file to test assembly of mips64 MIPS-3D ASE instructions
.set noreorder
.set noat
.text
text_label:
addr.ps $f4, $f8, $f19
bc1any2f $fcc0, text_label
nop
bc1any2f $fcc2, text_label
nop
bc1any2t $fcc0, text_label
nop
bc1any2t $fcc4, text_label
nop
bc1any4f $fcc0, text_label
nop
bc1any4f $f... |
tactcomplabs/xbgas-binutils-gdb | 1,192 | gas/testsuite/gas/mips/cp0m.s | .text
.set noreorder
foo:
lwc0 $0, 0($0)
lwc0 $1, 0($0)
lwc0 $2, 0($0)
lwc0 $3, 0($0)
lwc0 $4, 0($0)
lwc0 $5, 0($0)
lwc0 $6, 0($0)
lwc0 $7, 0($0)
lwc0 $8, 0($0)
lwc0 $9, 0($0)
lwc0 $10, 0($0)
lwc0 $11, 0($0)
lwc0 $12, 0($0)
lwc0 $13, 0($0)
lwc0 $14, 0($0)
lwc0 $15, 0($0)
lwc0 $16, 0($0)
lwc0 $17, 0(... |
tactcomplabs/xbgas-binutils-gdb | 9,323 | gas/testsuite/gas/mips/set-arch.s | .text
.set noreorder
.set noat
.set arch=4010
flushi
flushd
flushid
madd $4,$5
maddu $5,$6
ffc $6,$7
ffs $7,$8
msub $8,$9
msubu $9,$10
selsl $10,$11,$12
selsr $11,$12,$13
waiti
wb 16($14)
addciu $14,$15,16
.set arch=4100
hibernate
standby
suspend
.set arch=4650
mad $4,$5
madu $5,$6
mul ... |
tactcomplabs/xbgas-binutils-gdb | 2,392 | gas/testsuite/gas/mips/octeon.s | .text
.set noreorder
foo:
baddu $17,$18,$19
baddu $2,$3
bbit0 $19,22,foo
nop
bbit032 $30,11,foo
nop
bbit0 $8,42,foo
nop
bbit1 $3,31,foo
nop
bbit132 $24,10,foo
nop
bbit1 $14,46,foo
nop
... |
tactcomplabs/xbgas-binutils-gdb | 3,310 | gas/testsuite/gas/mips/c2.s | .text
foo:
c2 0x00
c2 0x01
c2 0x02
c2 0x03
c2 0x04
c2 0x05
c2 0x06
c2 0x07
c2 0x08
c2 0x09
c2 0x0a
c2 0x0b
c2 0x0c
c2 0x0d
c2 0x0e
c2 0x0f
c2 0x10
c2 0x11
c2 0x12
c2 0x13
c2 0x14
c2 0x15
c2 0x16
c2 0x17
c2 0x18
c2 0x19
c2 0x1a
c2 0x1b
c2 0x1c
c2 0x1d
c2 0x1e
c2 0x1f
c2 0x20
c2 0x21
c... |
tactcomplabs/xbgas-binutils-gdb | 1,688 | gas/testsuite/gas/mips/ase-errors-4.s | .set micromips
.set mips64r2
.set dsp # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: micromips doesn't have 64-bit DSPr1
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips3 # OK (we assume r2 anyway)
.set nodsp
lbux $4,$5($6) # ERROR: dsp not enabled
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set... |
tactcomplabs/xbgas-binutils-gdb | 1,351 | gas/testsuite/gas/mips/unaligned-jump-mips16-2.s | .text
.set noreorder
.space 0x1000
.align 4
.set mips16
.ent foo
foo:
not $2, $2
jalx bar0
not $2, $2
jal bar0
not $2, $2
jalx bar1
not $2, $2
jal bar1
not $2, $2
jalx bar2
not $2, $2
jal bar2
not $2, $2
jalx bar3
not $2, $2
jal bar3
not $2, $2
jalx bar4
not $2, $2
jal bar4
not $2,... |
tactcomplabs/xbgas-binutils-gdb | 1,039 | gas/testsuite/gas/mips/24k-triple-stores-4.s | # Range check for safe case after alignment its range >= 32.
foo:
sb $s3,10($t0)
sh $s3,1($t0)
sb $s3,32($t0)
break
sb $s3,10($t0)
sb $s3,1($t0)
sh $s3,32($t0)
break
sb $s3,33($t0)
sh $s3,55($t0)
sb $s3,64($t0)
break
sb $s3,33($t0)
sb $s3... |
tactcomplabs/xbgas-binutils-gdb | 1,294 | gas/testsuite/gas/mips/mips32r2-ill.s | # source file to test illegal mips32r2 instructions
.set noreorder
.set noat
.text
text_label:
# insert and extract position/size checks:
# ext constraint: 0 <= pos < 32
ext $4, $5, -1, 1 # error
ext $4, $5, 0, 1
ext $4, $5, 31, 1
ext $4, $5, 32, 1 # error
# ext constraint: 0 < si... |
tactcomplabs/xbgas-binutils-gdb | 3,319 | gas/testsuite/gas/mips/ldstla-sym32.s | dla $4,0xa800000000000000
dla $4,0xa800000000000000($3)
dla $4,0xffffffff80000000
dla $4,0xffffffff80000000($3)
dla $4,0x000000007fff7ff8
dla $4,0x000000007fff7ff8($3)
dla $4,0x000000007ffffff8
dla $4,0x000000007ffffff8($3)
dla $4,0x123456789abcdef0
dla $4,0x123456789abcdef0($3)
dla $4,small_comm
dla $4,sm... |
tactcomplabs/xbgas-binutils-gdb | 92,111 | gas/testsuite/gas/mips/micromips.s | .text
.align 3
.set micromips
.ifdef compact
.macro DSNOP
.endm
.else
.macro DSNOP
nop
.endm
.endif
.ent test
.globl test
test:
pref 0, 0
pref 0, 2047
pref 0, -2048
pref 0, 2048
pref 0, -2049
pref 0, ($0)
pref 0, 0($0)
pref 1, 0($0)
pref 2, 0($0)
pref 3, 0($0)
pref 4, 0($0)
pref 5, 0($0)
pre... |
tactcomplabs/xbgas-binutils-gdb | 1,192 | gas/testsuite/gas/mips/cp3d.s | .text
.set noreorder
foo:
ldc3 $0, 0($0)
ldc3 $1, 0($0)
ldc3 $2, 0($0)
ldc3 $3, 0($0)
ldc3 $4, 0($0)
ldc3 $5, 0($0)
ldc3 $6, 0($0)
ldc3 $7, 0($0)
ldc3 $8, 0($0)
ldc3 $9, 0($0)
ldc3 $10, 0($0)
ldc3 $11, 0($0)
ldc3 $12, 0($0)
ldc3 $13, 0($0)
ldc3 $14, 0($0)
ldc3 $15, 0($0)
ldc3 $16, 0($0)
ldc3 $17, 0(... |
tactcomplabs/xbgas-binutils-gdb | 2,507 | gas/testsuite/gas/mips/micromips-branch-delay.s | # Source file used to test microMIPS branch delay slots.
.text
foo:
.set noreorder
bltzal $2, .
li $2, -1
bltzal $2, .
li $2, 0x7fff
bltzal $2, .
li $2, 0xffff
bltzal $2, .
li $2, 0x10000
bltzals $2, .
li $2, -1
bltzals $2, .
li $2, 0x7fff
bltzals $2, .
li $2, 0xffff
bltzals $2, .
li $2, 0x10... |
tactcomplabs/xbgas-binutils-gdb | 4,686 | gas/testsuite/gas/mips/mips64r2-ill.s | # source file to test illegal mips64r2 instructions
.set noreorder
.set noat
.text
text_label:
# dext macro position/size checks
# constraint: 0 <= pos < 64
dext $4, $5, -1, 1 # error (position)
dext $4, $5, 0, 1
dext $4, $5, 63, 1
dext $4, $5, 64, 1 # error (position)
# constrain... |
tactcomplabs/xbgas-binutils-gdb | 2,124 | gas/testsuite/gas/mips/vr5400.s | .text
stuff:
.ent stuff
/* Integer instructions. */
mul $4,$5,$6
mulu $4,$5,$6
mulhi $4,$5,$6
mulhiu $4,$5,$6
muls $4,$5,$6
mulsu $4,$5,$6
mulshi $4,$5,$6
mulshiu $4,$5,$6
macc $4,$5,$6
maccu $4,$5,$6
macchi $4,$5,$6
macchiu $4,$5,$6
msac $4,$5,$6
msacu $4,$5,$6
msachi $4,$5,$6
msachiu $4,$5,$6
... |
tactcomplabs/xbgas-binutils-gdb | 2,865 | gas/testsuite/gas/mips/micromips-branch-relax.s | .text
.set micromips
.set noreorder
test:
b32 test
addu $3, $4, $5
beqz32 $3, test
addu $3, $4, $5
bnez32 $3, test
addu $3, $4, $5
b test
addu $3, $4, $5
bc test
addu $3, $4, $5
bal test
addu $3, $4, $5
.ifndef insn32
bals test
addu $3, $4, $5
.endif
beqz $3, test
addu $3, $4, $5
bnez $3, test
ad... |
tactcomplabs/xbgas-binutils-gdb | 1,436 | gas/testsuite/gas/mips/lineno.s | .text
# some data
.word 0xdeadbeef
.word 0xdeadbeef
.word 0xdeadbeef
.word 0xdeadbeef
# some real code, compiled from a toy C program
.globl main
.ent main
main:
.frame $fp,24,$31 # vars= 16, regs= 2/0, args= 0, extra= 0
.mask 0xc0000000,-8
.fmask 0x00... |
tactcomplabs/xbgas-binutils-gdb | 2,685 | gas/testsuite/gas/mips/mips-gp32-fp32.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
func:
.set noreorder
li $4, 0x12345678 # 0000 lui a0,0x1234
# 0004 ori a0,a0,0x5678
la $4, shared # 0008 addiu a0,gp,shared
la $4, unshared # 000c lui a0,hi(unshared)
# 0010 addiu a0,a0,lo(unshared)
la $4, end # 0014 l... |
tactcomplabs/xbgas-binutils-gdb | 1,849 | gas/testsuite/gas/mips/ush.s | # Source file used to test the ush macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
ush $4,0
ush $4,1
ush $4,0x8000
ush $4,-0x8000
... |
tactcomplabs/xbgas-binutils-gdb | 2,750 | gas/testsuite/gas/mips/r5900.s | .text
stuff:
.ent stuff
.set push
.set noreorder
.set noat
add $0, $0, $31
add $1, $10, $3
add $31, $31, $0
addi $31, $0, 0
addi $1, $10, 3
addi $0, $31, -1
addiu $31, $0, 0
addiu $1, $10, 3
addiu $31, $0, 0xFFFF
and $0, $0, $31
and $1, $10, $3
and $31, $31, $0
andi $31, $0, 0
andi $1, $10, 3
... |
tactcomplabs/xbgas-binutils-gdb | 2,679 | gas/testsuite/gas/mips/mips-abi32.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
func:
.set noreorder
li $4, 0x12345678 # 0000 lui a0,0x1234
# 0004 ori a0,a0,0x5678
la $4, shared # 0008 addiu a0,gp,shared
la $4, unshared # 000c lui a0,hi(unshared)
# 0010 addiu a0,a0,lo(unshared)
la $4, end # 0014 l... |
tactcomplabs/xbgas-binutils-gdb | 4,014 | gas/testsuite/gas/mips/cp0sel-names.s | # source file to test objdump's disassembly using various styles of
# CP0 (w/ non-zero select code) register names.
.set noreorder
.set noat
.globl text_label .text
text_label:
mtc0 $0, $0, 1
mtc0 $0, $0, 2
mtc0 $0, $0, 3
mtc0 $0, $0, 4
mtc0 $0, $0, 5
mtc0 $0, $0, 6
mtc0 $0, $0, 7
mtc0 $0, $1, 1
mtc0 $0,... |
tactcomplabs/xbgas-binutils-gdb | 1,821 | gas/testsuite/gas/mips/mips64r2.s | # source file to test assembly of mips64r2 instructions
# (assumes that mips32r2 instructions will be tested separately for mips64r2.)
.set noreorder
.set noat
.text
text_label:
# unprivileged CPU instructions
# Test macro's ability to turn "dext" into "dext", "dextm" and
# "dextu" as appropriate.... |
tactcomplabs/xbgas-binutils-gdb | 3,528 | gas/testsuite/gas/mips/la.s | # Source file used to test the la macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
la $4,0
la $4,1
la $4,0x8000
la $4,-0x8000
la $... |
tactcomplabs/xbgas-binutils-gdb | 1,192 | gas/testsuite/gas/mips/cp3m.s | .text
.set noreorder
foo:
lwc3 $0, 0($0)
lwc3 $1, 0($0)
lwc3 $2, 0($0)
lwc3 $3, 0($0)
lwc3 $4, 0($0)
lwc3 $5, 0($0)
lwc3 $6, 0($0)
lwc3 $7, 0($0)
lwc3 $8, 0($0)
lwc3 $9, 0($0)
lwc3 $10, 0($0)
lwc3 $11, 0($0)
lwc3 $12, 0($0)
lwc3 $13, 0($0)
lwc3 $14, 0($0)
lwc3 $15, 0($0)
lwc3 $16, 0($0)
lwc3 $17, 0(... |
tactcomplabs/xbgas-binutils-gdb | 1,234 | gas/testsuite/gas/mips/r5900-vu0.s | .text
.set noreorder
.set noat
.ent text_label
.global text_label
text_label:
# Floating point transfer to VU
lqc2 $0,0($0)
lqc2 $1, 0x7fff($1)
lqc2 $8, -0x8000($8)
lqc2 $31, -1($31)
.set at
lqc2 $0, 0x8000($2)
lqc2 $8, -0x8001($31)
lqc2 $31, 0xF1234567($4)
.set noat
# Floating point transfer from VU... |
tactcomplabs/xbgas-binutils-gdb | 1,232 | gas/testsuite/gas/mips/mips16-relax-unextended-1.s | .module mips3
.set mips16
.set autoextend
foo:
# Operand code:
sll.t $2, $3, 17 # <
sll.t $2, $3, bar
dsll.t $4, $5, 17 # [
dsll.t $4, $5, bar
dsrl.t $6, 17 # ]
dsrl.t $6, bar
lb.t $4, 0x1234($5) # 5
lb.t $4, bar($5)
lb.t $4, %hi(baz)($5)
slti.t $6, 0x5678 # 8
slti.t $6, bar
l... |
tactcomplabs/xbgas-binutils-gdb | 20,563 | gas/testsuite/gas/mips/r5900-error-vu0.s | .set noreorder
.set noat
.globl text_label .text
text_label:
# All instructions have at least one error in suffix or in register
# usage. All errors should be detected by the assembler.
vabs.w $vf0w, $vf0z
vabs.w $vf0z, $vf31w
vabs.xw $vf0xw, $vf0w
vabs.xw $vf0x, $vf31xw
vabs.xyzw $vf0xyz, $vf0xyzw
vadd... |
tactcomplabs/xbgas-binutils-gdb | 3,676 | gas/testsuite/gas/mips/mips-abi32-pic.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
.ent func
func:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0000 lui gp,hi(_gp_disp)
# 0004 addiu gp,gp,lo(_gp_disp)
# 0008 addu gp,gp,t9
.set reorder
.cprestore 8 # 000c sw gp,8(sp)
.cpadd $4 # 0010 addu a0,a0,g... |
tactcomplabs/xbgas-binutils-gdb | 1,037 | gas/testsuite/gas/mips/mips32r2.s | # source file to test assembly of mips32r2 *non-fp* instructions
.set noreorder
.set noat
.text
text_label:
# unprivileged CPU instructions
ehb
ext $4, $5, 6, 8
ins $4, $5, 6, 8
jalr.hb $8
jalr.hb $20, $9
jr.hb $8
# Note, further testing of rdhwr is done in hwr-names-mips32r2.d
rdhwr $1... |
tactcomplabs/xbgas-binutils-gdb | 4,367 | gas/testsuite/gas/mips/mips-gp64-fp64-pic.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
.ent func
func:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0000 lui gp,hi(_gp_disp)
# 0004 addiu gp,gp,lo(_gp_disp)
# 0008 addu gp,gp,t9
.set reorder
.cprestore 8 # 000c sw gp,8(sp)
.cpadd $4 # 0010 addu a0,a0,g... |
tactcomplabs/xbgas-binutils-gdb | 6,017 | gas/testsuite/gas/mips/r5900-full-vu0.s | .set noreorder
.set noat
.globl text_label .text
text_label:
# VU Macromode instruction set
vabs.xyzw $vf0xyzw,$vf31xyzw
vadd.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vaddi.xyzw $vf10xyzw,$vf31xyzw,$I
vaddq.xyzw $vf10xyzw,$vf31xyzw,$Q
vaddw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vaddx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vaddy... |
tactcomplabs/xbgas-binutils-gdb | 1,338 | gas/testsuite/gas/mips/r6-64.s | .text
dmul $2,$3,$4
dmuh $2,$3,$4
ddiv $2,$3,$4
dmulu $2,$3,$4
dmuhu $2,$3,$4
dmod $2,$3,$4
ddivu $2,$3,$4
dmodu $2,$3,$4
dlsa $2,$3,$4,1
dlsa $2,$3,$4,4
dclz $2,$3
dclo $2,$3
lld $2,-256($3)
lld $2,255($3)
scd $2,-256($3)
scd $2,255($3)
dalign $4, $2, $3, 0
dalign $4, $2, $3, 1... |
tactcomplabs/xbgas-binutils-gdb | 1,146 | gas/testsuite/gas/mips/mips16-relax-unextended-2.s | .module mips3
.set mips16
.set noautoextend
foo:
# Operand code:
sll $2, $3, 17 # <
sll $2, $3, bar
dsll $4, $5, 17 # [
dsll $4, $5, bar
dsrl $6, 17 # ]
dsrl $6, bar
lb $4, 0x1234($5) # 5
lb $4, bar($5)
lb $4, %hi(baz)($5)
slti $6, 0x5678 # 8
slti $6, bar
la $2, . + 0x1234 #... |
tactcomplabs/xbgas-binutils-gdb | 1,127 | gas/testsuite/gas/mips/cp1-names.s | # source file to test objdump's disassembly using various styles of
# CP1 register names.
.set noreorder
.set noat
.globl text_label .text
text_label:
ctc1 $0, $0
ctc1 $0, $1
ctc1 $0, $2
ctc1 $0, $3
ctc1 $0, $4
ctc1 $0, $5
ctc1 $0, $6
ctc1 $0, $7
ctc1 $0, $8
ctc1 $0, $9
ctc1 $0, $10
ctc1 $0, $11
ctc1... |
tactcomplabs/xbgas-binutils-gdb | 1,278 | gas/testsuite/gas/mips/mips32r2-ill-fp64.s | # source file to test illegal mips32r2 instructions
.set noreorder
.set noat
.text
text_label:
# insert and extract position/size checks:
# ext constraint: 0 <= pos < 32
ext $4, $5, -1, 1 # error
ext $4, $5, 0, 1
ext $4, $5, 31, 1
ext $4, $5, 32, 1 # error
# ext constraint: 0 < si... |
tactcomplabs/xbgas-binutils-gdb | 3,241 | gas/testsuite/gas/mips/mips16e2.s | .set mips16
.macro mem9pos op, ri, base
\op \ri,0(\base)
\op \ri,1(\base)
\op \ri,2(\base)
\op \ri,3(\base)
\op \ri,4(\base)
\op \ri,8(\base)
\op \ri,16(\base)
\op \ri,32(\base)
\op \ri,64(\base)
\op \ri,128(\base)
\op \ri,255(\base)
.endm
.macro mem9neg op, ri, base
\op \ri,-1(\base)
\op \ri,-2(\bas... |
tactcomplabs/xbgas-binutils-gdb | 1,607 | gas/testsuite/gas/mips/mips5-fp.s | # Source file used to test -mips5 instructions.
text_label:
abs.ps $f0, $f2
add.ps $f2, $f4, $f6
alnv.ps $f6, $f8, $f10, $3
c.eq.ps $f8, $f10
c.eq.ps $fcc2, $f10, $f12
c.f.ps $f8, $f10
c.f.ps $fcc2, $f10, $f12
c.le.ps $f8, $f10
c.le.ps $fcc2, $f10, $f12
c.lt.ps $f8, $f10
c.lt.ps $fcc2, $... |
tactcomplabs/xbgas-binutils-gdb | 1,957 | gas/testsuite/gas/mips/mips16-hilo-match.s | .align 2
.globl _pinit
.LFB84:
.set nomips16
.ent _pinit
_pinit:
lw $3,8($23)
li $5,1
lui $2,%hi(__var1)
ori $3,$3,0x1
lui $4,%hi(var4)
sw $3,8($23)
addiu $4,$4,%lo(var4)
lui $3,%hi(var5)
sw $5,%lo(__var1)($2)
lui $19,%hi(hilo_match)
.LVL100:
lui $2,%hi(__var3)
sw $5,%lo(var5)($3)
.set noreorder
.set... |
tactcomplabs/xbgas-binutils-gdb | 1,734 | gas/testsuite/gas/mips/ase-errors-3.s | .set micromips
.set mips32r2
.set dsp # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: micromips doesn't have 64-bit DSPr1
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips1 # OK (we assume r2 anyway)
.set nodsp
lbux $4,$5($6) # ERROR: dsp not enabled
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set... |
tactcomplabs/xbgas-binutils-gdb | 1,176 | gas/testsuite/gas/mips/cp2d.s | .text
foo:
ldc2 $0, 0($0)
ldc2 $1, 0($0)
ldc2 $2, 0($0)
ldc2 $3, 0($0)
ldc2 $4, 0($0)
ldc2 $5, 0($0)
ldc2 $6, 0($0)
ldc2 $7, 0($0)
ldc2 $8, 0($0)
ldc2 $9, 0($0)
ldc2 $10, 0($0)
ldc2 $11, 0($0)
ldc2 $12, 0($0)
ldc2 $13, 0($0)
ldc2 $14, 0($0)
ldc2 $15, 0($0)
ldc2 $16, 0($0)
ldc2 $17, 0($0)
ldc2 $18, 0... |
tactcomplabs/xbgas-binutils-gdb | 1,854 | gas/testsuite/gas/mips/usw.s | # Source file used to test the usw macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
usw $4,0
usw $4,1
usw $4,0x8000
usw $4,-0x8000
... |
tactcomplabs/xbgas-binutils-gdb | 2,130 | gas/testsuite/gas/mips/unaligned-jump-micromips-1.s | .text
.set noreorder
.space 0x1000
.align 4
.set micromips
.ent foo
foo:
not $2, $3
jalx bar0
not $2, $3
jal bar0
not $2, $3
jals bar0
not $2, $3
j bar0
not $2, $3
jalx bar1
not $2, $3
jal bar1
not $2, $3
jals bar1
not $2, $3
j bar1
not $2, $3
jalx bar2
not $2, $3
jal bar2
not $2, ... |
tactcomplabs/xbgas-binutils-gdb | 1,355 | gas/testsuite/gas/mips/unaligned-branch-mips16-1.s | .text
.set noreorder
.space 0x1000
.align 4
.set mips16
.ent foo
foo:
not $2, $3
b bar0
not $2, $3
b bar1
not $2, $3
b bar2
not $2, $3
b bar3
not $2, $3
b bar4
not $2, $3
b bar4 + 1
not $2, $3
b bar4 + 2
not $2, $3
b bar4 + 3
not $2, $3
b bar4 + 4
not $2, $3
b bar16
not $2, $3
b b... |
tactcomplabs/xbgas-binutils-gdb | 1,084 | gas/testsuite/gas/mips/mips16-macro-e.s | .set mips16
.ent foo
foo:
div.e $2,$3,$4
divu.e $3,$4,$5
ddiv.e $4,$5,$6
ddivu.e $5,$6,$7
rem.e $6,$7,$16
remu.e $6,$7,$17
drem.e $2,$3,$4
dremu.e $3,$4,$5
mul.e $4,$5,$6
dmul.e $5,$6,$7
subu.e $2,-32767
subu.e $3,16
subu.e $4,32768
subu.e $3,$7,-16383
subu.e $4,$16,4
subu.e $5,$17,16384
dsubu.e $4,-... |
tactcomplabs/xbgas-binutils-gdb | 2,620 | gas/testsuite/gas/mips/mips-gp32-fp64.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
func:
.set noreorder
li $4, 0x12345678 # 0000 lui a0,0x1234
# 0004 ori a0,a0,0x5678
la $4, shared # 0008 addiu a0,gp,shared
la $4, unshared # 000c lui a0,hi(unshared)
# 0010 addiu a0,a0,lo(unshared)
la $4, end # 0014 l... |
tactcomplabs/xbgas-binutils-gdb | 1,779 | gas/testsuite/gas/mips/ldstla-32-mips3-1.s | .set mips3
.text
ld $2, 0xfffffffeffffffff($4)
ld $2, 0xfffffffe00000000($4)
ld $2, 0xabcdef0123456789($4)
ld $2, 0x0123456789abcdef($4)
ld $2, 0x00000001ffffffff($4)
ld $2, 0x0000000100000000($4)
ld $2, 0xfffffffeffffffff
ld $2, 0xfffffffe00000000
ld $2, 0xabcdef0123456789
ld $2, 0x0123456789abcdef
ld $2... |
tactcomplabs/xbgas-binutils-gdb | 1,887 | gas/testsuite/gas/mips/unaligned-branch-r6-2.s | .text
.set noreorder
.space 0x1000
.align 4
.set mips0
.ent foo
foo:
nor $0, $0
bc bar0
nor $0, $0
beqzc $2, bar0
nor $0, $0
beqz $2, bar0
nor $0, $0
bc bar1
nor $0, $0
beqzc $2, bar1
nor $0, $0
beqz $2, bar1
nor $0, $0
bc bar2
nor $0, $0
beqzc $2, bar2
nor $0, $0
beqz $2, bar2
nor $0, $... |
tactcomplabs/xbgas-binutils-gdb | 3,676 | gas/testsuite/gas/mips/r6-removed.s | .set reorder
.set eva
abs.ps $f0,$f2
add.ps $f0,$f2,$f2
addi $15,$16,256
alnv.ps $f0,$f2,$f2,$3
bc0f 1f
bc0fl 1f
bc0t 1f
bc0tl 1f
bc1f 1f
bc1fl 1f
bc1t 1f
bc1tl 1f
bc2f 1f
bc2fl 1f
bc2t 1f
bc2tl 1f
bc3f 1f
bc3fl 1f
bc3t 1f
bc3tl 1f
beql $28,$29,1f
bgezal $4,1f
bgezall $28,1f
bgezl $28,1f
bgtz... |
tactcomplabs/xbgas-binutils-gdb | 2,044 | gas/testsuite/gas/mips/micromips-size-1.s | # Source file used to test microMIPS instruction size overrides (#1).
.text
foo:
# Smoke-test a trivial case.
nop
nop16
nop32
# Test ALU operations.
addu $2, $4
addu16 $2, $4
addu32 $2, $4
addu $12, $14
addu32 $12, $14
add.ps $f2, $f4
add32.ps $f2, $f4
addiusp 256
addiusp16 256
# Test jumps and branches... |
tactcomplabs/xbgas-binutils-gdb | 7,385 | gas/testsuite/gas/mips/at-1.s | .text
foo:
.set at=$1
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$2
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $... |
tactcomplabs/xbgas-binutils-gdb | 1,064 | gas/testsuite/gas/mips/cp2-64.s | .text
.set noreorder
foo:
dmtc2 $0, $0
dmtc2 $0, $1
dmtc2 $0, $2
dmtc2 $0, $3
dmtc2 $0, $4
dmtc2 $0, $5
dmtc2 $0, $6
dmtc2 $0, $7
dmtc2 $0, $8
dmtc2 $0, $9
dmtc2 $0, $10
dmtc2 $0, $11
dmtc2 $0, $12
dmtc2 $0, $13
dmtc2 $0, $14
dmtc2 $0, $15
dmtc2 $0, $16
dmtc2 $0, $17
dmtc2 $0, $18
dmtc2 $0, $19
d... |
tactcomplabs/xbgas-binutils-gdb | 1,206 | gas/testsuite/gas/mips/mcu.s | .text
.set mcu
.ent foo
.globl foo
foo:
iret
aclr 0, 0
aclr 0, ($0)
aclr 0, 0($0)
aclr 1, 0($0)
aclr 2, 0($0)
aclr 3, 0($0)
aclr 4, 0($0)
aclr 5, 0($0)
aclr 6, 0($0)
aclr 7, 0($0)
aclr 7, 0($2)
aclr 7, 0($31)
aclr 7, 2047($31)
aclr 7, -2048($31)
aclr 7, 2048($31)
aclr 7, -2049($31)
aclr 7, 32767(... |
tactcomplabs/xbgas-binutils-gdb | 5,067 | gas/testsuite/gas/mips/mips64-mdmx.s | # source file to test assembly of MIPS64 MDMX ASE instructions
.set noreorder
.set noat
.globl text_label .text
text_label:
movf.l $v1, $v12, $fcc5
movn.l $v1, $v12, $18
movt.l $v1, $v12, $fcc5
movz.l $v1, $v12, $18
add.ob $v1, $v12, 18
add.ob $v1, $v12, $v18
add.ob $v1, $v12, $v18[6]
add.qh ... |
tactcomplabs/xbgas-binutils-gdb | 1,894 | gas/testsuite/gas/mips/unaligned-branch-r6-1.s | .text
.set noreorder
.space 0x1000
.align 4
.set mips32r6
.ent foo
foo:
nor $0, $0
bc bar0
nor $0, $0
beqzc $2, bar0
nor $0, $0
beqz $2, bar0
nor $0, $0
bc bar1
nor $0, $0
beqzc $2, bar1
nor $0, $0
beqz $2, bar1
nor $0, $0
bc bar2
nor $0, $0
beqzc $2, bar2
nor $0, $0
beqz $2, bar2
nor $0... |
tactcomplabs/xbgas-binutils-gdb | 3,564 | gas/testsuite/gas/mips/lb.s | # Source file used to test the lb macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
lb $4,0
lb $4,1
lb $4,0x8000
lb $4,-0x8000
lb $... |
tactcomplabs/xbgas-binutils-gdb | 1,854 | gas/testsuite/gas/mips/usd.s | # Source file used to test the usd macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
usd $4,0
usd $4,1
usd $4,0x8000
usd $4,-0x8000
... |
tactcomplabs/xbgas-binutils-gdb | 11,088 | gas/testsuite/gas/mips/eva.s | .text
.set nomips16
.set noreorder
test_eva:
lbue $0,-256($2)
lbue $3,-256
lbue $4,255($5)
lbue $6,255
lbue $7,-257($8)
lbue $9,-257
lbue $10,256($11)
lbue $12,256
lbue $13,-512($14)
lbue $15,-512
lbue $16,511($17)
lbue $18,511
lbue $19,-1024($20)
lbue $21,-1024
lbue $22,1023($23)
lbue $24,1023
lbue... |
tactcomplabs/xbgas-binutils-gdb | 1,506 | gas/testsuite/gas/mips/24k-triple-stores-3.s | # Assume to be on the same line (within 32bytes)
# Check for individual different double words
foo:
# safe
sb $2,11($sp)
sb $3,11($sp)
sb $4,4($sp)
break
# safe
sb $2,0($sp)
sb $3,11($sp)
sb $4,5($sp)
break
# edge case
sb $2,7($sp)
sb $3,11($sp)
sb $4,16($s... |
tactcomplabs/xbgas-binutils-gdb | 4,380 | gas/testsuite/gas/mips/mips-gp64-fp32-pic.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
.ent func
func:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0000 lui gp,hi(_gp_disp)
# 0004 addiu gp,gp,lo(_gp_disp)
# 0008 addu gp,gp,t9
.set reorder
.cprestore 8 # 000c sw gp,8(sp)
.cpadd $4 # 0010 addu a0,a0,g... |
tactcomplabs/xbgas-binutils-gdb | 9,367 | gas/testsuite/gas/mips/mips16-hilo.s | # Source file used to test li/addi on MIPS16
.set mips16
.data
data_label:
.word 0
data_label2:
.word 0
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
... |
tactcomplabs/xbgas-binutils-gdb | 2,729 | gas/testsuite/gas/mips/unaligned-branch-micromips-1.s | .text
.set noreorder
.space 0x1000
.align 4
.set micromips
.ent foo
foo:
not $2, $3
bal bar0
not $2, $3
bal bar1
not $2, $3
bal bar2
not $2, $3
bal bar3
not $2, $3
bal bar4
not $2, $3
bal bar4 + 1
not $2, $3
bal bar4 + 2
not $2, $3
bal bar4 + 3
not $2, $3
bal bar4 + 4
not $2, $3
bal ... |
tactcomplabs/xbgas-binutils-gdb | 1,707 | gas/testsuite/gas/mips/unaligned-jump-1.s | .text
.set noreorder
.space 0x1000
.align 4
.ent foo
foo:
nor $0, $0
jalx bar0
nor $0, $0
jal bar0
nor $0, $0
j bar0
nor $0, $0
jalx bar1
nor $0, $0
jal bar1
nor $0, $0
j bar1
nor $0, $0
jalx bar2
nor $0, $0
jal bar2
nor $0, $0
j bar2
nor $0, $0
jalx bar3
nor $0, $0
jal bar3
nor ... |
tactcomplabs/xbgas-binutils-gdb | 3,693 | gas/testsuite/gas/mips/mips-gp32-fp64-pic.s |
.sdata
shared: .word 11
.data
unshared:
.word 1
.word 2
.word 3
.word 4
.text
.ent func
func:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0000 lui gp,hi(_gp_disp)
# 0004 addiu gp,gp,lo(_gp_disp)
# 0008 addu gp,gp,t9
.set reorder
.cprestore 8 # 000c sw gp,8(sp)
.cpadd $4 # 0010 addu a0,a0,g... |
tactcomplabs/xbgas-binutils-gdb | 3,039 | gas/testsuite/gas/mips/ldstla-32-mips3.s | .set mips3
.text
ld $2, 0xffffffffffffffff($4)
ld $2, 0xffffffffabcdef01($4)
ld $2, 0xffffffff80000000($4)
ld $2, 0xffffffff7fffffff($4)
ld $2, 0xffffffff01234567($4)
ld $2, 0xffffffff00000000($4)
ld $2, 0xffffffff($4)
ld $2, 0xabcdef01($4)
ld $2, 0x80000000($4)
ld $2, 0x7fffffff($4)
ld $2, 0x01234567($4)
... |
tactcomplabs/xbgas-binutils-gdb | 2,500 | gas/testsuite/gas/mips/ase-errors-2.s | .set nomicromips
.set mips64r2
.set dsp # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # OK
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips64 # ERROR: too low
lbux $4,$5($6) # OK
ldx $4,$5($6) # OK
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set nodsp
lbux $4,$5($6) # ERROR: dsp not enabled
ldx $4,$5... |
tactcomplabs/xbgas-binutils-gdb | 1,735 | gas/testsuite/gas/mips/unaligned-jump-2.s | .text
.set noreorder
.space 0x1000
.align 4
.ent foo
foo:
nor $0, $0
jalx bar0
nor $0, $0
jal bar0
nor $0, $0
j bar0
nor $0, $0
jalx bar1
nor $0, $0
jal bar1
nor $0, $0
j bar1
nor $0, $0
jalx bar2
nor $0, $0
jal bar2
nor $0, $0
j bar2
nor $0, $0
jalx bar3
nor $0, $0
jal bar3
nor ... |
tactcomplabs/xbgas-binutils-gdb | 1,246 | gas/testsuite/gas/mips/mipsr6@mips32r2-ill.s | # source file to test illegal mips32r2 instructions
.set noreorder
.set noat
.text
text_label:
# insert and extract position/size checks:
# ext constraint: 0 <= pos < 32
ext $4, $5, -1, 1 # error
ext $4, $5, 0, 1
ext $4, $5, 31, 1
ext $4, $5, 32, 1 # error
# ext constraint: 0 < si... |
tactcomplabs/xbgas-binutils-gdb | 1,878 | gas/testsuite/gas/mips/cp3.s | .text
.set noreorder
foo:
mtc3 $0, $0
mtc3 $0, $1
mtc3 $0, $2
mtc3 $0, $3
mtc3 $0, $4
mtc3 $0, $5
mtc3 $0, $6
mtc3 $0, $7
mtc3 $0, $8
mtc3 $0, $9
mtc3 $0, $10
mtc3 $0, $11
mtc3 $0, $12
mtc3 $0, $13
mtc3 $0, $14
mtc3 $0, $15
mtc3 $0, $16
mtc3 $0, $17
mtc3 $0, $18
mtc3 $0, $19
mtc3 $0, $20
mtc3 $0... |
tactcomplabs/xbgas-binutils-gdb | 1,542 | gas/testsuite/gas/mips/vr4120-2.s | # Test workarounds selected by -mfix-vr4120.
# Note that we only work around bugs gcc may generate.
r21:
macc $4,$5,$6
div $0,$7,$8
or $4,$5
dmacc $4,$5,$6
div $0,$7,$8
or $4,$5
macc $4,$5,$6
divu $0,$7,$8
or $4,$5
dmacc $4,$5,$6
divu $0,$7,$8
or $4,$5
macc $4,$5,$6
ddiv $0,$7,$8
or $4,$5
dmacc $4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.