aboutsummaryrefslogtreecommitdiff
path: root/string/arm
diff options
context:
space:
mode:
authorVictor Do Nascimento <Victor.DoNascimento@arm.com>2022-08-03 11:48:38 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-08-03 11:48:38 +0100
commit3f5c5bc532c2d3781e8b080dfd1ec712a3978e8e (patch)
treec1b4504c85542ca37b8e4d91c0a91e95322f7dd2 /string/arm
parentc499115c17546ea8cb8cb7727264b6eedc7eb4d9 (diff)
downloadarm-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.S2
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