Patch: mips gas reorg

Eric Christopher echristo@redhat.com
Thu Jun 28 13:09:00 GMT 2001


Here's a patch for the -march/mtune support. I extended HJ's original
patch quite a bit and fixed some things therein.  Fixes a few of the
tests.

Note: Tx39 now has more failures than it did. This is because the tests
weren't being run before.

-eric

ps.  the changelog entries really are aligned.  new mailer doesn't quite
do formatting right...

-- 
I will not grease the monkey bars

2001-06-28  Eric Christopher <echristo@redhat.com>
	    H.J. Lu  <hjl@gnu.org>

        * config/tc-mips.c (mips_arch): New. Use mips_arch instead
        of mips_cpu for the ISA selection.
        (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
        (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
    	 (mips_tune): New.  Use mips_tune for scheduling and optimization
    	issues.
    	(append_insn): Use mips_tune and mips_arch.
    	(macro_build): Ditto.
    	(mips_ip): Ditto.
    	(md_begin): Handle mips_arch, mips_tune and mips_cpu.  For
    	backwards compatability mips_cpu generates arch and tune.
    	(md_show_usage): Document new behavior.

	* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
	Deprecate -mcpu.

2001-06-28  Eric Christopher  <echristo@redhat.com>

	* gas/mips/usd.d: Change for march/mtune.

	* gas/mips/ulh-xgot.d: Ditto.

	* gas/mips/uld.d: Ditto.

	* gas/mips/trunc.d: Ditto.

	* gas/mips/rol.d: Ditto.

	* gas/mips/nodelay.d: Ditto.

	* gas/mips/mul.d: Ditto.

	* gas/mips/mul-ilocks.d: Ditto.

	* gas/mips/trap20.d: Ditto.

	* gas/mips/mips4.d: Ditto.

	* gas/mips/mips16.d: Ditto.

	* gas/mips/lif-xgot.d: Ditto.

	* gas/mips/lif-svr4pic.d: Ditto.

	* gas/mips/ld-xgot.d: Ditto.

	* gas/mips/ld-svr4pic.d: Ditto.

	* gas/mips/ld-ilocks-addr32.d: Ditto.

	* gas/mips/lb-xgot.d: Ditto.

	* gas/mips/jal-xgot.d: Ditto.

	* gas/mips/jal-svr4pic.d: Ditto.

	* gas/mips/delay.d: Ditto.

	* gas/mips/lb-xgot-ilocks.d: Ditto.

	* gas/mips/div.d: Ditto.

	* gas/mips/break20.d: Ditto.

	* gas/mips/delay.d: Ditto.

	* gas/mips/elf_e_flags3.d: Ditto.

	* gas/mips/elf_e_flags4.d: Ditto.

	* gas/mips/lineno.d: Ditto.

	* gas/mips/mips16.d: Ditto.

	* gas/mips/mips4.d: Ditto.

	* gas/mips/mips4010.d: Ditto.

	* gas/mips/mips4650.d: Ditto.




More information about the Binutils mailing list