]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/ChangeLog
x86: Don't disable SSE4a when disabling SSE4
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 16 Feb 2020 16:36:51 +0000 (08:36 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 16 Feb 2020 16:45:34 +0000 (08:45 -0800)
commitaf5c13b01ecc416d26321a2d60943d787ba24c7f
treeb0e6fc6295a084b1c2a14340722b09300fe8ea35
parent5de9bb826dd155601da1e5e34060a1e7e443eee8
x86: Don't disable SSE4a when disabling SSE4

commit 7deea9aad8 changed nosse4 to include CpuSSE4a.  But AMD SSE4a is
a superset of SSE3 and Intel SSE4 is a superset of SSSE3.  Disable Intel
SSE4 shouldn't disable AMD SSE4a.  This patch restores nosse4.  It also
adds .sse4a and nosse4a.

gas/

* config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a.  Restore
nosse4.
* doc/c-i386.texi: Document sse4a and nosse4a.

opcodes/

* i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS.  Remove
CPU_ANY_SSE4_FLAGS.
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h