[LLVMbugs] [Bug 15480] New: vec_lde is not conformat. (altivec.h)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 8 21:12:28 PST 2013


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: unassignedclangbugs at nondot.org
          Reporter: lu_zero at gentoo.org
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130309/d6fe5727/attachment.html>


More information about the llvm-bugs mailing list