diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-05-29 08:53:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-05-29 08:53:18 +0200 |
commit | 557f663a8cb7de8cbbfa9ce63b2c956bcaad194c (patch) | |
tree | 9a00e4e3dbefed4f2382790e4ef40bc7f6c9bde4 /extra/Configs | |
parent | e517397535b0777568fd9c13c4214b63c52d0798 (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 'extra/Configs')
-rw-r--r-- | extra/Configs/Config.mips | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips index e0b62dd67..919e80c59 100644 --- a/extra/Configs/Config.mips +++ b/extra/Configs/Config.mips @@ -31,3 +31,10 @@ config CONFIG_MIPS_N64_ABI bool "N64 ABI" endchoice + +config UCLIBC_USE_MIPS_PREFETCH + bool "Use MIPS prefetch optimization for memcpy/memset" + default y + help + You get better performance when you use Prefetch. + https://gcc.gnu.org/projects/prefetch.html#mips |