<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - vec_lde is not conformat. (altivec.h)"
href="http://llvm.org/bugs/show_bug.cgi?id=15480">15480</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>vec_lde is not conformat. (altivec.h)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Headers
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lu_zero@gentoo.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>