]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: "prefix_extra" tidying
authorJan Beulich <jbeulich@suse.com>
Mon, 7 Aug 2023 09:43:55 +0000 (11:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Aug 2023 09:43:55 +0000 (11:43 +0200)
commit328796dec4da216c8590a29c84592764bc476154
treea1836df7af5f66dd04182b09e3aa2cc9c6c16833
parenta2527a33a7af93c8703bd727cc08f25fbfda90b4
x86: "prefix_extra" tidying

Drop SSE5 leftovers from both its comment and its default calculation.
A value of 2 simply cannot occur anymore. Instead extend the comment to
mention the use of the attribute in "length_vex", clarifying why
"prefix_extra" can actually be meaningful on VEX-encoded insns despite
those not having any real prefixes except possibly segment overrides.

gcc/

* config/i386/i386.md (prefix_extra): Correct comment. Fold
cases yielding 2 into ones yielding 1.
gcc/config/i386/i386.md