SSE2 intrinsic source compatibility

H. J. Lu hjl@lucon.org
Wed Jun 4 23:31:00 GMT 2003


On Tue, Jun 03, 2003 at 05:23:15PM -0700, Richard Henderson wrote:
> On Tue, Jun 03, 2003 at 02:27:01PM -0700, H. J. Lu wrote:
> > How hard to make gcc to take icc notation?
> 
> Not hard.  Use V1DImode.
> 
> 

I verified with Intel C++ compiler. It is not recommended to initialize
variables of type __m64 nor __m128 statically this way. It will be nice
for gcc to recognize

__m64 x [2] = { _mm_set1_pi32 (1), _mm_set1_pi32 (2)};

I guess it may be too hard for gcc to do.


H.J.



More information about the Gcc mailing list