[PATCH 2/2] x86: drop redundant checks from ISA-used version determination

Jan Beulich jbeulich@suse.com
Tue Jan 21 13:39:21 GMT 2025


All F16C and all FMA insns are VEX-encoded; there's no need to check
for their Cpu* attributes.

--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -12263,8 +12263,6 @@ output_insn (const struct last_insn *las
 	      && !is_cpu (&i.tm, CpuLWP)
 	      && !is_cpu (&i.tm, CpuTBM)
 	      && !(feature_2_used & GNU_PROPERTY_X86_FEATURE_2_TMM))
-	  || is_cpu (&i.tm, CpuF16C)
-	  || is_cpu (&i.tm, CpuFMA)
 	  || is_cpu (&i.tm, CpuLZCNT)
 	  || is_cpu (&i.tm, CpuMovbe)
 	  || is_cpu (&i.tm, CpuXSAVES)



More information about the Binutils mailing list