summaryrefslogtreecommitdiff
path: root/lib/builtins/arm/sync_fetch_and_umax_8.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builtins/arm/sync_fetch_and_umax_8.S')
-rw-r--r--lib/builtins/arm/sync_fetch_and_umax_8.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/builtins/arm/sync_fetch_and_umax_8.S b/lib/builtins/arm/sync_fetch_and_umax_8.S
index 7716cfe82..d9b7965e5 100644
--- a/lib/builtins/arm/sync_fetch_and_umax_8.S
+++ b/lib/builtins/arm/sync_fetch_and_umax_8.S
@@ -14,6 +14,8 @@
#include "sync-ops.h"
+#if __ARM_ARCH_PROFILE != 'M'
#define umax_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, hi)
SYNC_OP_8(umax_8)
+#endif