Messages in this thread | | | Date | Wed, 3 Nov 2004 11:07:29 +0100 | From | Marc Bevand <> | Subject | Re: [rc4-amd64] RC4 optimized for AMD64 |
| |
dean gaudet wrote: | | [...] | you're asking about spending one byte? one byte extra for code which | could perform better on more CPUs?
Guys, this does not matter _for now_, because AFAIK nobody has benchmarked this code on an EM64T P4 CPU.
Obviously, if 'sub $1,X' is proved to be faster than 'dec' on the Intel CPU, then I will change the code (since both instructions are equivalent on AMD CPUs).
-- Marc Bevand http://www.epita.fr/~bevand_m Computer Science School EPITA - System, Network and Security Dept. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |