* Test for PR 18665, from sky branch.

1999-01-06  Frank Ch. Eigler  <fche@cygnus.com>
	* gas/mips/r5900.[sd]: Add tests for multu1/div1/divu1 insns.
This commit is contained in:
Frank Ch. Eigler 1999-01-06 12:47:21 +00:00
parent fa88f06825
commit 79b41c05a4
3 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,9 @@
start-sanitize-r5900
1999-01-06 Frank Ch. Eigler <fche@cygnus.com>
* gas/mips/r5900.[sd]: Add tests for multu1/div1/divu1 insns.
end-sanitize-r5900
1998-12-18 Nick Clifton <nickc@cygnus.com> 1998-12-18 Nick Clifton <nickc@cygnus.com>
* gas/fr30/allinsn.s: Fix to match latest assembler syntax. * gas/fr30/allinsn.s: Fix to match latest assembler syntax.

View File

@ -35,4 +35,10 @@ Disassembly of section \.text:
0+0068 <stuff\+(0x|)68> min.s \$f10,\$f12,\$f14 0+0068 <stuff\+(0x|)68> min.s \$f10,\$f12,\$f14
0+006c <stuff\+(0x|)6c> mult1 \$v1,\$a0,\$zero 0+006c <stuff\+(0x|)6c> mult1 \$v1,\$a0,\$zero
0+0070 <stuff\+(0x|)70> mult1 \$a0,\$v1 0+0070 <stuff\+(0x|)70> mult1 \$a0,\$v1
0+0074 <stuff\+(0x|)74> nop 0+0074 <stuff\+(0x|)74> multu1 \$v1,\$a0,\$zero
0+0078 <stuff\+(0x|)78> multu1 \$a0,\$v1
0+007c <stuff\+(0x|)7c> div1 \$zero,\$v1,\$a0
0+0080 <stuff\+(0x|)80> div1 \$zero,\$a0,\$v1
0+0084 <stuff\+(0x|)84> divu1 \$zero,\$v1,\$a0
0+0088 <stuff\+(0x|)88> divu1 \$zero,\$a0,\$v1
0+008c <stuff\+(0x|)8c> nop

View File

@ -34,5 +34,11 @@ stuff:
mult1 $3,$4,$0 mult1 $3,$4,$0
mult1 $4,$3 mult1 $4,$3
multu1 $3,$4,$0
multu1 $4,$3
div1 $0,$3,$4
div1 $4,$3
divu1 $0,$3,$4
divu1 $4,$3
# Nop just to fill out ot a 16byte boundary # Nop just to fill out ot a 16byte boundary
nop nop