2010-10-25 Chao-ying Fu <fu@mips.com>
authorChao-ying Fu <fu@mips.com>
Mon, 25 Oct 2010 18:11:42 +0000 (18:11 +0000)
committerChao-ying Fu <fu@mips.com>
Mon, 25 Oct 2010 18:11:42 +0000 (18:11 +0000)
* gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s: Add madd, maddu, msub,
msubu, mult, multu.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips32-dsp.d
gas/testsuite/gas/mips/mips32-dsp.s

index 722ce0b6e9c155a3b98447a60036fdbb031d4f5b..9e4a502e6157e1b8f29c51f2000edcbca351c008 100644 (file)
@@ -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
index b0898e48e1f91007c391c9cfe1d79707c59cecae..0826972199e4c2ad0d812e8d3acfb20679469bf6 100644 (file)
@@ -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
        \.\.\.
index 8c5d46cad0e9d5b1940750085d132f46c6f3f313..a39480c59034bada088ec768fc49b052924a1728 100644 (file)
@@ -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