From 6bd8c936e33db20f7023e11228bc2f2a4fb51f2e Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Thu, 12 May 2016 00:57:02 +0200 Subject: x86-64-asm: Add mov[sz]xq opcodes This adds the zero/sign-extending opcodes with 64bit destinations. --- tests/asmtest.S | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/asmtest.S') diff --git a/tests/asmtest.S b/tests/asmtest.S index 3589f33..e50a5d0 100644 --- a/tests/asmtest.S +++ b/tests/asmtest.S @@ -86,6 +86,13 @@ movl %ebx, %fs movzb 0x1000, %eax movzb 0x1000, %ax +#ifdef __x86_64__ + movzb 0x1000, %rax + movzbq 0x1000, %rbx + movsbq 0x1000, %rdx + movzwq 0x1000, %rdi + movswq 0x1000, %rdx +#endif #ifdef __i386__ pushl %eax -- cgit v1.3.1