This is the mail archive of the gcc-patches@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: PATCH: Properly support SSE2 intrinsics


On Wed, Jun 04, 2003 at 05:48:02PM -0700, H. J. Lu wrote:
> On Wed, Jun 04, 2003 at 05:43:43PM -0700, Richard Henderson wrote:
> > On Wed, Jun 04, 2003 at 05:38:42PM -0700, H. J. Lu wrote:
> > > All SSE2 intrinsics are moved into emmintrin.h. That line is for gcc
> > > backward source compatibility only. It does look odd. It works since
> > > both emmintrin.h and xmmintrin.h are protected by #ifndef/#define.
> > 
> > That's not the point.  What, if anything, is left in Intel's xmmintrin.h?
> > If nothing, then I'd think that backward source compatibility is achieved
> > by reducing xmmintrin.h to just one #include and nothing else.
> > 
> 
> xmmintrin.h has SSE intrinsics and emmintrin.h has SSE2 intrinsics.
> 

Here is the updated one. I changed #define to inline.


H.J.

Attachment: gcc-sse2-2.patch
Description: Text document


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