aboutsummaryrefslogtreecommitdiff
path: root/tests/asmtest.S
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-08-08 20:28:21 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:10 +0100
commit9e0af6d2b513ed7ee2f6221bbdf85a8e54e00fc1 (patch)
tree8d44c365b52cf27257fe43948369b7d59602abb9 /tests/asmtest.S
parentca8c1cd643b12cd652bb73804e1645b75292357a (diff)
downloadtinycc-9e0af6d2b513ed7ee2f6221bbdf85a8e54e00fc1.tar.gz
tinycc-9e0af6d2b513ed7ee2f6221bbdf85a8e54e00fc1.tar.bz2
x86-64-asm: Implement cmpxchg16b
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 dbc6c15..c19db06 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -535,6 +535,9 @@ cmpxchgw %ax, 0x1000
cmpxchgl %eax, 0x1000
invlpg 0x1000
cmpxchg8b 0x1002
+#ifdef __x86_64__
+cmpxchg16b (%rax)
+#endif
fcmovb %st(5), %st
fcmove %st(5), %st