Add support for Intel TSXLDTRK instructions

H.J. Lu hjl.tools@gmail.com
Thu Apr 2 12:57:15 GMT 2020


On Wed, Apr 1, 2020 at 8:20 PM Cui, Lili via Binutils
<binutils@sourceware.org> wrote:
>
> Hi all,
>
> This patch is about to enable binutils support for TSXLDTRK which would
>
> be in GLC. There's only 2 instructions: XRESLDTRK, XSUSLDTRK, more
>
> details please refer to
>
> https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf
>
>
>
> Make check-gas is ok.
>
>
> gas/ChangeLog:
>
>               2020-04-02  Lili Cui  <lili.cui@intel.com>
>               * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
>               (cpu_noarch): Likewise.
>               * doc/c-i386.texi: Document TSXLDTRK.
>               * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
>               * testsuite/gas/i386/tsxldtrk.d: Likewise.
>               * testsuite/gas/i386/tsxldtrk.s: Likewise.
>
> opcodes/gas/ChangeLog:
>
>               2020-04-02  Lili Cui  <lili.cui@intel.com>
>               * i386-dis.c (enum): Add PREFIX_0F01_REG_5_MOD_3_RM_1,
>               (prefix_table): New instructions (see prefixes above).
>               (rm_table): Likewise
>               * i386-gen.c (cpu_flag_init): Add CPU_TSXLDTRK_FLAGS,
>               CPU_ANY_TSXLDTRK_FLAGS.
>               (cpu_flags): Add CpuTSXLDTRK.
>               * i386-opc.h (enum): Add CpuTSXLDTRK.
>               (i386_cpu_flags): Add cputsxldtrk.
>               * i386-opc.tbl: Add XSUSPLDTRK insns.
>               * i386-init.h: Regenerate.
>               * i386-tbl.h: Likewise.

Please do

1. Rebase against the current master.
2. Remove blank line at the end of testsuite/gas/i386/tsxldtrk.s to fix

$ git am 0001-Add-support-for-intel-TSXLDTRK-instructions.patch
Applying: Add support for intel TSXLDTRK instructions
.git/rebase-apply/patch:108: new blank line at EOF.
+
warning: 1 line adds whitespace errors.

3. Add x86-64-tsxldtrk.d.

-- 
H.J.



More information about the Binutils mailing list