[RFA] MIPS 24K Errata Patch

Catherine Moore clm@codesourcery.com
Wed Apr 13 22:48:00 GMT 2011


Hi Richard,

This patch is from the MIPS source base and addresses errata for the 
24K.  The errata is described in commentary in tc-mips.c.  I've 
rewritten the patch to conform to the current gas structure for 
nop-insertion.   Tests have successfully completed for mips-linux and 
mips-sde-elf.  Does this look okay to install?

Thanks,
Catherine

gas ChangeLog entry:

2011-04-13  Catherine Moore  <clm@codesourcery.com>
             David Ung <davidu@mips.com>

         * config/mips.c (BASE_REG_EQ): New.
         (fix_24k_offset): New.
         (fix_24k_align_to): New.
         (nops_for_24k): New.
         (nops_for_insn): Add address_expr argument.
         Update all callers.  Call nops_for_24k.
         (nops_for_insn_or_target): Add address_expr argument.
         Update all callers.
         (append_insn): Check for stores and mfix-24k.


gas/testsuite ChangeLog entry:
2011-04-13  Catherine Moore  <clm@codesourcery.com>
             David Ung <davidu@mips.com>

	* gas/mips/24k-branch-delay-1.d: New.
	* gas/mips/24k-branch-delay-1.s: New.
	* gas/mips/24k-triple-stores-1.d: New.
	* gas/mips/24k-triple-stores-1.s: New.
	* gas/mips/24k-triple-stores-2.d: New.
	* gas/mips/24k-triple-stores-2.s: New.
	* gas/mips/24k-triple-stores-3.d: New.
	* gas/mips/24k-triple-stores-3.s: New.
	* gas/mips/24k-triple-stores-5.d: New.
	* gas/mips/24k-triple-stores-5.s: New.
	* gas/mips/24k-triple-stores-6.d: New.
	* gas/mips/24k-triple-stores-6.s: New.
	* gas/mips/24k-triple-stores-7.d: New.
	* gas/mips/24k-triple-stores-7.s: New.
	* gas/mips/24k-triple-stores-8.d: New.
	* gas/mips/24k-triple-stores-8.s: New.
	* gas/mips/24k-triple-stores-9.d: New.
	* gas/mips/24k-triple-stores-9.s: New.
	* gas/mips/mips.exp: Invoke new tests.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 24k-errata-tests.patch
Type: text/x-patch
Size: 30444 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110413/48ffedef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 24k-errata.patch
Type: text/x-patch
Size: 10138 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110413/48ffedef/attachment-0001.bin>


More information about the Binutils mailing list