Require another match for AVX512VL
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 25 May 2016 21:59:05 +0000 (14:59 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 25 May 2016 22:04:47 +0000 (15:04 -0700)
commit73b090a922a5f43931f0ec10b1b1b9507c819ebf
tree5bba976cde7426337f2a2a5c04958618cd0713fb
parentde341542a60f7d3a80cc339db7d341b615cfa52f
Require another match for AVX512VL

The AVX512VL bit alone isn't sufficient to select a 128-bit or 256-bit
AVX512 instruction.  We must match another AVX512 bit.

PR gas/20140
* config/tc-i386.c (cpu_flags_match): Require another match
for AVX512VL.
* testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
x86-64-avx512vl-1 and x86-64-avx512vl-2.
* testsuite/gas/i386/avx512vl-1.l: New file.
* testsuite/gas/i386/avx512vl-1.s: Likewise.
* testsuite/gas/i386/avx512vl-2.l: Likewise.
* testsuite/gas/i386/avx512vl-2.s: Likewise.
* testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
* testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
* testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
* testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/avx512vl-1.l [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl-2.l [new file with mode: 0644]
gas/testsuite/gas/i386/avx512vl-2.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-avx512vl-1.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl-2.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-avx512vl-2.s [new file with mode: 0644]