@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions.
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__) || defined(__clang__)
ldmia sp!,{r4,r5,r6,r7,r8,r9,r10,r11,pc}
.size ChaCha20_ctr32,.-ChaCha20_ctr32
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.type ChaCha20_neon,%function
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions. (ARMv8 AES
@ instructions are in aesv8-armx.pl.)
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__) && !defined(__APPLE__)
#if __ARM_MAX_ARCH__>=7
.text
-.arch armv7-a @ don't confuse not-so-latest binutils with argv8 :-)
+.arch armv6 @ don't confuse not-so-latest binutils with argv8 :-)
.fpu neon
.code 32
#undef __thumb2__
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions.
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__)
#endif
.size bn_mul_mont,.-bn_mul_mont
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.type bn_mul8x_mont_neon,%function
#endif
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.text
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions. (ARMv8 PMULL
@ instructions are in aesv8-armx.pl.)
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__) || defined(__clang__)
#endif
.size gcm_gmult_4bit,.-gcm_gmult_4bit
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.globl gcm_init_neon
.align 2
.align 5
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.type sha1_block_data_order_neon,%function
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors. It does have ARMv8-only code, but those
@ instructions are manually-encoded. (See unsha256.)
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__)
#endif
.size sha256_block_data_order,.-sha256_block_data_order
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.globl sha256_block_data_order_neon
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions.
-.arch armv7-a
+.arch armv6
#ifdef __ARMEL__
# define LO 0
#endif
.size sha512_block_data_order,.-sha512_block_data_order
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.globl sha512_block_data_order_neon
#endif
.syntax unified
-.arch armv7-a
+.arch armv6
.fpu vfp
.text
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions.
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__) || defined(__clang__)
$code.=<<___;
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.type ChaCha20_neon,%function
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions. (ARMv8 AES
@ instructions are in aesv8-armx.pl.)
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__) && !defined(__APPLE__)
___
$code.=".arch armv8-a+crypto\n" if ($flavour =~ /64/);
$code.=<<___ if ($flavour !~ /64/);
-.arch armv7-a // don't confuse not-so-latest binutils with argv8 :-)
+.arch armv6 // don't confuse not-so-latest binutils with argv8 :-)
.fpu neon
.code 32
#undef __thumb2__
#endif
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.text
return (OPENSSL_ia32cap_get()[1] & (1 << (41 - 32))) != 0;
}
-#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
+#elif false
#define HWAES
OPENSSL_INLINE int hwaes_capable(void) { return CRYPTO_is_ARMv8_AES_capable(); }
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions.
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__)
$code.=<<___;
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.type bn_mul8x_mont_neon,%function
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions. (ARMv8 PMULL
@ instructions are in aesv8-armx.pl.)
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__) || defined(__clang__)
$code.=<<___;
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.global gcm_init_neon
size_t len);
#endif // OPENSSL_X86
-#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
+#elif false
#define GHASH_ASM_ARM
#define GCM_FUNCREF_4BIT
$code.=<<___;
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.type sha1_block_data_order_neon,%function
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors. It does have ARMv8-only code, but those
@ instructions are manually-encoded. (See unsha256.)
-.arch armv7-a
+.arch armv6
.text
#if defined(__thumb2__)
$code.=<<___;
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.global sha256_block_data_order_neon
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions.
-.arch armv7-a
+.arch armv6
#ifdef __ARMEL__
# define LO 0
$code.=<<___;
#if __ARM_MAX_ARCH__>=7
-.arch armv7-a
+.arch armv6
.fpu neon
.global sha512_block_data_order_neon
my $code = <<____;
.syntax unified
-.arch armv7-a
+.arch armv6
.fpu vfp
.text
// Even when building for 32-bit ARM, support for aarch64 crypto instructions
// will be included.
-#define __ARM_MAX_ARCH__ 8
+#define __ARM_MAX_ARCH__ 6
// ARMV7_NEON is true when a NEON unit is present in the current CPU.
#define ARMV7_NEON (1 << 0)