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: 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



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