aboutsummaryrefslogtreecommitdiff
path: root/tests/asmtest.S
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2017-12-03 04:53:50 +0100
committerMichael Matz <matz@suse.de>2017-12-03 04:53:50 +0100
commit529b44c0d53955309e79de3da677973922f48425 (patch)
tree58bcc97ded93a0a207e1d9514d5c86c9c6832915 /tests/asmtest.S
parent9e0d23cc47359149a39eafffdbb133963980b6ed (diff)
downloadtinycc-529b44c0d53955309e79de3da677973922f48425.tar.gz
tinycc-529b44c0d53955309e79de3da677973922f48425.tar.bz2
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.
Diffstat (limited to 'tests/asmtest.S')
-rw-r--r--tests/asmtest.S3
1 files changed, 3 insertions, 0 deletions
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