This is the mail archive of the binutils-cvs@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gas ChangeLog config/tc-mips.c testsuite/C ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	binutils-2_16-branch
Changes by:	macro@sourceware.org	2005-04-13 18:17:48

Modified files:
	gas            : ChangeLog 
	gas/config     : tc-mips.c 
	gas/testsuite  : ChangeLog 
	gas/testsuite/gas/mips: ldstla-32-shared.d ldstla-32.d 
	                        ldstla-32.s mips.exp 
Added files:
	gas/testsuite/gas/mips: ldstla-32-1.l ldstla-32-1.s 
	                        ldstla-32-mips3-1.l ldstla-32-mips3-1.s 
	                        ldstla-32-mips3-shared.d 
	                        ldstla-32-mips3.d ldstla-32-mips3.s 

Log message:
	gas/:
	* config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
	(normalize_address_expr): New function to sign-extend address
	offsets that fit into 32 bits in 32-bit mode.
	(macro_build_ldst_constoffset): Use normalize_address_expr()
	instead of a handcoded sequence.
	(load_register): Likewise.  Report oversized numbers in a useful
	way.
	(macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
	for constant addresses.  Report oversized numbers in a useful way.
	(mips_ip): Use normalize_address_expr() for addresses.
	
	gas/testsuite/:
	* gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail
	and include more instructions/offsets that are meant to succeed.
	Use $4 instead $3 to avoid register dependencies.
	* gas/mips/ldstla-32.d: Update accordingly.
	* gas/mips/ldstla-32-shared.d: Likewise.
	* gas/mips/ldstla-32-mips3.d: New test based on the above, except
	for mips3.
	* gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC.
	* gas/mips/ldstla-32-mips3.s: Source for the new tests.
	* gas/mips/ldstla-32-1.s: New test for offsets that are meant to
	fail.
	* gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3.
	* gas/mips/ldstla-32-1.l: Stderr output for the new test.
	* gas/mips/ldstla-32-mips3-1.l: Likewise.
	* gas/mips/mips.exp: Run the new tests.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.2397.2.29&r2=1.2397.2.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.291.2.14&r2=1.291.2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.807.2.6&r2=1.807.2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-1.l.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-1.s.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-mips3-1.l.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-mips3-1.s.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-mips3-shared.d.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-mips3.d.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-mips3.s.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32-shared.d.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.1&r2=1.1.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32.d.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.1&r2=1.1.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/ldstla-32.s.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.1&r2=1.1.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/mips.exp.diff?cvsroot=src&only_with_tag=binutils-2_16-branch&r1=1.104.2.2&r2=1.104.2.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]