Jagasia, Harsha - RE: Change to gcc/config/i386/emmintrin.h (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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] |
- From: "Jagasia, Harsha"
- To: "Jakub Jelinek"
- Cc: "Ian Lance Taylor" , gcc-patches at gcc dot gnu dot org
- Date: Tue, 6 Feb 2007 12:29:24 -0600
- Subject: RE: Change to gcc/config/i386/emmintrin.h
Hi Jakub,
On Tue, Feb 06, 2007 at 12:11:17PM -0600, Jagasia, Harsha wrote:
From what I can see, xmmintrin.h (SSE header) includes emmintrin.h (SSE2 header) at the end of the file.
/* For backward source compatibility. */ #include <emmintrin.h>
Then perhaps you can do there: /* For backward source compatibility. */ #ifdef SSE2
include <emmintrin.h>
#endif
Jakub
Sure, that's the easy fix. I suspect any code base that Ian or others are running outside of the testsuite, which relies on this behavior, will have to change the makefiles etc accordingly.
Thanks, Harsha
- Follow-Ups:
- Re: Change to gcc/config/i386/emmintrin.h
* From: Ian Lance Taylor
- Re: Change to gcc/config/i386/emmintrin.h
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |