diff options
author | Adam Langley <agl@google.com> | 2015-04-18 12:05:45 -0700 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-18 12:05:45 -0700 |
commit | 49977fa7e3048d41518223b704c90f1b82588904 (patch) | |
tree | 4af03118c2f988358a4c10c3f2cf4af6fcfa141c /src | |
parent | f1868207a1695286a02f68006030fd9b26b8bb06 (diff) | |
download | external_boringssl-49977fa7e3048d41518223b704c90f1b82588904.zip external_boringssl-49977fa7e3048d41518223b704c90f1b82588904.tar.gz external_boringssl-49977fa7e3048d41518223b704c90f1b82588904.tar.bz2 |
external/boringssl: fix Clang build.
The immediate in this operation is too large for ARM. GCC will
automatically rewrite it to use bic (where bic does an AND NOT). Clang,
however doesn't, and reasonably throws an error.
This change switches to using bic in the source file, thus making both
happy.
Change-Id: I117083f4f70c199e5d2f933c0a0516a6f4059a92
Diffstat (limited to 'src')
-rw-r--r-- | src/crypto/poly1305/poly1305_arm_asm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/poly1305/poly1305_arm_asm.S b/src/crypto/poly1305/poly1305_arm_asm.S index 9d87413..e16f83b 100644 --- a/src/crypto/poly1305/poly1305_arm_asm.S +++ b/src/crypto/poly1305/poly1305_arm_asm.S @@ -160,7 +160,7 @@ openssl_poly1305_neon2_blocks: vpush {q4,q5,q6,q7} mov r12,sp sub sp,sp,#192 -and sp,sp,#0xffffffe0 +bic sp,sp,#31 # qhasm: len = input_3 # asm 1: mov >len=int32#4,<input_3=int32#4 |