aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-06-30 16:14:32 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:07 +0100
commit920474115c3182b19008598b0def86cb8fdf1318 (patch)
treea7f6d709703c9a514d45b508ce3df13dab4de8f2 /tests
parent1a5eacb445a0116722e88e1a8a3e88e9d4127d2b (diff)
downloadtinycc-920474115c3182b19008598b0def86cb8fdf1318.tar.gz
tinycc-920474115c3182b19008598b0def86cb8fdf1318.tar.bz2
x86-64-asm: More opcodes
Implement some more opcodes, syscall, sysret, lfence, mfence, sfence.
Diffstat (limited to 'tests')
-rw-r--r--tests/asmtest.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S
index 79419b9..bf51c44 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -607,6 +607,13 @@ int $0x10
rdmsr
rdpmc
ud2
+#ifdef __x86_64__
+ syscall
+ sysret
+ lfence
+ mfence
+ sfence
+#endif
emms
movd %edx, %mm3