aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-02-23 11:41:55 -0500
committerAndy Polyakov <appro@openssl.org>2016-03-02 12:57:28 +0100
commitbdbd3aea590e45d52c7b120ea6eaff38295b5011 (patch)
tree70fa79f287cb3d6913fa3d55d44af02681eca96f /crypto/bn/asm
parent359aa38fbeecd920a60c739c64cda06fe295684f (diff)
downloadopenssl-bdbd3aea590e45d52c7b120ea6eaff38295b5011.tar.gz
Consistently use arm_arch.h constants in armcap assembly code.
Most of the assembly uses constants from arm_arch.h, but a few references to ARMV7_NEON don't. Consistently use the macros everywhere. Signed-off-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn/asm')
-rw-r--r--crypto/bn/asm/armv4-mont.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/asm/armv4-mont.pl b/crypto/bn/asm/armv4-mont.pl
index 7017ad5f20..6fb5bb40fb 100644
--- a/crypto/bn/asm/armv4-mont.pl
+++ b/crypto/bn/asm/armv4-mont.pl
@@ -121,7 +121,7 @@ bn_mul_mont:
#ifdef __APPLE__
ldr r0,[r0]
#endif
- tst r0,#1 @ NEON available?
+ tst r0,#ARMV7_NEON @ NEON available?
ldmia sp, {r0,r2}
beq .Lialu
add sp,sp,#8