Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libnvmm movzx is not AT&T syntax, but some bastard...



details:   https://anonhg.NetBSD.org/src/rev/0d41e72b4d81
branches:  trunk
changeset: 996698:0d41e72b4d81
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Feb 06 15:42:31 2019 +0000

description:
movzx is not AT&T syntax, but some bastard version of Intel syntax.
Switch to the equivalent mnenomic.

diffstat:

 tests/lib/libnvmm/h_mem_assist_asm.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 2fe18aadb243 -r 0d41e72b4d81 tests/lib/libnvmm/h_mem_assist_asm.S
--- a/tests/lib/libnvmm/h_mem_assist_asm.S      Wed Feb 06 15:39:41 2019 +0000
+++ b/tests/lib/libnvmm/h_mem_assist_asm.S      Wed Feb 06 15:42:31 2019 +0000
@@ -185,7 +185,7 @@
        movq    $0x12345678,(%rax)
 
        movq    $0xFFFFFFFFFFFFFFFF,%rbx
-       movzxb  (%rax),%ebx
+       movzbl  (%rax),%ebx
        movq    %rbx,(%rax)
 
        TEST_END
@@ -197,7 +197,7 @@
        movq    $0x12345678,(%rax)
 
        movq    $0xFFFFFFFFFFFFFFFF,%rbx
-       movzxw  (%rax),%rbx
+       movzwq  (%rax),%rbx
        movq    %rbx,(%rax)
 
        TEST_END



Home | Main Index | Thread Index | Old Index