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 Use `.arch_extension aes' for aese/a...



details:   https://anonhg.NetBSD.org/src/rev/3c6fe576e0fa
branches:  trunk
changeset: 935367:3c6fe576e0fa
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jun 30 21:53:39 2020 +0000

description:
Use `.arch_extension aes' for aese/aesmc/aesd/aesimc.

Unlike `.arch_extension crypto', this works with clang; both work
with gas, so we'll go with this.

Clang still can't handle aes_armv8_64.S yet -- it gets confused by
dup and mov on lanes, but this makes progress.

diffstat:

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

diffs (18 lines):

diff -r 47b7566f3a34 -r 3c6fe576e0fa sys/crypto/aes/arch/arm/aes_armv8_64.S
--- a/sys/crypto/aes/arch/arm/aes_armv8_64.S    Tue Jun 30 21:41:03 2020 +0000
+++ b/sys/crypto/aes/arch/arm/aes_armv8_64.S    Tue Jun 30 21:53:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aes_armv8_64.S,v 1.2 2020/06/30 21:41:03 riastradh Exp $       */
+/*     $NetBSD: aes_armv8_64.S,v 1.3 2020/06/30 21:53:39 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 #include <aarch64/asm.h>
 
-       .arch_extension crypto
+       .arch_extension aes
 
 /*
  * uint32_t rcon[10]



Home | Main Index | Thread Index | Old Index