[uClibc] MIPS - "patent-less" memcpy.S memset.S

Manuel Novoa III mjn3 at codepoet.org
Fri Dec 31 18:06:47 UTC 2004


On Fri, Dec 31, 2004 at 10:15:57AM -0500, Edmond Coté wrote:
> I'm looking to remove uclibc's dependency on MIPS patented
> instructions (unaligned loads/stores) for a specific project.
> 
> Unfortunately, I found that these instructions are hard coded into
> memcpy.S and memset.S (see below)
> 
> http://www.uclibc.org/cgi-bin/cvsweb/uClibc/libc/string/mips/
> 
> Is there a way to force a more generic (or unoptimized) version of
> memcpy and memset, instead of the "optimized" versions? If so, how can
> I go about doing that..

Make sure UCLIBC_HAS_STRING_ARCH_OPT is not set in your uClibc config
file.

Manuel



More information about the uClibc mailing list