* config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.

PR 11982.
This commit is contained in:
Ian Lance Taylor 1997-04-02 17:24:44 +00:00
parent 3072dce9e5
commit 08438bef4a
2 changed files with 13 additions and 0 deletions

View file

@ -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> Tue Apr 1 18:29:47 1997 Jim Wilson <wilson@cygnus.com>
* config/tc-mips.c (md_begin): Don't set interlocks for 4100. * config/tc-mips.c (md_begin): Don't set interlocks for 4100.

View file

@ -6221,6 +6221,15 @@ mips16_macro (ip)
macro_build ((char *) NULL, &icnt, NULL, s2, "x", zreg); macro_build ((char *) NULL, &icnt, NULL, s2, "x", zreg);
break; 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: case M_DSUBU_I:
dbl = 1; dbl = 1;
goto do_subu; goto do_subu;