From 7b1080d9aa6ecb858df12c138da51ba56fbf40be Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Tue, 26 Apr 2016 15:27:31 +0200 Subject: 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 * libc/machine/arc/memset-archs.S: Use prefetch. --- 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 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 -- cgit v1.2.3