]> sourceware.org Git - newlib-cygwin.git/commitdiff
arc: Use prefetch instead of prealloc.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 26 Apr 2016 13:27:31 +0000 (15:27 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 11 Aug 2016 08:59:53 +0000 (10:59 +0200)
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.

newlib/libc/machine/arc/memset-archs.S

index 188b5c490d5eaf5497864898a9ecb4f101e01e1b..dc912aa771df18bc8631e2353863bdbea783a0f2 100644 (file)
@@ -37,6 +37,8 @@
 
 #ifdef __ARCHS__
 
+#define USE_PREFETCH
+
 #ifdef USE_PREFETCH
 #define PREWRITE(A,B)  prefetchw [(A),(B)]
 #else
This page took 0.031839 seconds and 5 git commands to generate.