From 529b44c0d53955309e79de3da677973922f48425 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Sun, 3 Dec 2017 04:53:50 +0100 Subject: tccasm: Accept suffixed cmovCC The length suffix for cmovCC isn't necessary as the required register operands always allow length deduction. But let's be nice to users and accept them anyway. Do that without blowing up tables, which means we don't detect invalid suffixes for the given operands, but so be it. --- tests/asmtest.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/asmtest.S b/tests/asmtest.S index 5578705..e9c0e32 100644 --- a/tests/asmtest.S +++ b/tests/asmtest.S @@ -577,10 +577,13 @@ fucomip %st(5), %st cmovs 0x1000, %eax cmovns %edx, %edi cmovne %ax, %si + cmovbw %ax, %di + cmovnbel %edx, %ecx #ifdef __x86_64__ bswapq %rsi bswapq %r10 cmovz %rdi,%rbx + cmovpeq %rsi, %rdx #endif int $3 -- cgit v1.3.1