This is the mail archive of the binutils-cvs@sourceware.org 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/testsuite/ChangeLog gas/testsuite/gas/ ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	davem@sourceware.org	2013-04-06 22:22:03

Modified files:
	gas/testsuite  : ChangeLog 
	gas/testsuite/gas/sparc: cbcond.d cbcond.s hpcvis3.d hpcvis3.s 
	                         sparc.exp v8-movwr-imm.d 
	include/opcode : ChangeLog sparc.h 
	opcodes        : ChangeLog sparc-dis.c sparc-opc.c 
Added files:
	gas/testsuite/gas/sparc: edge.d edge.s flush.d flush.s ldd_std.d 
	                         ldd_std.s ldtw_sttw.d ldtw_sttw.s 

Log message:
	Increase the accuracy of sparc instruction aliases.
	
	Make current with UA2011 specification.
	
	Add an F_PREFERRED opcode flag that indicates a preferred alias
	when multiple aliases for the same opcode exists.
	
	For 'lzd':
	
	Add 'lzcnt' as primary instruction, and make 'lzd' an alias.
	
	Add 'ldtw', 'ldtwa', 'sttw', 'sttwa':
	
	The modern opcode for for 'ldd', 'ldda', 'std', and 'stda' on
	integer registers.  Mark the latter now as aliases.
	
	For 'flush':
	
	Support "[address]" syntax as well as plain "address".
	
	Rework 'mov' aliases for 'wr':
	
	Eliminate bogus three operand moves, and encode the
	instructions properly for the "mov REG, %ASR" cases,
	specifically we should encode the register in rs2 not rs1 as
	per The SPARC V8 Architecture Manual.
	
	Add missing cbcond aliases:
	
	c{w,x}bz, c{w,x}blu, c{w,x}bnz, c{w,x}bgeu
	
	Add 'd' suffix VIS logical ops:
	
	The primary opcode for 'fzero' is now 'fzerod' (compare with
	'fzeros'), for example.  And thus 'fzero' is now an alias.
	
	Add modern opcodes for condition code setting edge instructions:
	
	They are now edgeN{,l}cc instead of plain edgeN{,l}.
	
	Add modern opcodes for VIS comparisons:
	
	All VIS comparisons now start with prefix "fp", retain the
	older variants as aliases.
	
	The signed variants for equal and not-equal have "u" aliases
	to show that these comparisons are equally suited for unsigned
	compares.
	
	Update existing test cases as needed, and add several new ones.
	
	include/opcode/
	
	* sparc.h (F_PREFERRED): Define.
	(F_PREF_ALIAS): Define.
	
	opcodes/
	
	* sparc-dis.c (compare_opcodes): When encountering multiple aliases
	of an opcode, prefer the one with F_PREFERRED set.
	* sparc-opc.c (sparc_opcodes): Add ldtw, ldtwa, sttw, sttwa,
	lzcnt, flush with '[address]' syntax, and missing cbcond pseudo
	ops.  Make 64-bit VIS logical ops have "d" suffix in their names,
	mark existing mnenomics as aliases.  Add "cc" suffix to edge
	instructions generating condition codes, mark existing mnenomics
	as aliases.  Add "fp" prefix to VIS compare instructions, mark
	existing mnenomics as aliases.
	
	gas/testsuite/
	
	* gas/sparc/cbcond.s: Add tests for new opcode aliases.
	* gas/sparc/cbcond.d: Updated.
	* gas/sparc/hpcvis3.s: Add tests for new opcode aliases.
	* gas/sparc/hpcvis3.d: Updated.
	* gas/sparc/v8-movwr-imm.d: Fix expected disassembly.
	* gas/sparc/edge.s: New test.
	* gas/sparc/edge.d: Expected disassembly.
	* gas/sparc/flush.s: New test.
	* gas/sparc/flush.d: Expected disassembly.
	* gas/sparc/ldd_std.s: New test.
	* gas/sparc/ldd_std.d: Expected disassembly.
	* gas/sparc/ldtw_sttw.s: New test.
	* gas/sparc/ldtw_sttw.d: Expected disassembly.
	* gas/sparc/sparc.exp: Run new tests.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2212&r2=1.2213
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/edge.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/edge.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/flush.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/flush.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/ldd_std.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/ldd_std.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/ldtw_sttw.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/ldtw_sttw.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/cbcond.d.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/cbcond.s.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/hpcvis3.d.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/hpcvis3.s.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/sparc.exp.diff?cvsroot=src&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/v8-movwr-imm.d.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/opcode/ChangeLog.diff?cvsroot=src&r1=1.493&r2=1.494
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/opcode/sparc.h.diff?cvsroot=src&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1953&r2=1.1954
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/sparc-dis.c.diff?cvsroot=src&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/sparc-opc.c.diff?cvsroot=src&r1=1.30&r2=1.31


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