diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:33:26 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:33:26 +0100 |
commit | 88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73 (patch) | |
tree | 936635f8a6f7693dea8a9248e3e20c4dfcd1ad6b /gas | |
parent | 5091b9ee34b54fa8b2ab0947ad86e0f12475995c (diff) | |
download | fsf-binutils-gdb-88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73.zip fsf-binutils-gdb-88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73.tar.gz fsf-binutils-gdb-88bd2203efa6b29aea1bd2a5e4c1b2e56faddd73.tar.bz2 |
x86: correct SSE dependencies
SSE itself takes FXSR as a prereq. Like AES, PCLMUL, and SHA both GFNI
and KL take SSE2 as a prereq, for operating on packed integers. And
while correcting KL also record it as a prereq to WIDEKL.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-i386.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 4a0c5bb..b526d19 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1007,7 +1007,7 @@ static const arch_entry cpu_arch[] = SUBARCH (387, 387, ANY_387, false), SUBARCH (687, 687, ANY_687, false), SUBARCH (cmov, CMOV, CMOV, false), - SUBARCH (fxsr, FXSR, FXSR, false), + SUBARCH (fxsr, FXSR, ANY_FXSR, false), SUBARCH (mmx, MMX, ANY_MMX, false), SUBARCH (sse, SSE, ANY_SSE, false), SUBARCH (sse2, SSE2, ANY_SSE2, false), @@ -1090,7 +1090,7 @@ static const arch_entry cpu_arch[] = SUBARCH (ptwrite, PTWRITE, PTWRITE, false), SUBARCH (ibt, IBT, IBT, false), SUBARCH (shstk, SHSTK, SHSTK, false), - SUBARCH (gfni, GFNI, GFNI, false), + SUBARCH (gfni, GFNI, ANY_GFNI, false), SUBARCH (vaes, VAES, VAES, false), SUBARCH (vpclmulqdq, VPCLMULQDQ, VPCLMULQDQ, false), SUBARCH (wbnoinvd, WBNOINVD, WBNOINVD, false), @@ -1113,8 +1113,8 @@ static const arch_entry cpu_arch[] = SUBARCH (mcommit, MCOMMIT, MCOMMIT, false), SUBARCH (sev_es, SEV_ES, SEV_ES, false), SUBARCH (tsxldtrk, TSXLDTRK, TSXLDTRK, false), - SUBARCH (kl, KL, KL, false), - SUBARCH (widekl, WIDEKL, WIDEKL, false), + SUBARCH (kl, KL, ANY_KL, false), + SUBARCH (widekl, WIDEKL, ANY_WIDEKL, false), SUBARCH (uintr, UINTR, UINTR, false), SUBARCH (hreset, HRESET, HRESET, false), SUBARCH (avx512_fp16, AVX512_FP16, ANY_AVX512_FP16, false), |