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
..
2009-09-02 07:25:43 +00:00
2009-07-24 11:45:01 +00:00
2007-10-17 16:45:56 +00:00
2010-10-11 08:36:30 +00:00
2011-02-12 19:36:31 +00:00
2011-02-13 18:53:16 +00:00
2011-12-15 04:25:10 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2009-11-10 18:05:24 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 12:38:42 +00:00
2009-09-25 19:13:27 +00:00
2010-09-15 19:48:52 +00:00
2010-09-15 19:43:56 +00:00
2011-09-27 18:57:22 +00:00
2012-01-12 08:53:34 +00:00
2010-10-25 12:38:42 +00:00
2009-11-02 11:49:48 +00:00
2012-02-02 09:26:04 +00:00
2011-03-10 10:06:05 +00:00
2011-06-27 10:03:42 +00:00
2011-06-27 10:03:42 +00:00
2008-04-23 18:40:34 +00:00
2008-04-23 18:40:34 +00:00
2012-02-02 11:55:43 +00:00
2012-01-13 15:19:13 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 12:38:42 +00:00
2009-09-02 07:25:43 +00:00
2010-06-10 08:51:46 +00:00
2011-12-23 01:49:37 +00:00
2012-01-25 01:40:11 +00:00
2011-10-25 20:36:22 +00:00
2011-10-25 20:36:22 +00:00
2011-11-23 11:32:42 +00:00
2009-09-02 07:25:43 +00:00
2011-03-10 10:06:05 +00:00
2007-07-03 11:01:12 +00:00
2011-12-21 17:07:26 +00:00
2011-05-31 13:40:04 +00:00
2011-03-29 18:16:16 +00:00
2011-03-29 18:16:16 +00:00
2011-03-15 00:17:00 +00:00
2010-03-10 14:23:58 +00:00
2011-06-09 15:43:52 +00:00
2009-09-02 07:25:43 +00:00
2011-12-14 14:10:57 +00:00
2009-09-02 07:25:43 +00:00
2010-06-28 14:06:57 +00:00
2009-09-02 07:25:43 +00:00
2010-08-25 11:51:07 +00:00
2011-03-18 10:46:52 +00:00
2010-10-28 05:34:55 +00:00
2011-03-18 10:46:52 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2011-10-27 14:27:16 +00:00
2011-10-27 14:27:16 +00:00
2009-07-24 11:45:01 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-01-20 12:49:05 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 16:43:46 +00:00
2009-03-03 23:21:52 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2010-11-03 14:18:43 +00:00
2012-02-08 18:20:41 +00:00
2012-01-23 21:42:04 +00:00
2009-09-08 10:36:39 +00:00
2007-10-18 13:03:12 +00:00
2010-06-28 14:06:57 +00:00
2009-09-02 07:25:43 +00:00
2011-07-03 13:37:09 +00:00
2011-03-31 08:02:41 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2009-10-19 15:30:06 +00:00
2008-12-23 19:10:25 +00:00
2010-08-04 04:21:06 +00:00
2010-08-04 04:21:06 +00:00
2011-05-17 16:15:59 +00:00
2011-03-18 10:46:52 +00:00
2010-08-25 11:51:07 +00:00
2007-07-03 11:01:12 +00:00
2010-09-09 10:48:17 +00:00
2009-11-04 09:52:00 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2010-09-16 23:55:10 +00:00
2009-09-01 00:24:02 +00:00
2010-08-25 11:51:07 +00:00
2009-08-06 17:38:04 +00:00
2012-01-08 12:33:54 +00:00
2011-07-24 14:20:15 +00:00
2010-06-28 14:06:57 +00:00
2009-09-02 07:25:43 +00:00
2011-10-24 02:49:24 +00:00
2007-07-03 11:01:12 +00:00
2010-09-23 12:11:31 +00:00
2009-09-02 07:25:43 +00:00
2010-07-05 05:56:11 +00:00
2009-04-16 15:39:48 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2011-05-17 16:15:59 +00:00
2007-07-03 11:01:12 +00:00
2011-10-25 13:35:00 +00:00
2007-07-03 11:01:12 +00:00
2009-07-24 11:45:01 +00:00
2007-07-03 11:01:12 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2011-01-06 16:41:35 +00:00
2007-07-03 11:01:12 +00:00
2011-05-17 16:15:59 +00:00
2007-07-03 11:01:12 +00:00
2011-11-21 13:19:33 +00:00
2011-06-14 09:03:52 +00:00
2011-12-23 01:49:37 +00:00
2011-12-23 01:49:37 +00:00
2011-10-05 14:13:31 +00:00
2010-07-02 20:40:28 +00:00
2011-05-27 12:56:06 +00:00
2010-01-21 11:40:28 +00:00
2011-06-13 09:45:28 +00:00
2011-06-13 09:45:28 +00:00
2009-03-02 10:33:08 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2010-06-28 14:06:57 +00:00
2010-05-25 14:12:43 +00:00
2011-11-17 04:24:56 +00:00
2010-10-22 12:08:32 +00:00
2009-10-29 09:43:18 +00:00
2009-09-02 07:25:43 +00:00
2010-06-28 14:06:57 +00:00
2008-08-12 23:39:31 +00:00
2011-05-20 10:10:00 +00:00
2011-05-20 10:10:00 +00:00
2011-05-18 13:52:44 +00:00
2007-07-03 11:01:12 +00:00
2010-06-28 14:06:57 +00:00
2009-09-02 07:25:43 +00:00
2011-10-28 14:43:54 +00:00
2011-06-13 15:18:54 +00:00
2011-10-28 14:43:54 +00:00
2011-06-13 15:18:54 +00:00
2011-05-12 23:50:23 +00:00
2011-05-23 09:29:00 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2009-10-19 15:27:39 +00:00
2007-07-03 11:01:12 +00:00
2010-06-28 14:06:57 +00:00
2007-07-03 11:01:12 +00:00
2010-06-28 14:06:57 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2007-07-03 11:01:12 +00:00
2010-12-09 20:02:07 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-03-28 11:18:27 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2010-01-23 12:05:33 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2012-01-23 21:42:04 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2010-01-21 20:58:34 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-11-04 09:52:00 +00:00
2009-09-07 09:15:31 +00:00
2009-09-07 09:15:31 +00:00
2007-07-03 11:01:12 +00:00
2007-07-03 11:01:12 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00