Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 The register operand size for "smne...



details:   https://anonhg.NetBSD.org/src/rev/7c2eb579bc6e
branches:  trunk
changeset: 953028:7c2eb579bc6e
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue Feb 23 17:30:56 2021 +0000

description:
The register operand size for "smnegl" and "smsubl' was wrong.
not "smsubl Xd, Xn, Xm, Xa", but "smsubl Xd, Wn, Wm, Xa".

diffstat:

 sys/arch/aarch64/aarch64/disasm.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r a5848fa34f8c -r 7c2eb579bc6e sys/arch/aarch64/aarch64/disasm.c
--- a/sys/arch/aarch64/aarch64/disasm.c Tue Feb 23 17:14:42 2021 +0000
+++ b/sys/arch/aarch64/aarch64/disasm.c Tue Feb 23 17:30:56 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disasm.c,v 1.10 2020/09/05 15:59:09 jakllsch Exp $     */
+/*     $NetBSD: disasm.c,v 1.11 2021/02/23 17:30:56 ryo Exp $  */
 
 /*
  * Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disasm.c,v 1.10 2020/09/05 15:59:09 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disasm.c,v 1.11 2021/02/23 17:30:56 ryo Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -2751,13 +2751,13 @@
        if (Ra == 31) {
                PRINTF("smnegl\t%s, %s, %s\n",
                    ZREGNAME(1, Rd),
-                   ZREGNAME(1, Rn),
-                   ZREGNAME(1, Rm));
+                   ZREGNAME(0, Rn),
+                   ZREGNAME(0, Rm));
        } else {
                PRINTF("smsubl\t%s, %s, %s, %s\n",
                    ZREGNAME(1, Rd),
-                   ZREGNAME(1, Rn),
-                   ZREGNAME(1, Rm),
+                   ZREGNAME(0, Rn),
+                   ZREGNAME(0, Rm),
                    ZREGNAME(1, Ra));
        }
 }



Home | Main Index | Thread Index | Old Index