This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Change to gcc/config/i386/emmintrin.h
- From: "Jagasia, Harsha" <harsha dot jagasia at amd dot com>
- To: "Jakub Jelinek" <jakub at redhat dot com>
- Cc: "Ian Lance Taylor" <iant at google dot com>, 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