newlib/include/opcode
David S. Miller 4537e80a3a 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.
2013-04-06 22:22:03 +00:00
..
ChangeLog Increase the accuracy of sparc instruction aliases. 2013-04-06 22:22:03 +00:00
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:00 +00:00
aarch64.h include/opcode/ 2013-02-28 19:18:40 +00:00
alpha.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arc.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arm.h Add support for AArch32 CRC instruction in ARMv8. 2013-03-11 11:09:32 +00:00
avr.h * avr.h: (AVR_ISA_XCH): New define. 2012-06-07 16:43:36 +00:00
bfin.h sim: bfin: fix sign extension in dsp insns with MM flag 2011-06-18 19:42:55 +00:00
cgen.h cgen/ 2010-10-09 06:50:21 +00:00
convex.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cr16.h (make_instruction): Rename to cr16_make_instruction. 2013-01-07 15:09:07 +00:00
cris.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
crx.h gas/ 2012-02-27 06:37:38 +00:00
d10v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
d30v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
dlx.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
h8300.h * elf32-h8300 (h8_relax_section): Add new relaxation of mov 2013-03-21 16:08:06 +00:00
hppa.h * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx 2012-10-15 00:22:35 +00:00
i370.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i386.h Implement Intel Transactional Synchronization Extensions 2012-02-08 18:20:39 +00:00
i860.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i960.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ia64.h Add Intel Itanium Series 9500 support 2012-09-04 13:52:04 +00:00
m68hc11.h * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
m68k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m88k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
metag.h * common.h: Fix case of "Meta". 2013-01-10 09:49:18 +00:00
mips.h * archures.c: Add support for MIPS r5900 2013-01-04 17:22:50 +00:00
mmix.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10200.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10300.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
moxie.h Don't abort() when disassembling bad moxie instructions. 2012-09-28 03:53:39 +00:00
msp430.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
nios2.h 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-03-12 19:18:57 +00:00
np1.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ns32k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
or32.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
pdp11.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
pj.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
pn.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ppc.h include/opcode/ 2013-01-11 02:25:35 +00:00
pyr.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
rl78.h [.] 2011-11-02 03:09:07 +00:00
rx.h [include/opcode] 2010-07-29 18:41:26 +00:00
s390.h 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-10-04 08:47:32 +00:00
score-datadep.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
score-inst.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
sparc.h Increase the accuracy of sparc instruction aliases. 2013-04-06 22:22:03 +00:00
spu-insns.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
spu.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tahoe.h Add copyright notices 2012-12-17 16:56:03 +00:00
tic4x.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic6x-control-registers.h include/ 2010-09-29 10:14:02 +00:00
tic6x-insn-formats.h PR binutils/15068 2013-03-27 11:43:37 +00:00
tic6x-opcode-table.h PR binutils/15068 2013-03-28 09:25:11 +00:00
tic6x.h PR binutils/15068 2013-03-27 11:43:37 +00:00
tic30.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic54x.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic80.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tilegx.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
tilepro.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
v850.h * elf32-v850.c (v850_elf_is_target_special_symbol): New function. 2013-04-03 14:42:10 +00:00
vax.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xgate.h gas/config/ 2012-07-05 19:37:52 +00:00