From: Ian Lance Taylor Date: Wed, 2 Apr 1997 17:24:44 +0000 (+0000) Subject: * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08438bef4a0784a5af2ad1326e9ec58058c1adfb;p=binutils-gdb.git * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL. PR 11982. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 8ede8de9094..70f2ebc0dc0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 2 12:24:10 1997 Ian Lance Taylor + + * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL. + Tue Apr 1 18:29:47 1997 Jim Wilson * 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 d8a977eed11..d5187419930 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;