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

            Bug ID: 15480
           Summary: vec_lde is not conformat. (altivec.h)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Headers
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Apparently it is missing the normal case in which the second argument is a
pointer to a scalar type.

libavcodec/ppc/h264_altivec.c:237:32: error: no matching function for call to  
    'vec_lde'     dc16 = vec_splat((vec_s16) vec_lde(0, &dc), 1);              
                 ^~~~~~~ /usr/bin/../lib/clang/3.3/include/altivec.h:1926:1:
note: candidate function not       viable: no known conversion from 'int *' to
'__vector signed char const *'       for 2nd argument vec_lde(int __a, const
vector signed char *__b) ^ /usr/bin/../lib/clang/3.3/include/altivec.h:1932:1:
note: candidate function not       viable: no known conversion from 'int *' to
'__vector unsigned char const       *' for 2nd argument vec_lde(int __a, const
vector unsigned char *__b) ^
/usr/bin/../lib/clang/3.3/include/altivec.h:1938:1: note: candidate function
not       viable: no known conversion from 'int *' to '__vector short const *'
for       2nd argument vec_lde(int __a, const vector short *__b) ^
/usr/bin/../lib/clang/3.3/include/altivec.h:1944:1: note: candidate function
not       viable: no known conversion from 'int *' to '__vector unsigned short
const       *' for 2nd argument vec_lde(int __a, const vector unsigned short
*__b) ^ /usr/bin/../lib/clang/3.3/include/altivec.h:1950:1: note: candidate
function not       viable: no known conversion from 'int *' to '__vector int
const *' for 2nd       argument vec_lde(int __a, const vector int *__b) ^
/usr/bin/../lib/clang/3.3/include/altivec.h:1956:1: note: candidate function
not       viable: no known conversion from 'int *' to       '__vector unsigned
int const *' for 2nd argument vec_lde(int __a, const vector unsigned int *__b)
^ /usr/bin/../lib/clang/3.3/include/altivec.h:1962:1: note: candidate function
not       viable: no known conversion from 'int *' to '__vector float const *'
for       2nd argument vec_lde(int __a, const vector float *__b)

-- 
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