binutils-gdb/gas/doc
H.J. Lu 42164a7195 Implement Intel Transactional Synchronization Extensions
gas/

2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (HLE_PREFIX): New.
	(check_hle): Likewise.
	(_i386_insn): Add have_hle.
	(cpu_arch): Add .hle and .rtm.
	(md_assemble): Call check_hle if i.have_hle isn't zero.
	(parse_insn): Set i.have_hle to 1 for HLE prefix.
	(output_jump): Support up to 2 byte opcode.

	* doc/c-i386.texi: Document hle/.hle and rtm/.rtm.

gas/testsuite/

2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/hle-intel.d: New.
	* gas/i386/hle.d: Likewise.
	* gas/i386/hle.s: Likewise.
	* gas/i386/hlebad.l: Likewise.
	* gas/i386/hlebad.s: Likewise.
	* gas/i386/rtm-intel.d: Likewise.
	* gas/i386/rtm.d: Likewise.
	* gas/i386/rtm.s: Likewise.
	* gas/i386/x86-64-hle-intel.d: Likewise.
	* gas/i386/x86-64-hle.d: Likewise.
	* gas/i386/x86-64-hle.s: Likewise.
	* gas/i386/x86-64-hlebad.l: Likewise.
	* gas/i386/x86-64-hlebad.s: Likewise.
	* gas/i386/x86-64-rtm-intel.d: Likewise.
	* gas/i386/x86-64-rtm.d: Likewise.
	* gas/i386/x86-64-rtm.s: Likewise.

	* gas/i386/i386.exp: Run hle, hle-intel, hlebad x86-64-hle, rtm,
	rtm-intel, x86-64-hle-intel, x86-64-hlebad, x86-64-rtm and
	x86-64-rtm-intel.

include/opcode/

2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>

	* i386.h (XACQUIRE_PREFIX_OPCODE): New.
	(XRELEASE_PREFIX_OPCODE): Likewise.

opcodes/

2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (HLE_Fixup1): New.
	(HLE_Fixup2): Likewise.
	(HLE_Fixup3): Likewise.
	(Ebh1): Likewise.
	(Evh1): Likewise.
	(Ebh2): Likewise.
	(Evh2): Likewise.
	(Ebh3): Likewise.
	(Evh3): Likewise.
	(MOD_C6_REG_7): Likewise.
	(MOD_C7_REG_7): Likewise.
	(RM_C6_REG_7): Likewise.
	(RM_C7_REG_7): Likewise.
	(XACQUIRE_PREFIX): Likewise.
	(XRELEASE_PREFIX): Likewise.
	(dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
	cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
	Ebh2/Evh2 on xchg.  Use Ebh3/Evh3 on mov.
	(reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
	not, or, sbb, sub and xor.  Use Ebh3/Evh3 on mov.  Use
	MOD_C6_REG_7 and MOD_C7_REG_7.
	(mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
	(rm_table): Add RM_C6_REG_7 and RM_C7_REG_7.  Add xend and
	xtest.
	(prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
	(CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.

	* i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
	CPU_RTM_FLAGS.
	(cpu_flags): Add CpuHLE and CpuRTM.
	(opcode_modifiers): Add HLEPrefixOk.

	* i386-opc.h (CpuHLE): New.
	(CpuRTM): Likewise.
	(HLEPrefixOk): Likewise.
	(i386_cpu_flags): Add cpuhle and cpurtm.
	(i386_opcode_modifier): Add hleprefixok.

	* i386-opc.tbl: Add HLEPrefixOk=3 to mov.  Add HLEPrefixOk to
	add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
	sbb, sub, xor and xadd.  Add HLEPrefixOk=2 to xchg with memory
	operand.  Add xacquire, xrelease, xabort, xbegin, xend and
	xtest.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.
2012-02-08 18:20:41 +00:00
..
Makefile.am [.] 2011-11-02 03:09:11 +00:00
Makefile.in [.] 2011-11-02 03:09:11 +00:00
all.texi [.] 2011-11-02 03:09:11 +00:00
as.texinfo [.] 2011-11-02 03:09:11 +00:00
c-alpha.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-arc.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-arm.texi * gas/config/tc-arm.c (arm_cpus): Add cortex-a7 entry. 2011-11-07 16:20:48 +00:00
c-avr.texi 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com> 2011-03-24 17:03:03 +00:00
c-bfin.texi gas: blackfin: docs: typo fixes and fill out directive info 2011-02-11 19:05:30 +00:00
c-cr16.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-cris.texi * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not 2011-05-16 03:28:47 +00:00
c-d10v.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-d30v.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-epiphany.texi bfd: 2011-10-27 14:27:16 +00:00
c-h8300.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-hppa.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-i370.texi update copyright dates 2005-03-03 01:29:54 +00:00
c-i386.texi Implement Intel Transactional Synchronization Extensions 2012-02-08 18:20:41 +00:00
c-i860.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-i960.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-ia64.texi * doc/as.texinfo (Overview): Use @itemx for grouped @table 2010-06-21 10:49:41 +00:00
c-ip2k.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-lm32.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-m32c.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-m32r.texi update copyright dates 2009-09-02 07:25:43 +00:00
c-m68hc11.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-m68k.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-microblaze.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-mips.texi bfd: 2011-12-08 20:47:27 +00:00
c-mmix.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-msp430.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-mt.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-ns32k.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-pdp11.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-pj.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-ppc.texi * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify. 2011-02-10 22:50:09 +00:00
c-rl78.texi * doc/c-rl78.texi (RL78-Float): Remove unused menu entry. 2011-11-04 16:04:13 +00:00
c-rx.texi * readelf.c (get_machine_dlags): Add support for RX's PID mode. 2011-10-05 14:13:31 +00:00
c-s390.texi 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2011-04-14 11:11:33 +00:00
c-score.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-sh.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-sh64.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-sparc.texi Add new sparc options to control instruction availability. 2011-09-22 00:03:30 +00:00
c-tic6x.texi 2012-01-31 Paul Brook <paul@codesourcery.com> 2012-01-31 15:01:56 +00:00
c-tic54x.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-tilegx.texi * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
c-tilepro.texi * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
c-v850.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-vax.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-xc16x.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-xstormy16.texi * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi. 2011-06-20 10:27:56 +00:00
c-xtensa.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-z8k.texi PR gas/12390 2011-01-18 13:37:39 +00:00
c-z80.texi PR gas/12390 2011-01-18 13:37:39 +00:00
fdl.texi Change documentation license to FDL v1.3 2008-11-19 16:22:48 +00:00
h8.texi Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
internals.texi * doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update 2011-12-13 12:56:33 +00:00