2002-06-13 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Fri, 14 Jun 2002 04:44:11 +0000 (04:44 +0000)
committerChris Demetriou <cgd@google.com>
Fri, 14 Jun 2002 04:44:11 +0000 (04:44 +0000)
commit3a2b820ef3ce74e14b7d5f1e67a8c1d99d6a9870
tree19029b5e90923d02cfbebf66b4a8b19ede315e38
parent2ac5a64a8e5516b54811aa8f1abf3c9175bae799
2002-06-13  Chris Demetriou  <cgd@broadcom.com>

* cp1.c (FP_PS_upper, FP_PS_lower, FP_PS_cat, FPQNaN_PS): New macros.
(value_fpr, store_fpr, fp_cmp, fp_unary, fp_binary, fp_mac)
(fp_inv_sqrt, fpu_format_name): Add paired-single support.
(convert): Note that this function is not used for paired-single
format conversions.
(ps_lower, ps_upper, pack_ps, convert_ps): New functions.
* mips.igen (FMT, MOVtf.fmt): Add paired-single support.
(check_fmt_p): Enable paired-single support.
(ALNV.PS, CVT.PS.S, CVT.S.PL, CVT.S.PU, PLL.PS, PLU.PS, PUL.PS)
(PUU.PS): New instructions.
(CVT.S.fmt): Don't use this instruction for paired-single format
destinations.
* sim-main.h (FP_formats): New value 'fmt_ps.'
(ps_lower, ps_upper, pack_ps, convert_ps): New prototypes.
(PSLower, PSUpper, PackPS, ConvertPS): New macros.
sim/mips/ChangeLog
sim/mips/cp1.c
sim/mips/mips.igen
sim/mips/sim-main.h