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.
This commit is contained in:
parent
67c5af5b85
commit
7b1080d9aa
|
@ -37,6 +37,8 @@
|
|||
|
||||
#ifdef __ARCHS__
|
||||
|
||||
#define USE_PREFETCH
|
||||
|
||||
#ifdef USE_PREFETCH
|
||||
#define PREWRITE(A,B) prefetchw [(A),(B)]
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue