Source-Changes-HG archive

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

[src/trunk]: src/sys/crypto/aes/arch/arm Fix register name in comment.



details:   https://anonhg.NetBSD.org/src/rev/590dbbefcc9a
branches:  trunk
changeset: 1012101:590dbbefcc9a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 22 06:15:21 2020 +0000

description:
Fix register name in comment.

Some time ago I reallocated the registers to avoid inadvertently
clobbering the callee-saves v9, but neglected to update the comment.

diffstat:

 sys/crypto/aes/arch/arm/aes_armv8_64.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1b62fee98770 -r 590dbbefcc9a sys/crypto/aes/arch/arm/aes_armv8_64.S
--- a/sys/crypto/aes/arch/arm/aes_armv8_64.S    Wed Jul 22 05:47:24 2020 +0000
+++ b/sys/crypto/aes/arch/arm/aes_armv8_64.S    Wed Jul 22 06:15:21 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aes_armv8_64.S,v 1.5 2020/07/19 07:32:43 ryo Exp $     */
+/*     $NetBSD: aes_armv8_64.S,v 1.6 2020/07/22 06:15:21 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -827,7 +827,7 @@
         *     carried into x^128 = x^7 + x^2 + x + 1.
         */
        adrl    x0, xtscarry
-       cmlt    v1.2d, v31.2d, #0 /* v1.2d[i] := -1 if v9.2d[i] < 0, else 0 */
+       cmlt    v1.2d, v31.2d, #0 /* v1.2d[i] := -1 if v31.2d[i] < 0, else 0 */
        ldr     q0, [x0]                /* q0 := xtscarry */
        ext     v1.16b, v1.16b, v1.16b, #8 /* swap halves of q1 */
        shl     v31.2d, v31.2d, #1      /* shift */



Home | Main Index | Thread Index | Old Index