This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSE2 intrinsic source compatibility


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]