[LLVMbugs] [Bug 18892] New: __builtin_neon_vld1q_v() won't accept 64-bit (unsigned long *) on aarch64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 18 19:10:30 PST 2014


            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: unassignedclangbugs at nondot.org
          Reporter: simon.hosie at arm.com
                CC: llvmbugs at cs.uiuc.edu
    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); }

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140219/5077985f/attachment.html>

More information about the llvm-bugs mailing list