x86: Improve cmov handling

cmov can accept multi sizes, but is also a OPC_TEST opcode,
deal with this.
This commit is contained in:
Michael Matz
2016-05-11 18:54:24 +02:00
parent 9645b62a65
commit bd93dc6923
4 changed files with 11 additions and 9 deletions

View File

@ -474,6 +474,10 @@ fucomip %st(5), %st
cmovo 0x1000, %eax
cmovs 0x1000, %eax
cmovns %edx, %edi
cmovne %ax, %si
#ifdef __x86_64__
cmovz %rdi,%rbx
#endif
int $3
int $0x10