Enable VREX for AVX512 directives
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 25 May 2016 17:49:25 +0000 (10:49 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 25 May 2016 17:49:25 +0000 (10:49 -0700)
commitf1360d5830fc7695cd26214257c62f34b73070c8
treecc121ba65ef0e78af3fbe19822412f3db368f8d5
parent293f5f65435c4d309cbf463e941a8bd5ae50c02d
Enable VREX for AVX512 directives

Enable VREX for AVX512 instructions with upper 16 vector registers.

gas/

PR gas/20141
* testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
* testsuite/gas/i386/x86-64-pr20141.d: New file.
* testsuite/gas/i386/x86-64-pr20141.s: Likewise.

opcodes/

PR gas/20141
* i386-gen.c (cpu_flag_init): Add CpuVREX to CPU_AVX512F_FLAGS,
CPU_AVX512CD_FLAGS, CPU_AVX512ER_FLAGS and CPU_AVX512PF_FLAGS.
* i386-init.h: Regenerated.
gas/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-pr20141.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-pr20141.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h