aboutsummaryrefslogtreecommitdiff
path: root/tests/asmtest.S
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-08-06 22:48:24 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:09 +0100
commit45b24c37a0ea8886ac13c7a93741566c197071f4 (patch)
treededc1b489c46b7d194a9736443eb3dbf60c3a9f2 /tests/asmtest.S
parent4e46c22d5ca4d03220e30fa524a5aba4b4df75f9 (diff)
downloadtinycc-45b24c37a0ea8886ac13c7a93741566c197071f4.tar.gz
tinycc-45b24c37a0ea8886ac13c7a93741566c197071f4.tar.bz2
x86-64-asm: Implement high %cr registers
Diffstat (limited to 'tests/asmtest.S')
-rw-r--r--tests/asmtest.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S
index 80fb362..a565ec0 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -72,6 +72,8 @@ mov %rcx, %cr3
movq %cr3, %rax
movq %db3, %rbx
movq %dr6, %rax
+mov %cr8, %rsi
+mov %rdi, %cr8
#endif
movl %fs, %ecx
movl %ebx, %fs