]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: correct ISA-used version recording
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Feb 2025 08:35:07 +0000 (09:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Feb 2025 08:35:07 +0000 (09:35 +0100)
commitb5cb46b155500a87e27ffd4ee3c6b2fca6b82d5d
tree742710702c4e5009df2201286dcfd77c424cc11a
parent69d68fbeb88aa12949838916a8f1b957a85097a1
x86: correct ISA-used version recording

Updating should be based solely on the current instruction. For example,
recording of VEX-encoded insns as v3 should be independent of there
being earlier AMX insns.

Further for BASELINE only a very limited set of the
GNU_PROPERTY_X86_FEATURE_2_* bits should actually be taken into account:
Most of the bits represent advanced (later) features (XSAVE, XSAVEOPT,
and XSAVEC for example being part of v3).
gas/config/tc-i386.c
gas/testsuite/gas/i386/property-6.d