* config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
PR 11982.
This commit is contained in:
parent
3072dce9e5
commit
08438bef4a
2 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue