Re: [PATCH-wanted] Pentium FPU memcpy

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Tue, 15 Dec 1998 01:14:40 +0000


On Fri, Dec 11, 1998 at 11:35:34PM -0500, Aaron Tiensivu wrote:
> A long long long time ago when I had a P166, this patch ruled my world with
> an iron fist. I was recently given a P60 which I'm using as a
> router/e-mail/internet server for my house. I'm hoping someone out there
> either has, or is maintaining this patch. Any links/mimes/etc of it would
> be greatly appreciated. :)
>
> It's impressive how well a P60 runs under Linux 2.1, and I'm not being
> sarcastic.

Just using the copy & zero code in <asm/string-486.h> would give a big
boost for the Pentium, I suspect. I believe Linus when he says that
file contains bugs, and I wouldn't be at all surprised if the copy isn't
optimal for a Pentium. But it'll be a big improvement over `rep movsl'.

We don't care about the other string functions anyway -- my vote is for
ditching them. Just optimise the zero and copy functions. Any takers?

(Oh yeah, and move those huge codes _out of line_ too -- those huge
unrolled loops don't need to be inline and take valuable memory).

-- Jamie

-
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/