Add .noavx512XX directives to x86 assembler
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 27 May 2016 22:41:45 +0000 (15:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 29 May 2016 14:56:23 +0000 (07:56 -0700)
commit144b71e2a88e02d0b54d4f09cc652f353b46e455
treee30267488ee641ea51b677f450faf341b3074f12
parentbb69990f869ed8cb932eec52e38c7ec8111794f0
Add .noavx512XX directives to x86 assembler

Add .noavx512f, .noavx512cd, .noavx512er, .noavx512pf, .noavx512dq,
.noavx512bw, .noavx512vl, .noavx512ifma, .noavx512vbmi directives to x86
assembler.

gas/

PR gas/20145
* config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
noavx512ifma and noavx512vbmi.
* doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
and noavx512vbmi.
* testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
* testsuite/gas/i386/noavx512-1.l: New file.
* testsuite/gas/i386/noavx512-1.s: Likewise.
* testsuite/gas/i386/noavx512-2.l: Likewise.
* testsuite/gas/i386/noavx512-2.s: Likewise.

opcodes/

PR gas/20145
* i386-gen.c (cpu_flag_init): Add CPU_ANY_AVX512F_FLAGS,
CPU_ANY_AVX512CD_FLAGS, CPU_ANY_AVX512ER_FLAGS,
CPU_ANY_AVX512PF_FLAGS, CPU_ANY_AVX512DQ_FLAGS,
CPU_ANY_AVX512BW_FLAGS, CPU_ANY_AVX512VL_FLAGS,
CPU_ANY_AVX512IFMA_FLAGS and CPU_ANY_AVX512VBMI_FLAGS.
* i386-init.h: Regenerated.
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/noavx512-1.l [new file with mode: 0644]
gas/testsuite/gas/i386/noavx512-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/noavx512-2.l [new file with mode: 0644]
gas/testsuite/gas/i386/noavx512-2.s [new file with mode: 0644]
opcodes/i386-gen.c
opcodes/i386-init.h