[Bug target/40811] unsigned int to float isn't vectorized
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 21 06:15:00 GMT 2009
------- Comment #3 from ubizjak at gmail dot com 2009-07-21 06:15 -------
(In reply to comment #2)
>
> We don't even support int -> double.
Yes, we do. Try:
#define N 16
extern int u4[N] __attribute__ ((aligned(16)));
extern double f4[N] __attribute__ ((aligned(16)));
void
cvt_u4_f4()
{
int j;
for (j=0; j<N; j++)
f4[j]=u4[j];
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40811
More information about the Gcc-bugs
mailing list