Add support for CPUID PREFETCHWT1
authorIlya Tocar <ilya.tocar@intel.com>
Thu, 20 Feb 2014 14:57:31 +0000 (18:57 +0400)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Feb 2014 16:04:00 +0000 (08:04 -0800)
commitdcf893b581c440902d68a0095967acd4ae7ae8d1
tree4f44b0338da07d63a27f096704c2d7acbd911cf8
parentc63528fc47c79721b55f32fe1649762ff9125ae0
Add support for CPUID PREFETCHWT1

Latest AVX512 spec
http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf
Has CPUID PREFETCHWT1 for prefetchwt1 instruction, which we list as AVX512PF.
This patch introduces CPUID PREFETCHWT1.

gas/

        * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
        * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.

opcodes/

        * i386-gen.c (cpu_flag_init): Add CPU_PREFETCHWT1_FLAGS/
        (cpu_flags): Add CpuPREFETCHWT1.
        * i386-init.h: Regenerate.
        * i386-opc.h (CpuPREFETCHWT1): New.
        (i386_cpu_flags): Add cpuprefetchwt1.
        * i386-opc.tbl: Cahnge CPU of prefetchwt1 from CpuAVX512PF to CpuPREFETCHWT1.
        * i386-tbl.h: Regenerate.

gas/testsuite

        * gas/i386/avx512pf-intel.d: Remove prefetchwt1.
        * gas/i386/avx512pf.s: Ditto.
        * gas/i386/avx512pf.d: Ditto.
        * gas/i386/x86-64-avx512pf-intel.d: Ditto.
        * gas/i386/x86-64-avx512pf.s: Ditto.
        * gas/i386/x86-64-avx512pf.d: Ditto.
        * gas/i386/prefetchwt1-intel.d: New file.
        * gas/i386/prefetchwt1.s: Ditto.
        * gas/i386/prefetchwt1.d: Ditto.
        * gas/i386/x86-64-prefetchwt1-intel.d: Ditto.
        * gas/i386/x86-64-prefetchwt1.s: Ditto.
        * gas/i386/x86-64-prefetchwt1.d: Ditto.
23 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/avx512pf-intel.d
gas/testsuite/gas/i386/avx512pf.d
gas/testsuite/gas/i386/avx512pf.s
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/prefetchwt1-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/prefetchwt1.d [new file with mode: 0644]
gas/testsuite/gas/i386/prefetchwt1.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512pf-intel.d
gas/testsuite/gas/i386/x86-64-avx512pf.d
gas/testsuite/gas/i386/x86-64-avx512pf.s
gas/testsuite/gas/i386/x86-64-prefetchwt1-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-prefetchwt1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-prefetchwt1.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h