summaryrefslogtreecommitdiff
path: root/lib/builtins/arm/sync_fetch_and_max_8.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builtins/arm/sync_fetch_and_max_8.S')
-rw-r--r--lib/builtins/arm/sync_fetch_and_max_8.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/builtins/arm/sync_fetch_and_max_8.S b/lib/builtins/arm/sync_fetch_and_max_8.S
index 12dd46cc9..1eef2b223 100644
--- a/lib/builtins/arm/sync_fetch_and_max_8.S
+++ b/lib/builtins/arm/sync_fetch_and_max_8.S
@@ -14,6 +14,8 @@
#include "sync-ops.h"
+#if __ARM_ARCH_PROFILE != 'M'
#define max_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI) MINMAX_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI, gt)
SYNC_OP_8(max_8)
+#endif