summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2010-10-25 18:11:41 +0000
committerChao-ying Fu <fu@mips.com>2010-10-25 18:11:41 +0000
commitf0b214b40e354fc3ab38f8b8a5e6093ca33f71a2 (patch)
tree0fe911b9bde31405d2cedd3dad341c45c0dff7b5
parent86559a53685f5ddd53570be11cf0a5ba914e97eb (diff)
downloadbinutils-redhat-f0b214b40e354fc3ab38f8b8a5e6093ca33f71a2.tar.gz
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.
-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 722ce0b6e9..9e4a502e61 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 b0898e48e1..0826972199 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 8c5d46cad0..a39480c590 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