aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-04-02 17:24:44 +0000
committerIan Lance Taylor <ian@airs.com>1997-04-02 17:24:44 +0000
commit08438bef4a0784a5af2ad1326e9ec58058c1adfb (patch)
treedd4608f68fddbb681e5456f197c48e988cba03e6 /gas/config/tc-mips.c
parent3072dce9e5afbee2082da7ca0c8dede1aaec1c97 (diff)
downloadgdb-08438bef4a0784a5af2ad1326e9ec58058c1adfb.zip
gdb-08438bef4a0784a5af2ad1326e9ec58058c1adfb.tar.gz
gdb-08438bef4a0784a5af2ad1326e9ec58058c1adfb.tar.bz2
* config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
PR 11982.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index d8a977e..d518741 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -6221,6 +6221,15 @@ mips16_macro (ip)
macro_build ((char *) NULL, &icnt, NULL, s2, "x", zreg);
break;
+ case M_DMUL:
+ dbl = 1;
+ case M_MUL:
+ macro_build ((char *) NULL, &icnt, NULL,
+ dbl ? "dmultu" : "multu",
+ "x,y", xreg, yreg);
+ macro_build ((char *) NULL, &icnt, NULL, "mflo", "x", zreg);
+ return;
+
case M_DSUBU_I:
dbl = 1;
goto do_subu;