Re: [PATCH 03/13] [RFC] ipath copy routines

From: Alan Cox
Date: Sun Dec 18 2005 - 08:25:48 EST


On Sul, 2005-12-18 at 04:27 +0100, Andi Kleen wrote:
> Robert Walsh <rjwalsh@xxxxxxxxxxxxx> writes:
> >
> > Any chance we could get these moved into the x86_64 arch directory,
> > then? We have to do double-word copies, or our chip gets unhappy.
>
> Standard memcpy will do double word copies if everything is suitably
> aligned. Just use that.

Sorry I have to disagree with that. The standard memcpy may change in
future to have different properties. If you really need specific unusual
properties then you want to be sure that it is obvious they are there.

I'd also like to see Dave's generic C implementation as I don't believe
you can create one the compiler isn't allowed at least technically to do
differently.

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