diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-03-19 21:10:21 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-03-19 21:11:21 +0800 |
commit | 7b1d7ca194544554f7d41aea7fdf7a69c232f15d (patch) | |
tree | efa88167376872739faa0b065fda004b0da59ae2 /ld/configure.ac | |
parent | 89199bb5a027d21c56dafd2cd898487118949ecf (diff) | |
download | gdb-7b1d7ca194544554f7d41aea7fdf7a69c232f15d.zip gdb-7b1d7ca194544554f7d41aea7fdf7a69c232f15d.tar.gz gdb-7b1d7ca194544554f7d41aea7fdf7a69c232f15d.tar.bz2 |
x86: Correct EVEX to 128-bit EVEX optimization
Since not all AVX512F processors support AVX512VL, we can optimize
512-bit EVEX to 128-bit EVEX encoding for upper 16 vector registers
only when AVX512VL is enabled explicitly at command-line or via
".arch .avx512vl" directive.
PR gas/24352
* config/tc-i386.c (optimize_encoding): Check only
cpu_arch_flags.bitfield.cpuavx512vl.
* testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
* testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
change.
* testsuite/gas/i386/x86-64-optimize-2b.d: New file.
* testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
Diffstat (limited to 'ld/configure.ac')
0 files changed, 0 insertions, 0 deletions