http://llvm.org/bugs/show_bug.cgi?id=18892

            Bug ID: 18892
           Summary: __builtin_neon_vld1q_v() won't accept 64-bit (unsigned
                    long *) on aarch64
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

clang --target=aarch64-linux-gnu -xc -c - << EOF
#include <arm_neon.h>
void fn(unsigned long *p, uint64x2_t v) {  vst1q_u64(p, v); }
EOF

gives me:
<stdin>:2:54: warning: incompatible pointer types assigning to 'unsigned long
long *' from 'unsigned long *' [-Wincompatible-pointer-types]

Changing the pointer type to long long fixes things; unfortunately my
/usr/aarch64-linux-gnu/include/stdint.h has uint64_t as simply `unsigned long`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to