From bd93dc6923a9fe202401666a1f2749fbdced9971 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 11 May 2016 18:54:24 +0200 Subject: x86: Improve cmov handling cmov can accept multi sizes, but is also a OPC_TEST opcode, deal with this. --- tests/asmtest.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/asmtest.S b/tests/asmtest.S index 0876aa8..2a9f403 100644 --- a/tests/asmtest.S +++ b/tests/asmtest.S @@ -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 -- cgit v1.3.1