diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-05-18 17:48:38 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-05-18 17:48:38 +0000 |
commit | 1cc17500c38fa1cff19c3b5021dd74296a872b8c (patch) | |
tree | 7bef95a4e2398dbd5853c6c1c99b3bd966a3a7a3 | |
parent | cb6a332528e99e8eb89ea8af7d04d8e56403cf0c (diff) | |
download | gdb-1cc17500c38fa1cff19c3b5021dd74296a872b8c.zip gdb-1cc17500c38fa1cff19c3b5021dd74296a872b8c.tar.gz gdb-1cc17500c38fa1cff19c3b5021dd74296a872b8c.tar.bz2 |
* Added tests for R5900 mult1 instructions.
-rw-r--r-- | gas/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/r5900.d | 12 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/r5900.s | 11 |
3 files changed, 15 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 69c2c7b..18794d8 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -13,8 +13,8 @@ Mon May 18 13:11:45 1998 Frank Ch. Eigler <fche@cygnus.com> start-sanitize-r5900 * gas/mips/break5900.[sd]: Test that break instructions generated in div/etc. macro instructions are of 20-bit variety for R5900. + * gas/mips/r5900.[sd]: Added mult1 tests. end-sanitize-r5900 - Fri May 15 14:51:01 1998 Gavin Koch <gavin@cygnus.com> diff --git a/gas/testsuite/gas/mips/r5900.d b/gas/testsuite/gas/mips/r5900.d index 11fb263..f63c5a6 100644 --- a/gas/testsuite/gas/mips/r5900.d +++ b/gas/testsuite/gas/mips/r5900.d @@ -15,8 +15,8 @@ Disassembly of section \.text: 0+0018 <stuff\+(0x|)18> mfdvbm \$t6 0+001c <stuff\+(0x|)1c> mfiab \$t7 0+0020 <stuff\+(0x|)20> mfiabm \$s0 -0+0024 <stuff\+(0x|)24> mfpc \$a0,\$1 -0+0028 <stuff\+(0x|)28> mfps \$a0,\$1 +0+0024 <stuff\+(0x|)24> mfpc \$a0,1 +0+0028 <stuff\+(0x|)28> mfps \$a0,1 0+002c <stuff\+(0x|)2c> mtbpc \$t2 0+0030 <stuff\+(0x|)30> mtdab \$t3 0+0034 <stuff\+(0x|)34> mtdabm \$t4 @@ -24,8 +24,8 @@ Disassembly of section \.text: 0+003c <stuff\+(0x|)3c> mtdvbm \$t6 0+0040 <stuff\+(0x|)40> mtiab \$t7 0+0044 <stuff\+(0x|)44> mtiabm \$s0 -0+0048 <stuff\+(0x|)48> mtpc \$a0,\$1 -0+004c <stuff\+(0x|)4c> mtps \$a0,\$1 +0+0048 <stuff\+(0x|)48> mtpc \$a0,1 +0+004c <stuff\+(0x|)4c> mtps \$a0,1 0+0050 <stuff\+(0x|)50> adda.s \$f12,\$f14 0+0054 <stuff\+(0x|)54> suba.s \$f10,\$f12 0+0058 <stuff\+(0x|)58> msuba.s \$f10,\$f12 @@ -33,4 +33,6 @@ Disassembly of section \.text: 0+0060 <stuff\+(0x|)60> madda.s \$f10,\$f12 0+0064 <stuff\+(0x|)64> max.s \$f10,\$f12,\$f14 0+0068 <stuff\+(0x|)68> min.s \$f10,\$f12,\$f14 -0+006c <stuff\+(0x|)6c> nop +0+006c <stuff\+(0x|)6c> mult1 \$v1,\$a0,\$zero +0+0070 <stuff\+(0x|)70> mult1 \$a0,\$v1 +0+0074 <stuff\+(0x|)74> nop diff --git a/gas/testsuite/gas/mips/r5900.s b/gas/testsuite/gas/mips/r5900.s index 5e11736..c89e7c1 100644 --- a/gas/testsuite/gas/mips/r5900.s +++ b/gas/testsuite/gas/mips/r5900.s @@ -11,8 +11,8 @@ stuff: mfdvbm $14 mfiab $15 mfiabm $16 - mfpc $4,$1 - mfps $4,$1 + mfpc $4,1 + mfps $4,1 mtbpc $10 mtdab $11 mtdabm $12 @@ -20,8 +20,8 @@ stuff: mtdvbm $14 mtiab $15 mtiabm $16 - mtpc $4,$1 - mtps $4,$1 + mtpc $4,1 + mtps $4,1 adda.s $f12,$f14 @@ -31,5 +31,8 @@ stuff: madda.s $f10,$f12 max.s $f10,$f12,$f14 min.s $f10,$f12,$f14 + + mult1 $3,$4,$0 + mult1 $4,$3 # Nop just to fill out ot a 16byte boundary nop |