mpi: enable assembler on all arm architectures
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 23 Oct 2013 15:36:10 +0000 (18:36 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 23 Oct 2013 15:36:10 +0000 (18:36 +0300)
commit0b39fce7e3ce6761d6bd5195d093ec6857edb7c2
tree070a634732488f6cc98d26dc2c74450de595055d
parent10bf6a7e16ed193f90d2749970a420f00d1d3320
mpi: enable assembler on all arm architectures

* mpi/config.links: remove check for arm >= v6
* mpi/armv6 => mpi/arm: rename directory to reflect that is is generic
  enough

--
MPI ARM assembly do not depend on CPU being armv6. Verified on PXA255:

Before:
Algorithm         generate  100*sign  100*verify
------------------------------------------------
RSA 1024 bit        3990ms   57980ms      1680ms
RSA 2048 bit       59620ms   389430ms      5690ms
RSA 3072 bit       535850ms   1223200ms     12000ms
RSA 4096 bit       449350ms   2707370ms     20050ms

After:
Algorithm         generate  100*sign  100*verify
------------------------------------------------
RSA 1024 bit        2190ms   13730ms       320ms
RSA 2048 bit       12750ms   67640ms       810ms
RSA 3072 bit       110520ms   166100ms      1350ms
RSA 4096 bit       100870ms   357560ms      2170ms

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
[ jk: ARMv6 => ARM in header comments ]
mpi/arm/mpi-asm-defs.h [moved from mpi/armv6/mpi-asm-defs.h with 100% similarity]
mpi/arm/mpih-add1.S [moved from mpi/armv6/mpih-add1.S with 93% similarity]
mpi/arm/mpih-mul1.S [moved from mpi/armv6/mpih-mul1.S with 94% similarity]
mpi/arm/mpih-mul2.S [moved from mpi/armv6/mpih-mul2.S with 94% similarity]
mpi/arm/mpih-mul3.S [moved from mpi/armv6/mpih-mul3.S with 94% similarity]
mpi/arm/mpih-sub1.S [moved from mpi/armv6/mpih-sub1.S with 93% similarity]
mpi/config.links