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.
This commit is contained in:
Chao-ying Fu 2010-10-25 18:11:42 +00:00
parent d958d1a369
commit 2538d00916
3 changed files with 17 additions and 0 deletions

View 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

View 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
\.\.\.

View 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