aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-mips.c9
2 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8ede8de..70f2ebc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Wed Apr 2 12:24:10 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
+
Tue Apr 1 18:29:47 1997 Jim Wilson <wilson@cygnus.com>
* config/tc-mips.c (md_begin): Don't set interlocks for 4100.
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;