Fwd: Regarding porting libgcrypt11 to arm64

Anil Singhar anil.singhar at linaro.org
Thu Nov 28 06:24:07 CET 2013


Could someone from the gcrypt developer community please let me know if the
package "libgcrypt11" has been already been completely ported to arm64. I
saw the following commit related to aarch64 by Jussi Kivilinna in the
development branch:

commit 2901a10dbf1264707debc8402546c07eeac60932
Author: Jussi Kivilinna <jussi.kivilinna at iki.fi>
Date:   Wed Oct 23 18:36:18 2013 +0300

    bufhelp: enable unaligned memory accesses for AArch64 (64-bit ARM)

    * cipher/bufhelp.h [__aarch64__] (BUFHELP_FAST_UNALIGNED_ACCESS): Set
    macro on AArch64.
    Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>

diff --git a/cipher/bufhelp.h b/cipher/bufhelp.h
index 21fac07..198d286 100644
--- a/cipher/bufhelp.h
+++ b/cipher/bufhelp.h
@@ -35,7 +35,8 @@

 #if defined(__i386__) || defined(__x86_64__) || \
     defined(__powerpc__) || defined(__powerpc64__) || \
-    (defined(__arm__) && defined(__ARM_FEATURE_UNALIGNED))
+    (defined(__arm__) && defined(__ARM_FEATURE_UNALIGNED)) || \
+    defined(__aarch64__)

Beyond this I could not find any other arm64 related commits. But looks
like there are other functions such as those under the mpi folder, which
has been traditionally written in assembly and possibly can be optimized
using SIMD instructions available on aarch64/arm64. Could someone please
let me know if anyone is already working on it and if not, may I work on it.

Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20131128/61d8c36f/attachment.html>

More information about the Gcrypt-devel mailing list