From abf7fd5db81a35586c5c90be940f4d058450d009 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 6 Feb 2019 15:42:31 +0000 Subject: [PATCH] movzx is not AT&T syntax, but some bastard version of Intel syntax. Switch to the equivalent mnenomic. --- tests/lib/libnvmm/h_mem_assist_asm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/libnvmm/h_mem_assist_asm.S b/tests/lib/libnvmm/h_mem_assist_asm.S index 7f1e80f8475b..f69d08355eb0 100644 --- a/tests/lib/libnvmm/h_mem_assist_asm.S +++ b/tests/lib/libnvmm/h_mem_assist_asm.S @@ -185,7 +185,7 @@ test10_begin: movq $0x12345678,(%rax) movq $0xFFFFFFFFFFFFFFFF,%rbx - movzxb (%rax),%ebx + movzbl (%rax),%ebx movq %rbx,(%rax) TEST_END @@ -197,7 +197,7 @@ test11_begin: movq $0x12345678,(%rax) movq $0xFFFFFFFFFFFFFFFF,%rbx - movzxw (%rax),%rbx + movzwq (%rax),%rbx movq %rbx,(%rax) TEST_END