Re: Undefined references to 'memcpy' when compiling Linux Kernel

From: Jakub Jelinek (jakub@redhat.com)
Date: Mon Jun 19 2000 - 05:22:55 EST


On Mon, Jun 19, 2000 at 12:04:52PM +0200, John Hughes wrote:
> > Inlined memcpy can be very big in some cases, e.g. when gcc cannot
> > figure out the alignment of the target and destination pointers
>
> But in the case reported on a '386 I'd expect the inlined code to
> be tiny, smaller than the call.

Remember he was compiling with -march=i586, so unaligned rep movsl might not
be the fastest thing to do...

        Jakub

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:16 EST