[PATCH 5/5] MIPS/GAS/testsuite: LD base register load tests

Maciej W. Rozycki macro@linux-mips.org
Sun Oct 31 22:48:00 GMT 2010


Hi,

 This is a set of test cases complementing the o32 LD to the base register 
fix.  There is some redundancy in these tests, especially where no base 
register is used (or $zero is, to be exact), but I felt there's an added 
value of reduced future maintenance effort this way.

2010-10-31  Maciej W. Rozycki  <macro@linux-mips.org>

	gas/testsuite/
	* gas/mips/ld.s: Adjust to let the base register be chosen.
	* gas/mips/ld-replace.d: New test.
	* gas/mips/mips1@ld-replace.d: Likewise, MIPS I version.
	* gas/mips/r3000@ld-replace.d: Likewise, R3000 version.
	* gas/mips/ecoff@ld-replace.d: Likewise, ECOFF version.
	* gas/mips/r3900@ecoff@ld-replace.d: Likewise, R3900/ECOFF 
	version.
	* gas/mips/mips2@ecoff@ld-replace.d: Likewise, MIPS II/ECOFF
	version.
	* gas/mips/mips32@ecoff@ld-replace.d: Likewise, MIPS32/ECOFF
	version.
	* gas/mips/mips32r2@ecoff@ld-replace.d: Likewise, MIPS32r2/ECOFF
	version.
	* gas/mips/ld-replace-forward.d: New test.
	* gas/mips/mips1@ld-replace-forward.d: Likewise, MIPS I version.
	* gas/mips/r3000@ld-replace-forward.d: Likewise, R3000 version.
	* gas/mips/ecoff@ld-replace-forward.d: Likewise, ECOFF version.
	* gas/mips/r3900@ecoff@ld-replace-forward.d: Likewise,
	R3900/ECOFF version.
	* gas/mips/mips2@ecoff@ld-replace-forward.d: Likewise,
	MIPS II/ECOFF version.
	* gas/mips/mips32@ecoff@ld-replace-forward.d: Likewise,
	MIPS32/ECOFF version.
	* gas/mips/mips32r2@ecoff@ld-replace-forward.d: Likewise,
	MIPS32r2/ECOFF version.
	* gas/mips/ld-replace-n32.d: New test.
	* gas/mips/ld-replace-n64.d: Likewise.
	* gas/mips/ld-replace-forward-n32.d: Likewise.
	* gas/mips/ld-replace-forward-n64.d: Likewise.
	* gas/mips/mips.exp: Run the new tests.

 OK?

  Maciej

binutils-2.20.51-20100925-mips-gas-test-ld-replace.patch
[Patch attached compressed due to its size.]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.20.51-20100925-mips-gas-test-ld-replace.patch.bz2
Type: application/x-bzip2
Size: 3981 bytes
Desc: 
URL: <https://sourceware.org/pipermail/binutils/attachments/20101031/bccdd9c7/attachment.bz2>


More information about the Binutils mailing list