diff options
author | Niels Möller <nisse@lysator.liu.se> | 2021-02-02 18:05:23 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2021-02-02 18:05:23 +0100 |
commit | 0489825ec047835a2ad1e2d3c9ba3570783f5739 (patch) | |
tree | f2e7712d4506333b2ebd46e9fdbf790c96836720 | |
parent | d32152f4f8bd468c986b7554578d73fe37b201f2 (diff) | |
download | nettle-0489825ec047835a2ad1e2d3c9ba3570783f5739.tar.gz |
aarch64: Use .arch armv8-a+crypto directive.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | arm64/v8/gcm-hash.asm | 1 | ||||
-rw-r--r-- | configure.ac | 1 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2021-02-02 Niels Möller <nisse@lysator.liu.se> + + * arm64/v8/gcm-hash.asm: Add ".arch armv8-a+crypto" directive. + Supported by both GNU as and clang (the latter at least from + version 3.9.1). + * configure.ac: Don't add -march=armv8-a+crypto to CFLAGS. + 2021-01-31 Niels Möller <nisse@lysator.liu.se> * arm64/v8/gcm-hash.asm: New file, contributed by Maamoun TK and diff --git a/arm64/v8/gcm-hash.asm b/arm64/v8/gcm-hash.asm index d43c3c50..b77b08d6 100644 --- a/arm64/v8/gcm-hash.asm +++ b/arm64/v8/gcm-hash.asm @@ -31,6 +31,7 @@ ifelse(` ') .file "gcm-hash.asm" +.arch armv8-a+crypto .text diff --git a/configure.ac b/configure.ac index 06505728..33ece246 100644 --- a/configure.ac +++ b/configure.ac @@ -478,7 +478,6 @@ if test "x$enable_assembler" = xyes ; then if test "$ABI" = 64 ; then asm_path=arm64 if test "$enable_armv8_a_crypto" = yes ; then - CFLAGS="$CFLAGS -march=armv8-a+crypto" asm_path="arm64/v8 $asm_path" fi else |