PATCH: gcc/config/mips/mips.h reorg
Anthony Green
green@cygnus.com
Thu Jun 21 22:20:00 GMT 2001
Eric Christopher <echristo@twigboy.cygnus.com> writes:
> (SUBTARGET_TARGET_OPTIONS): Add -march=, currently identical to
> -mcpu=. Change help text for -mipsX.
invoke.texi will need a patch describing -march= for MIPS.
> /* ISA has branch likely instructions (eg. mips2). */
> -#define ISA_HAS_BRANCHLIKELY (mips_isa != 1)
> +#define ISA_HAS_BRANCHLIKELY (mips_isa != 1 \
> + || TARGET_MIPS3900)
While you are not introducing a regression, I think this is wrong.
This means the compiler will emit branch-likely instructions for the
TX39 even if the user has specified -mips1, which is supposed to
restrict code generation to the MIPS I ISA.
I suggest my unreviewed patch for this...
http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01024.html
AG
--
Anthony Green Red Hat
Sunnyvale, California
More information about the Gcc-patches
mailing list