Gate all arm asm on Armv6 or better architecture

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-05-24 18:07:48 +01:00
parent 0ffc6f48fa
commit 1416cba81f

View File

@ -671,6 +671,8 @@
* clang and armcc5 under the same conditions).
*/
#if defined(__ARM_ARCH)
#if __ARM_ARCH >= 6
#if defined(__thumb__) && !defined(__thumb2__) // Thumb1 (not Thumb 2) ISA
// Only supported by gcc, when optimisation is enabled; only option A works
@ -698,6 +700,9 @@
#define ARM_OPTION_B
#endif
#endif
#endif
#if defined(ARM_OPTION_A)
#define MULADDC_X1_INIT \