tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: in_cksum (Re: CVS commit: [yamt-lazymbuf] src/sys/arch/amd64/include)



On Sat, Feb 09, 2008 at 09:48:56PM +0900, YAMAMOTO Takashi wrote:
> btw, according to regress/sys/net/in_cksum, i386 asm version
> (cpu_in_cksum.S 1.2) seems slower than portable version
> on my cpu.

Actually, I'm not surprised by that. Given that the inner loop is using
adc all the time, the adds themselve can't run in parallel. I haven't
had time to carefully analyse the code if the amd64 could be ported.

Joerg



Home | Main Index | Thread Index | Old Index