On 2006-09-13, Grant Edwards <[email protected]> wrote:
> On 2006-09-13, Steve Hosgood <[email protected]> wrote:
>
> w> A thought... is it a valid optimisation to replace a routine
>> like 'memcpy', assuming that 'memcpy' is the one from
>> <stdio.h>?
>
> IMO, yes.
>
>> What if the user wrote his own 'memcpy' routine to do
>> something magic and then wondered why it didn't get called?
>
> The NIOS2 target has a -mno-inline-memcpy flag for that exact
> situation.
Doh! The -fno-builtin-memcpy flag is what I was thinking of. I
thought there was a general option to control that, but I
wasn't searching the info page for the right string. I'm not
sure what the difference is between that and the NIOS2
-mno-inline-memcpy.
--
Grant Edwards grante Yow! Will it improve my
at CASH FLOW?
visi.com