]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86/APX: apply NDD-to-legacy transformation to further CMOVcc forms
authorJan Beulich <jbeulich@suse.com>
Fri, 28 Jun 2024 06:24:45 +0000 (08:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 28 Jun 2024 06:24:45 +0000 (08:24 +0200)
commit2513312930b2b8a0b50fb681f2781372cce3c2f6
tree3f7c66674e212d581fa147903114aa3cef58d30e
parent7add9939175aa71faa37c40dcedcb9190e3b37d8
x86/APX: apply NDD-to-legacy transformation to further CMOVcc forms

With both sources being registers, these insns are almost commutative;
the only extra adjustment needed is inversion of the encoded condition.
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