summaryrefslogtreecommitdiff
path: root/libc/string/mips/memset.S
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-29 08:53:18 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-29 08:53:18 +0200
commit557f663a8cb7de8cbbfa9ce63b2c956bcaad194c (patch)
tree9a00e4e3dbefed4f2382790e4ef40bc7f6c9bde4 /libc/string/mips/memset.S
parente517397535b0777568fd9c13c4214b63c52d0798 (diff)
mips: allow to disable prefetch support in memcpy/memset
There exist some problem with the new memcpy/memset functions imported from GNU libc/newlib. If you have any problem with the new MIPS optimized assembly try to disable prefetching support. Thanks to Rene Nielsen and Matthew Fortune analyzing the problem so far.
Diffstat (limited to 'libc/string/mips/memset.S')
-rw-r--r--libc/string/mips/memset.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/mips/memset.S b/libc/string/mips/memset.S
index 43034cebb..1c9f14c8c 100644
--- a/libc/string/mips/memset.S
+++ b/libc/string/mips/memset.S
@@ -37,7 +37,7 @@
prefetching. */
#if (__mips == 4) || (__mips == 5) || (__mips == 32) || (__mips == 64)
-# ifndef DISABLE_PREFETCH
+# ifdef __UCLIBC_USE_MIPS_PREFETCH__
# define USE_PREFETCH
# endif
#endif