diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2016-04-26 15:27:31 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-11 10:59:53 +0200 |
commit | 7b1080d9aa6ecb858df12c138da51ba56fbf40be (patch) | |
tree | a1af6d6677c1822d784f940ac9aa7424cae55623 | |
parent | 67c5af5b85505081aeaed17a1f8a96b2c3900c70 (diff) | |
download | cygnal-7b1080d9aa6ecb858df12c138da51ba56fbf40be.tar.gz cygnal-7b1080d9aa6ecb858df12c138da51ba56fbf40be.tar.bz2 cygnal-7b1080d9aa6ecb858df12c138da51ba56fbf40be.zip |
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.
-rw-r--r-- | newlib/libc/machine/arc/memset-archs.S | 2 |
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 |