2002-06-07 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Sat, 8 Jun 2002 03:05:23 +0000 (03:05 +0000)
committerChris Demetriou <cgd@google.com>
Sat, 8 Jun 2002 03:05:23 +0000 (03:05 +0000)
commitf3c08b7e1630192a2a4bc9ddad4e46cd9e8d8ebc
treecc36c115180ad7eed69fd6402cec0e67304c8f5a
parent986b7daaef3d5a60416626355ddfff8590cffc20
2002-06-07  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt)
(fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions.
* sim-main.h (fp_rsqrt, fp_madd, fp_msub, fp_nmadd)
(fp_nmsub): New prototypes.
(RSquareRoot, MultiplyAdd, MultiplySub, NegMultiplyAdd)
(NegMultiplySub): New defines.
* mips.igen (RSQRT.fmt): Use RSquareRoot().
(MADD.D, MADD.S): Replace with...
(MADD.fmt): New instruction.
(MSUB.D, MSUB.S): Replace with...
(MSUB.fmt): New instruction.
(NMADD.D, NMADD.S): Replace with...
(NMADD.fmt): New instruction.
(NMSUB.D, MSUB.S): Replace with...
(NMSUB.fmt): New instruction.
sim/mips/ChangeLog
sim/mips/cp1.c
sim/mips/mips.igen
sim/mips/sim-main.h