]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86/Solaris: support Sun form of CMOVcc
authorJan Beulich <jbeulich@suse.com>
Fri, 29 Nov 2024 08:37:13 +0000 (09:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 29 Nov 2024 08:37:13 +0000 (09:37 +0100)
commit8a07ebae720c312aef3f19abf2070fbf4ba11187
tree12401a84eec5ab543abe069559438ff622399e12
parent37fb148efeb246e93b0705e662df47118b04ba66
x86/Solaris: support Sun form of CMOVcc

Sun specifies an alternative form for CMOVcc [1], which for some reason
we never cared to support, even if - as per gcc's configure checking for
it - it may have been the only permitted form at some point.

While documentation doesn't indicate FCMOVcc to have similar alternative
forms, gcc assumes so. Hence cover FCMOVcc as well.

[1] https://docs.oracle.com/cd/E37838_01/html/E61064/ennbz.html#XALRMeoizm
gas/config/tc-i386.c
gas/testsuite/gas/i386/solaris/cmov.d [new file with mode: 0644]
gas/testsuite/gas/i386/solaris/cmov.s [new file with mode: 0644]
gas/testsuite/gas/i386/solaris/solaris.exp