diff options
author | Victor Do Nascimento <Victor.DoNascimento@arm.com> | 2022-08-03 11:48:38 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-08-03 11:48:38 +0100 |
commit | 3f5c5bc532c2d3781e8b080dfd1ec712a3978e8e (patch) | |
tree | c1b4504c85542ca37b8e4d91c0a91e95322f7dd2 /string/arm | |
parent | c499115c17546ea8cb8cb7727264b6eedc7eb4d9 (diff) | |
download | arm-optimized-routines-3f5c5bc532c2d3781e8b080dfd1ec712a3978e8e.tar.gz |
string: arm: Update feature test macro use in .arch selection
Move away from use of the non-portable __ARM_ARCH_8M_MAIN__ feature
test macro in favour of __ARM_ARCH >= 8 in selecting for target
architecture selection.
Diffstat (limited to 'string/arm')
-rw-r--r-- | string/arm/memchr.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string/arm/memchr.S b/string/arm/memchr.S index 4e82ba3..77fe569 100644 --- a/string/arm/memchr.S +++ b/string/arm/memchr.S @@ -23,7 +23,7 @@ @ Removed unneeded cbz from align loop .syntax unified -#if __ARM_ARCH_8M_MAIN__ +#if __ARM_ARCH >= 8 && __ARM_ARCH_PROFILE == 'M' /* keep config inherited from -march= */ #else .arch armv7-a |