bn_exp.c: move check for AD*X to rsaz-avx2.pl.
authorAndy Polyakov <appro@openssl.org>
Thu, 26 Jun 2014 22:07:15 +0000 (00:07 +0200)
committerAndy Polyakov <appro@openssl.org>
Thu, 26 Jun 2014 22:36:05 +0000 (00:36 +0200)
commit82a9dafe32e1e39b5adff18f9061e43d8df3d3c5
treee6cec6c7989d6ab8fc95cbe7a6c4dc4d8abc479b
parent1536bcfd567d6e369abac1fcaafd56bf7d16d7bb
bn_exp.c: move check for AD*X to rsaz-avx2.pl.

This ensures high performance is situations when assembler supports
AVX2, but not AD*X.
(cherry picked from commit f3f620e1e0fa3553116f0b3e8c8d68b070fcdb79)

Resolved conflicts:

crypto/bn/asm/rsaz-avx2.pl
crypto/bn/asm/rsaz-avx2.pl
crypto/bn/bn_exp.c