This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] arc: Use prefetch instead of prealloc.
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 11 Aug 2016 09:00:23 -0000
- Subject: [newlib-cygwin] arc: Use prefetch instead of prealloc.
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7b1080d9aa6ecb858df12c138da51ba56fbf40be
commit 7b1080d9aa6ecb858df12c138da51ba56fbf40be
Author: Claudiu Zissulescu <claziss@synopsys.com>
Date: Tue Apr 26 15:27:31 2016 +0200
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.
Diff:
---
newlib/libc/machine/arc/memset-archs.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/newlib/libc/machine/arc/memset-archs.S b/newlib/libc/machine/arc/memset-archs.S
index 188b5c4..dc912aa 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