This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: multiply accumulate support for mips32 and mips64
- To: mrs at windriver dot com
- Subject: Re: multiply accumulate support for mips32 and mips64
- From: cgd at sibyte dot com
- Date: 15 Jun 2001 15:49:46 -0700
- cc: gcc-patches at gcc dot gnu dot org
- References: <200106090116.SAA05009@kankakee.wrs.com><mailpost.992049820.2636@postal.sibyte.com>
mrs@windriver.com ("mike stump") writes:
> This patch adds madd/msub support as well as generic support for
> mips5, mips32 and mips64.
Actually, looking at this patch some more...
it adds recognition of -mips32, -mips64, but doesn't touch all the
crud^Wspecs that behave conditionally based on -mips*... e.g. the
bits in CC1_SPEC that look like:
%{mips1:-mfp32 -mgp32} %{mips2:-mfp32 -mgp32}\
%{mips3:%{!msingle-float:%{!m4650:-mfp64}} -mgp64} \
%{mips4:%{!msingle-float:%{!m4650:-mfp64}} -mgp64} \
(and there are others)
also, every place there's %{mips1} etc., there needs to be %{mips5}
...; i believe the assembler (and other tools?) need to know.
I/we started going down the road of Doing The Right thing with all of
this stuff, by it got to be too painful and time consuming to think
about what The Right Thing was in all cases.
chris