aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2010-10-25 18:11:42 +0000
committerChao-ying Fu <fu@mips.com>2010-10-25 18:11:42 +0000
commit2538d009168765590ca18171735bdfe0cad7be87 (patch)
tree98734d22c0d340a237dd580aaded4f1bacf4fd7d /gas
parentd958d1a36983667744659cfd4b58c0c6db81680c (diff)
downloadfsf-binutils-gdb-2538d009168765590ca18171735bdfe0cad7be87.zip
fsf-binutils-gdb-2538d009168765590ca18171735bdfe0cad7be87.tar.gz
fsf-binutils-gdb-2538d009168765590ca18171735bdfe0cad7be87.tar.bz2
2010-10-25 Chao-ying Fu <fu@mips.com>
* gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s: Add madd, maddu, msub, msubu, mult, multu.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/mips32-dsp.d6
-rw-r--r--gas/testsuite/gas/mips/mips32-dsp.s6
3 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 722ce0b..9e4a502 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-25 Chao-ying Fu <fu@mips.com>
+
+ * gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s: Add madd, maddu, msub,
+ msubu, mult, multu.
+
2010-10-25 H.J. Lu <hongjiu.lu@intel.com>
PR gas/12049
diff --git a/gas/testsuite/gas/mips/mips32-dsp.d b/gas/testsuite/gas/mips/mips32-dsp.d
index b0898e4..0826972 100644
--- a/gas/testsuite/gas/mips/mips32-dsp.d
+++ b/gas/testsuite/gas/mips/mips32-dsp.d
@@ -136,4 +136,10 @@ Disassembly of section .text:
0+01f8 <[^>]*> 7d8b500a lwx t2,t3\(t4\)
0+01fc <[^>]*> 041cff80 bposge32 00000000 <text_label>
0+0200 <[^>]*> 00000000 nop
+0+0204 <[^>]*> 716c1000 madd \$ac2,t3,t4
+0+0208 <[^>]*> 718d1801 maddu \$ac3,t4,t5
+0+020c <[^>]*> 71ae0004 msub t5,t6
+0+0210 <[^>]*> 71cf0805 msubu \$ac1,t6,t7
+0+0214 <[^>]*> 02b61818 mult \$ac3,s5,s6
+0+0218 <[^>]*> 02d70019 multu s6,s7
\.\.\.
diff --git a/gas/testsuite/gas/mips/mips32-dsp.s b/gas/testsuite/gas/mips/mips32-dsp.s
index 8c5d46c..a39480c 100644
--- a/gas/testsuite/gas/mips/mips32-dsp.s
+++ b/gas/testsuite/gas/mips/mips32-dsp.s
@@ -136,6 +136,12 @@ text_label:
lwx $10,$11($12)
bposge32 text_label
nop
+ madd $ac2,$11,$12
+ maddu $ac3,$12,$13
+ msub $ac0,$13,$14
+ msubu $ac1,$14,$15
+ mult $ac3,$21,$22
+ multu $ac0,$22,$23
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8