Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch/arm/gen arm bswap32: fix fatal typo in ...



details:   https://anonhg.NetBSD.org/src/rev/0a30ccc1dc21
branches:  trunk
changeset: 957787:0a30ccc1dc21
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Dec 11 09:02:33 2020 +0000

description:
arm bswap32: fix fatal typo in thumb code (PR 55854)

diffstat:

 common/lib/libc/arch/arm/gen/byte_swap_4.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b23a6dab2d7b -r 0a30ccc1dc21 common/lib/libc/arch/arm/gen/byte_swap_4.S
--- a/common/lib/libc/arch/arm/gen/byte_swap_4.S        Fri Dec 11 08:23:46 2020 +0000
+++ b/common/lib/libc/arch/arm/gen/byte_swap_4.S        Fri Dec 11 09:02:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_4.S,v 1.8 2020/12/09 02:46:57 dholland Exp $ */
+/*     $NetBSD: byte_swap_4.S,v 1.9 2020/12/11 09:02:33 dholland Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
        eor     r0, r0, r1, lsr #8      /* a.d.c.b ^ 0.db.0.db -> a.b.c.d */
 #else
        movs    r3, #16
-       lsls    r1, r0, #8              /* d.c.b.a -> c.b.a.0 /*
+       lsls    r1, r0, #8              /* d.c.b.a -> c.b.a.0 */
        lsrs    r0, r0, #8              /* d.c.b.a -> 0.d.c.b */
        rors    r1, r3                  /* c.b.a.0 -> a.0.c.b */
        rors    r0, r3                  /* 0.d.c.b -> c.b.0.d */



Home | Main Index | Thread Index | Old Index