------- Comment #10 from hjl dot tools at gmail dot com  2010-01-17 22:11 
-------
(In reply to comment #7)
> Btw, if you know more about data types than nothing then do not use the
> __m128* types for data but build your vector types yourself with an
> appropriate base type like
> 
> typedef T m128T __attribute__((__vector_size__(16)));

It isn't a bad idea.

> It seems that the Intel intrinsics API at no point follows type-based
> aliasing rules (they even have vectors of characters, so restricting
> types based on possible data types is not going to work out).
> 

That is true.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42779

Reply via email to