summaryrefslogtreecommitdiff
path: root/libc/string/arc/arcv2/memcpy.S
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2016-11-09 16:03:33 -0800
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 13:44:35 +0100
commitf6cfc2129c6902410619f6cba56022af2977b6a3 (patch)
treeac570d2cf45710ebac41edf1795104c19ab82def /libc/string/arc/arcv2/memcpy.S
parenta9a2380cf01cdae519fdaf8ab021d486c8917e43 (diff)
ARC: string: handle gcc 6.x macro changes
In gcc 6.x cleanup, the macros got renamed. (Need to support the old toggle for some more time) Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libc/string/arc/arcv2/memcpy.S')
-rw-r--r--libc/string/arc/arcv2/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/arc/arcv2/memcpy.S b/libc/string/arc/arcv2/memcpy.S
index 7573daf51..ba29e8790 100644
--- a/libc/string/arc/arcv2/memcpy.S
+++ b/libc/string/arc/arcv2/memcpy.S
@@ -23,7 +23,7 @@
# define EXTRACT_2(RX,RY,IMM) lsr RX, RY, 0x08
#endif
-#ifdef __LL64__
+#if defined(__LL64__) || defined(__ARC_LL64__)
# define PREFETCH_READ(RX) prefetch [RX, 56]
# define PREFETCH_WRITE(RX) prefetchw [RX, 64]
# define LOADX(DST,RX) ldd.ab DST, [RX, 8]