86bf64cfc2f401886a5205c43574ce68138b22a2
[openssl.git] / crypto / bn / asm / README
1 All assember in this directory are just version of the file
2 crypto/bn/bn_asm.c.
3
4 Quite a few of these files are just the assember output from gcc since on 
5 quite a few machines they are 2 times faster than the system compiler.
6
7 For the x86, I have hand written assember because of the bad job all
8 compilers seem to do on it.  This normally gives a 2 time speed up in the RSA
9 routines.
10
11 For the DEC alpha, I also hand wrote the assember (except the division which
12 is just the output from the C compiler pasted on the end of the file).
13 On the 2 alpha C compilers I had access to, it was not possible to do
14 64b x 64b -> 128b calculations (both long and the long long data types
15 were 64 bits).  So the hand assember gives access to the 128 bit result and
16 a 2 times speedup :-).
17
18 There are 2 versions of assember for the HP PA-RISC.
19 pa-risc.s is the origional one which works fine.
20 pa-risc2.s is a new version that often generates warnings but if the
21 tests pass, it gives performance that is over 2 times faster than
22 pa-risc.s.
23 Both were generated using gcc :-)