repo_id stringlengths 5 115 | size int64 590 5.01M | file_path stringlengths 4 212 | content stringlengths 590 5.01M |
|---|---|---|---|
stsp/binutils-ia16 | 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,... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,303 | gas/testsuite/gas/mips/mips16e2-imm-error.s | .set mips16
foo:
lw $2, -32769($gp)
lw $2, 32768($gp)
lh $2, -32769($gp)
lh $2, 32768($gp)
lhu $2, -32769($gp)
lhu $2, 32768($gp)
lb $2, -32769($gp)
lb $2, 32768($gp)
lbu $2, -32769($gp)
lbu $2, 32768($gp)
sw $2, -32769($gp)
sw $2, 32768($gp)
sh $2, -32769($gp)
sh $2, 32768($gp)
sb $2, -32769($gp)
sb $... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,602 | gas/testsuite/gas/mips/mips32.s | # source file to test assembly of mips32 instructions
.set noreorder
.set noat
.text
text_label:
# unprivileged CPU instructions
clo $1, $2
clz $3, $4
.ifndef r6
madd $5, $6
maddu $7, $8
msub $9, $10
msubu $11, $12
.endif
mul ... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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,-... |
stsp/binutils-ia16 | 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
... |
stsp/binutils-ia16 | 1,512 | gas/testsuite/gas/mips/hilo-diff.s | # Source code used to test %hi/%lo operators with constants worked out
# as a difference of local symbols, both previously defined and forward
# references.
.text
foo:
li $4, %hi(2f - 0f)
sll $4, 16
addiu $4, %lo(2f - 0f)
li $5, %hi(0f - 3f)
sll $5, 16
addiu $5, %lo(0f - 3f)
0:
li $4, %hi(2f - 0b)
sll $4, 16
... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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,... |
stsp/binutils-ia16 | 1,084 | gas/testsuite/gas/mips/mips16-macro-t.s | .set mips16
.ent foo
foo:
div.t $2,$3,$4
divu.t $3,$4,$5
ddiv.t $4,$5,$6
ddivu.t $5,$6,$7
rem.t $6,$7,$16
remu.t $6,$7,$17
drem.t $2,$3,$4
dremu.t $3,$4,$5
mul.t $4,$5,$6
dmul.t $5,$6,$7
subu.t $2,-32767
subu.t $3,16
subu.t $4,32768
subu.t $3,$7,-16383
subu.t $4,$16,4
subu.t $5,$17,16384
dsubu.t $4,-... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,032 | gas/testsuite/gas/mips/24k-triple-stores-8.s | # Range check after alignment between adjacent offsets >= 24 ??
foo:
sb $s3,0($t0)
sb $s3,1($t0)
sb $s3,24($t0)
break
sb $s3,0($t0)
sb $s3,1($t0)
sb $s3,25($t0)
break
sb $s3,1($t0)
sb $s3,25($t0)
sb $s3,26($t0)
break
sb $s3,0($t0)
sh $s... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 2,757 | gas/testsuite/gas/mips/unaligned-branch-micromips-2.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 ... |
stsp/binutils-ia16 | 298,241 | gas/testsuite/gas/mips/r5900-all-vu0.s | .set noreorder
.set noat
.globl text_label .text
text_label:
vabs.w $vf0w, $vf0w
vabs.w $vf0w, $vf31w
vabs.w $vf1w, $vf2w
vabs.w $vf31w, $vf0w
vabs.w $vf31w, $vf15w
vabs.w $vf31w, $vf31w
vabs.x $vf0x, $vf0x
vabs.x $vf0x, $vf31x
vabs.x $vf1x, $vf2x
vabs.x $vf31x, $vf0x
vabs.x $vf31x, $vf15x
va... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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, $... |
stsp/binutils-ia16 | 3,565 | gas/testsuite/gas/mips/mips16-insn-e.s | .set mips16
.set noreorder
foo:
addiu.e $16, $29, 0 # ADDIUSP
addu.e $16, $29, 0
.align 2
addiu.e $16, $pc, 0 # ADDIUPC
addu.e $16, $pc, 0
la.e $16, . - 1
b.e . + 2 # B
jal.e 0 # JAL(X)
nop
jalx.e 0
nop
beqz.e $16, . + 2 # BEQZ
bnez.e $16, . + 2 # BNEZ
sll.e $16, $16, 8 # SHIFT ... |
stsp/binutils-ia16 | 1,029 | gas/testsuite/gas/mips/mips32r2-ill-nofp.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... |
stsp/binutils-ia16 | 1,847 | gas/testsuite/gas/mips/unaligned-branch-2.s | .text
.set noreorder
.space 0x1000
.align 4
.ent foo
foo:
nor $0, $0
bal bar0
nor $0, $0
b bar0
nor $0, $0
bne $2, $3, bar0
nor $0, $0
bal bar1
nor $0, $0
b bar1
nor $0, $0
bne $2, $3, bar1
nor $0, $0
bal bar2
nor $0, $0
b bar2
nor $0, $0
bne $2, $3, bar2
nor $0, $0
bal bar3
nor $0,... |
stsp/binutils-ia16 | 1,307 | gas/testsuite/gas/mips/elf-rel5.s | # MIPS ELF reloc 5
.data
.align 2
sp1:
.space 60
.globl dg1
dg1:
dl1:
.space 60
.text
.ent fn
.type fn,@function
fn:
la $5,dg1+0
la $5,dg1+12
la $5,dg1+0($17)
la $5,dg1+12($17)
lw ... |
stsp/binutils-ia16 | 3,354 | gas/testsuite/gas/mips/mips16.s | # Test the mips16 instruction set.
.set mips16
.macro ldst op, reg, base
\op \reg,0(\base)
\op \reg,1(\base)
\op \reg,2(\base)
\op \reg,3(\base)
\op \reg,4(\base)
\op \reg,8(\base)
\op \reg,16(\base)
\op \reg,32(\base)
\op \reg,64(\base)
\op \reg,128(\base)
\op \reg,256(\base)
\op \reg,512(\base)
\op \... |
stsp/binutils-ia16 | 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)
... |
stsp/binutils-ia16 | 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
... |
stsp/binutils-ia16 | 1,339 | gas/testsuite/gas/mips/tls-o32.s | .file 1 "tls.s"
.abicalls
.text
.align 2
.globl fn
.ent fn
.type fn,@function
fn:
.frame $fp,16,$31
.mask 0x40000000,-8
.fmask 0x00000000,0
.set noreorder
.cpload $25
.set reorder
addiu $sp,$sp,-16
sw $fp,8($sp)
move $fp,$sp
.cprestore 0
# General Dynamic
lw $25,%call16(__tls_get_addr)($28)
addiu $... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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 #... |
stsp/binutils-ia16 | 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
... |
stsp/binutils-ia16 | 2,947 | gas/testsuite/gas/mips/sb1-ext-mdmx.s | # Source file to test assembly of SB-1 MDMX subset instructions and extensions.
#
# SB-1 implements only the .ob MDMX instructions, and adds three additional
# MDMX-ish instructions (pabsdiff, pabsdiffc, pavg).
.set noreorder
.set noat
.globl text_label .text
text_label:
# The normal MDMX instructions:
movf.l ... |
stsp/binutils-ia16 | 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.... |
stsp/binutils-ia16 | 15,928 | gas/testsuite/gas/mips/msa.s | .text
.set noat
.set noreorder
.set nomacro
test_msa:
sll.b $w0,$w1,$w2
sll.h $w3,$w4,$w5
sll.w $w6,$w7,$w8
sll.d $w9,$w10,$w11
slli.b $w12,$w13,0
slli.b $w14,$w15,7
slli.h $w16,$w17,0
slli.h $w18,$w19,15
slli.w $w20,$w21,0
slli.w $w22,$w23,31
slli.d $w24,$w25,0
slli.d $w26,$w27,63
sra.b $w28,$w29,$w30... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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
... |
stsp/binutils-ia16 | 3,016 | gas/testsuite/gas/mips/mips32-dsp.s | # source file to test assembly of MIPS DSP ASE for MIPS32 instructions
.set noreorder
.set nomacro
.set noat
.text
text_label:
addq.ph $0,$1,$2
addq_s.ph $1,$2,$3
addq_s.w $2,$3,$4
addu.qb $3,$4,$5
addu_s.qb $4,$5,$6
subq.ph $5,$6,$7
subq_s.ph $6,$7,$8
subq_s.w $7,$8,$9
subu.qb $8,$9,$10
subu_s.qb ... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 3,389 | gas/testsuite/gas/mips/msa-branch.s | .text
.set reorder
test:
fsune.d $w0,$w1,$w2
bz.b $w0, test
fsune.d $w0,$w1,$w2
bz.b $w1, test
fsune.d $w0,$w1,$w2
bz.b $w2, test
add.s $f0,$f1,$f2
bz.b $w0, test
add.s $f0,$f1,$f2
bz.b $w1, test
add.s $f0,$f1,$f2
bz.b $w2, test
add.d $f0,$f2,$f4
bz.b $w0, test
add.d $f0,$f2,$f4
bz.b $w1, test
add.d... |
stsp/binutils-ia16 | 3,310 | gas/testsuite/gas/mips/c1.s | .text
foo:
c1 0x00
c1 0x01
c1 0x02
c1 0x03
c1 0x04
c1 0x05
c1 0x06
c1 0x07
c1 0x08
c1 0x09
c1 0x0a
c1 0x0b
c1 0x0c
c1 0x0d
c1 0x0e
c1 0x0f
c1 0x10
c1 0x11
c1 0x12
c1 0x13
c1 0x14
c1 0x15
c1 0x16
c1 0x17
c1 0x18
c1 0x19
c1 0x1a
c1 0x1b
c1 0x1c
c1 0x1d
c1 0x1e
c1 0x1f
c1 0x20
c1 0x21
c... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 3,310 | gas/testsuite/gas/mips/c3.s | .text
foo:
c3 0x00
c3 0x01
c3 0x02
c3 0x03
c3 0x04
c3 0x05
c3 0x06
c3 0x07
c3 0x08
c3 0x09
c3 0x0a
c3 0x0b
c3 0x0c
c3 0x0d
c3 0x0e
c3 0x0f
c3 0x10
c3 0x11
c3 0x12
c3 0x13
c3 0x14
c3 0x15
c3 0x16
c3 0x17
c3 0x18
c3 0x19
c3 0x1a
c3 0x1b
c3 0x1c
c3 0x1d
c3 0x1e
c3 0x1f
c3 0x20
c3 0x21
c... |
stsp/binutils-ia16 | 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
... |
stsp/binutils-ia16 | 3,682 | gas/testsuite/gas/mips/mips-gp32-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... |
stsp/binutils-ia16 | 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
... |
stsp/binutils-ia16 | 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 $... |
stsp/binutils-ia16 | 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,... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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 ... |
stsp/binutils-ia16 | 1,414 | gas/testsuite/gas/mips/24k-triple-stores-7.s | foo:
# range check
sb $s3,4($t0)
sw $s3,8($t0)
sb $s3,15($t0)
break
sb $s3,3($t0)
sw $s3,8($t0)
sb $s3,15($t0)
break
# overlap (same word)
sw $s3,28($t0)
sw $s3,8($t0)
sb $s3,31($t0)
break
# unaligned
sb $s3,5($t0)
sw $s3,9($t0)
sb ... |
stsp/binutils-ia16 | 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(... |
stsp/binutils-ia16 | 3,130 | gas/testsuite/gas/mips/mips-gp64-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... |
stsp/binutils-ia16 | 1,966 | gas/testsuite/gas/mips/loongson-3a-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... |
stsp/binutils-ia16 | 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 ... |
stsp/binutils-ia16 | 1,878 | gas/testsuite/gas/mips/cp2.s | .text
.set noreorder
foo:
mtc2 $0, $0
mtc2 $0, $1
mtc2 $0, $2
mtc2 $0, $3
mtc2 $0, $4
mtc2 $0, $5
mtc2 $0, $6
mtc2 $0, $7
mtc2 $0, $8
mtc2 $0, $9
mtc2 $0, $10
mtc2 $0, $11
mtc2 $0, $12
mtc2 $0, $13
mtc2 $0, $14
mtc2 $0, $15
mtc2 $0, $16
mtc2 $0, $17
mtc2 $0, $18
mtc2 $0, $19
mtc2 $0, $20
mtc2 $0... |
stsp/binutils-ia16 | 1,383 | gas/testsuite/gas/mips/unaligned-branch-mips16-2.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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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, $... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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 ... |
stsp/binutils-ia16 | 3,565 | gas/testsuite/gas/mips/mips16-insn-t.s | .set mips16
.set noreorder
foo:
addiu.t $16, $29, 0 # ADDIUSP
addu.t $16, $29, 0
.align 2
addiu.t $16, $pc, 0 # ADDIUPC
addu.t $16, $pc, 0
la.t $16, . - 1
b.t . + 2 # B
jal.t 0 # JAL(X)
nop
jalx.t 0
nop
beqz.t $16, . + 2 # BEQZ
bnez.t $16, . + 2 # BNEZ
sll.t $16, $16, 8 # SHIFT ... |
stsp/binutils-ia16 | 4,163 | gas/testsuite/gas/mips/ld.s | # Source file used to test the doubleword memory access macros
# (ld and friends).
# By default test ld.
.set r4, $4
# If defined, test sd instead.
.ifdef tsd
.macro ld ops:vararg
sd \ops
.endm
.endif
# If defined, test l.d instead.
.ifdef tl_d
.set r4, $f4
.macro ld ops:vararg
l.d \ops
.endm
.endif
# If ... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,250 | gas/testsuite/gas/mips/mips16-dwarf2.s | # Source file used to test DWARF2 information for MIPS16.
.set mips16
.text
.Ltext0:
.p2align 2
.file 1 "mips16-dwarf2.s"
stuff:
.loc 1 1 0
nop
.loc 1 2 0
li $2, 0
.loc 1 3 0
li $2, 0x1234
.loc 1 4 0
lw $2, 0f
.loc 1 5 0
lw $2, 1f
.loc 1 6 0
b 2f
nop
.loc 1 7 0
b 1f
nop
.loc 1 8 0
.p2align 8
2... |
stsp/binutils-ia16 | 11,013 | gas/testsuite/gas/mips/mips32-mt.s | # source file to test assembly of MIPS MT ASE for MIPS32 instructions
.set noreorder
.set noat
.text
text_label:
dmt
dmt $31
dvpe
dvpe $1
emt
emt $2
evpe
evpe $3
fork $4,$5,$6
yield $5
yield $6,$7
mftc0 $7,$8
mftc0 $8,$0,0
mftc0 $8,$0,1
mftc0 $8,$0,2
mftc0 $8,$0,3
mftc0 $8,$0,4
mftc... |
stsp/binutils-ia16 | 1,819 | gas/testsuite/gas/mips/unaligned-branch-1.s | .text
.set noreorder
.space 0x1000
.align 4
.ent foo
foo:
nor $0, $0
bal bar0
nor $0, $0
b bar0
nor $0, $0
bne $2, $3, bar0
nor $0, $0
bal bar1
nor $0, $0
b bar1
nor $0, $0
bne $2, $3, bar1
nor $0, $0
bal bar2
nor $0, $0
b bar2
nor $0, $0
bne $2, $3, bar2
nor $0, $0
bal bar3
nor $0,... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 7,671 | gas/testsuite/gas/mips/r5900-full.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
... |
stsp/binutils-ia16 | 1,635 | gas/testsuite/gas/mips/mips32-dspr2.s | # source file to test assembly of MIPS DSP ASE Rev2 for MIPS32 instructions
.set noreorder
.set noat
.text
text_label:
absq_s.qb $0,$1
addu.ph $1,$2,$3
addu_s.ph $2,$3,$4
adduh.qb $3,$4,$5
adduh_r.qb $4,$5,$6
append $5,$6,0
append $5,$6,31
balign $6,$7,0
balign $6,$7,1
balign $6,$7,2
balign $6,$... |
stsp/binutils-ia16 | 2,966 | gas/testsuite/gas/mips/micromips-size-0.s | # Source file used to test the microMIPS instruction size overrides (#0).
.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
addu16 $12, $14
addu32 $12, $14
add.ps $f2, $f4
add16.ps $f2, $f4
add32.ps $f2, $f4
addiusp 256
... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,389 | gas/testsuite/gas/mips/ld-pic.s | # Source file used to test the ld macro with PIC code.
.set mips1
.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
ld $4,0
ld $4,1
ld $4,... |
stsp/binutils-ia16 | 1,912 | gas/testsuite/gas/mips/ulh.s | # Source file used to test the ulh 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
ulh $4,0
ulh $4,1
ulh $4,0x8000
ulh $4,-0x8000
... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 3,096 | gas/testsuite/gas/mips/loongson-2e.s | .text
.set noreorder
movz_insns:
movz $2, $3, $4
movnz $2, $3, $4
movn $2, $3, $4
integer_insns:
mult.g $2, $3, $4
multu.g $5, $6, $7
dmult.g $8, $9, $10
dmultu.g $11, $12, $13
div.g $14, $15, $16
divu.g $17, $18, $19
ddiv.g $20, $21, $22
ddivu.g $23, $24, $25
mod.g $26, $27, $28
modu.g $29... |
stsp/binutils-ia16 | 3,503 | gas/testsuite/gas/mips/lca.s | # Source file used to test the lca 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
lca $4,0
lca $4,1
lca $4,0x8000
lca $4,-0x8000
... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 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)
... |
stsp/binutils-ia16 | 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 ... |
stsp/binutils-ia16 | 3,560 | gas/testsuite/gas/mips/sb.s | # Source file used to test the sb 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
sb $4,0
sb $4,1
sb $4,0x8000
sb $4,-0x8000
sb $... |
stsp/binutils-ia16 | 1,915 | gas/testsuite/gas/mips/unaligned-branch-r6-4.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, $... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,488 | gas/testsuite/gas/mips/24k-triple-stores-1.s | # integer stores
foo:
sb $2,0($sp)
sb $3,8($sp)
sb $4,16($sp)
sb $5,24($sp)
sb $6,32($sp)
sh $2,0($sp)
sh $3,8($sp)
sh $4,16($sp)
sh $5,24($sp)
sh $6,32($sp)
sw $2,0($sp)
sw $3,8($sp)
sw $4,16($sp)
sw $5,24($sp)
sw $6,32($sp)
... |
stsp/binutils-ia16 | 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... |
stsp/binutils-ia16 | 1,854 | gas/testsuite/gas/mips/ulw.s | # Source file used to test the ulw 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
ulw $4,0
ulw $4,1
ulw $4,0x8000
ulw $4,-0x8000
... |
stsp/binutils-ia16 | 3,116 | gas/testsuite/gas/mips/mips-gp64-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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.