]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86/APX: optimize MOVBE
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Jan 2024 09:31:38 +0000 (10:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Jan 2024 09:31:38 +0000 (10:31 +0100)
commit0ebcbb1bd03c4fde91b032b50ec9c3a8f376b8be
tree028ab219218cc96320f7d3decb8a68829fd4904e
parentcd35c9fd1e67b2dd8acbda3dfa398e395b22f220
x86/APX: optimize MOVBE

With identical source and destination it can be covered by the NDD-to-
legacy conversion logic as well, even if in this case the original insn
doesn't use an NDD encoding. The size savings are even better here, for
the replacement (BSWAP) not having a ModR/M byte.
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.d
gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.s
opcodes/i386-opc.tbl
opcodes/i386-tbl.h