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/3b866b98c470
branches:  trunk
changeset: 973437:3b866b98c470
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 d5fda8b6b474 -r 3b866b98c470 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