From: Chao-ying Fu Date: Mon, 25 Oct 2010 18:11:42 +0000 (+0000) Subject: 2010-10-25 Chao-ying Fu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2538d009168765590ca18171735bdfe0cad7be87;p=binutils-gdb.git 2010-10-25 Chao-ying Fu * gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s: Add madd, maddu, msub, msubu, mult, multu. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 722ce0b6e9c..9e4a502e615 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-10-25 Chao-ying Fu + + * gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s: Add madd, maddu, msub, + msubu, mult, multu. + 2010-10-25 H.J. Lu PR gas/12049 diff --git a/gas/testsuite/gas/mips/mips32-dsp.d b/gas/testsuite/gas/mips/mips32-dsp.d index b0898e48e1f..0826972199e 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 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 8c5d46cad0e..a39480c5903 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