Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2016-04-26 16:27:31 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-08-11 11:59:53 +0300
commit7b1080d9aa6ecb858df12c138da51ba56fbf40be (patch)
treea1af6d6677c1822d784f940ac9aa7424cae55623 /newlib/libc/machine
parent67c5af5b85505081aeaed17a1f8a96b2c3900c70 (diff)
arc: Use prefetch instead of prealloc.
Prealloc instruction may not be present in all HS variants. Hence, use prefetch instead of prealloc. newlib/ 2016-04-26 Claudiu Zissulescu <claziss@synopsys.com> * libc/machine/arc/memset-archs.S: Use prefetch.
Diffstat (limited to 'newlib/libc/machine')
-rw-r--r--newlib/libc/machine/arc/memset-archs.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/machine/arc/memset-archs.S b/newlib/libc/machine/arc/memset-archs.S
index 188b5c490..dc912aa77 100644
--- a/newlib/libc/machine/arc/memset-archs.S
+++ b/newlib/libc/machine/arc/memset-archs.S
@@ -37,6 +37,8 @@
#ifdef __ARCHS__
+#define USE_PREFETCH
+
#ifdef USE_PREFETCH
#define PREWRITE(A,B) prefetchw [(A),(B)]
#else