[llvm-bugs] [Bug 38628] New: arm_neon.h doesn't support vmull_p64 on aarch32 armv8-a+crypto

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 18 16:37:44 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38628

            Bug ID: 38628
           Summary: arm_neon.h doesn't support vmull_p64 on aarch32
                    armv8-a+crypto
           Product: clang
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lennox at cs.columbia.edu
                CC: llvm-bugs at lists.llvm.org

According to the ARM C Language Extensions (version 2.1, section 12.3.13,
Crypto Intrinsics):

poly128_t vmull_p64 (poly64_t, poly64_t);
Performs widening polynomial multiplication on double-words low part. Available
on ARMv8 AArch32 and AArch64.

poly128_t vmull_high_p64 (poly64x2_t, poly64x2_t);
Performs widening polynomial multiplication on double-words high part.
Available on ARMv8 AArch32 and AArch64.

However, clang's arm_neon.h incorrectly restricts vmull_p64 support to AArch64
only.  (Additionally, it does *not* restrict it to __ARM_FEATURE_CRYPTO).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180818/42bafea1/attachment.html>


More information about the llvm-bugs mailing list