This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, i386] Add support for xsavec, xsaves, clflushopt ISA extensions.
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ilya Tocar <tocarip dot intel at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 11 Feb 2014 07:41:22 -0800
- Subject: Re: [PATCH, i386] Add support for xsavec, xsaves, clflushopt ISA extensions.
- Authentication-results: sourceware.org; auth=none
- References: <20140211145021 dot GA101176 at msticlxl7 dot ims dot intel dot com>
On Tue, Feb 11, 2014 at 6:50 AM, Ilya Tocar <tocarip.intel@gmail.com> wrote:
> Hi,
> This patch add support for xsavec, xsaves ISA extensions, introduced in
> [1], and clflushopt introduced in [2].
>
> [1]http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html
> [2]http://software.intel.com/en-us/file/319433-018pdf
>
> Testing passes. Ok for trunk?
>
> ChangeLog for gas:
>
> 2014-02-11 Ilya Tocar <ilya.tocar@intel.com>
>
> * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
> * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
> clflushopt/.clfushopt
>
> ChangeLog for opcodes:
>
> 2014-02-11 Ilya Tocar <ilya.tocar@intel.com>
>
> * i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
> MOD_0FC7_REG_5.
> (PREFIX enum): Add PREFIX_0FAE_REG_7.
> (reg_table): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4 MOD_0FC7_REG_5.
> (prefix_table): Add clflusopt.
> (mod_table): Add xrstors, xsavec, xsaves.
> * i386-gen.c (cpu_flag_init): Add CPU_CLFLUSHOPT_FLAGS,
> CPU_XSAVES_FLAGS, CPU_XSAVEC_FLAGS.
> (cpu_flags): Add CpuClflushOpt, CpuXSAVES, CpuXSAVEC.
> * i386-init.h: Regenerate.
> * i386-opc.tbl: Add clflushopt, xrstors, xrstors64, xsaves,
> xsaves64, xsavec, xsavec64.
> * i386-tbl.h: Regenerate.
>
> ChangeLog for testsuite:
>
> 2014-02-11 Ilya Tocar <ilya.tocar@intel.com>
>
> * gas/i386/clflushopt-intel.d: New.
> * gas/i386/clflushopt.d: Ditto.
> * gas/i386/clflushopt.s: Ditto.
> * gas/i386/i386.exp: Ditto.
> * gas/i386/x86-64-clflushopt-intel.d: Ditto.
> * gas/i386/x86-64-clflushopt.d: Ditto.
> * gas/i386/x86-64-clflushopt.s: Ditto.
> * gas/i386/x86-64-xsavec-intel.d: Ditto.
> * gas/i386/x86-64-xsavec.d: Ditto.
> * gas/i386/x86-64-xsavec.s: Ditto.
> * gas/i386/x86-64-xsaves-intel.d: Ditto.
> * gas/i386/x86-64-xsaves.d: Ditto.
> * gas/i386/x86-64-xsaves.s: Ditto.
> * gas/i386/xsavec-intel.d: Ditto.
> * gas/i386/xsavec.d: Ditto.
> * gas/i386/xsavec.s: Ditto.
> * gas/i386/xsaves-intel.d: Ditto.
> * gas/i386/xsaves.d: Ditto.
> * gas/i386/xsaves.s: Ditto.
>
> Patch attached.
Please update ChangeLog and use "git format-patch" to create
the patch so that one can use "git am" + "git rebase" to apply
patch.
Thanks.
--
H.J.