x86-64: respect {nooptimize} when building VEX prefix
authorJan Beulich <jbeulich@suse.com>
Fri, 3 Feb 2023 07:22:35 +0000 (08:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Feb 2023 07:22:35 +0000 (08:22 +0100)
commit33740f219e4eec3ee0f428a76390b9afc8140ad6
tree52a0144a42b75ee0377f4e039a7edfcc03c2316d
parent739d764954b69fafd4fa7b238cf95149a86b2bda
x86-64: respect {nooptimize} when building VEX prefix

Swapping operands for commutative insns occurs outside of
optimize_encoding() and hence needs explicit checking for a request to
avoid any optimizations.
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-optimize-4.d
gas/testsuite/gas/i386/x86-64-optimize-4.s