Re: [rc4-amd64] RC4 optimized for AMD64

From: Denis Vlasenko
Date: Tue Nov 02 2004 - 16:51:02 EST


On Tuesday 02 November 2004 20:52, dean gaudet wrote:
> On Tue, 2 Nov 2004, Denis Vlasenko wrote:
>
> > On Monday 01 November 2004 22:44, dean gaudet wrote:
> > > note that
> > > p4 would prefer "sub $1, %r11b" here instead of dec... but the difference
> > > is likely minimal.
> >
> > p4 is not the only x86 CPU on the planet. Why should I use
> > longer instruction then?
>
> you're asking about spending one byte? one byte extra for code which
> could perform better on more CPUs?

You're asking about speedup by 1 cycle on a CPU which will be outdated
6 months from now?
--
vda

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