From 08438bef4a0784a5af2ad1326e9ec58058c1adfb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 2 Apr 1997 17:24:44 +0000 Subject: * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL. PR 11982. --- gas/config/tc-mips.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gas/config/tc-mips.c') 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; -- cgit v1.1