From: hjagasia Date: Thu, 8 Feb 2007 22:37:01 +0000 (+0000) Subject: * config/i386/xmmintrin.h: Make inclusion of emmintrin.h X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfad7f6690912c661aecac2592f64134eec6524d;p=thirdparty%2Fgcc.git * config/i386/xmmintrin.h: Make inclusion of emmintrin.h conditional to __SSE2__. (Entries below should have been added to first ChangeLog entry for amdfam10 dated 2007-02-05) * config/i386/emmintrin.h: Generate #error if __SSE2__ is not defined. * config/i386/pmmintrin.h: Generate #error if __SSE3__ is not defined. * config/i386/tmmintrin.h: Generate #error if __SSSE3__ is not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121726 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 232a4a1efea0..ac5affef4a8b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2007-02-08 Harsha Jagasia + + * config/i386/xmmintrin.h: Make inclusion of emmintrin.h + conditional to __SSE2__. + (Entries below should have been added to first ChangeLog + entry for amdfam10 dated 2007-02-05) + * config/i386/emmintrin.h: Generate #error if __SSE2__ is not + defined. + * config/i386/pmmintrin.h: Generate #error if __SSE3__ is not + defined. + * config/i386/tmmintrin.h: Generate #error if __SSSE3__ is not + defined. + 2007-02-08 DJ Delorie * config/m32c/m32c-protos.h (m32c_illegal_subreg_p): New. diff --git a/gcc/config/i386/xmmintrin.h b/gcc/config/i386/xmmintrin.h index 582f7e3a18b7..48b177c2a5e8 100644 --- a/gcc/config/i386/xmmintrin.h +++ b/gcc/config/i386/xmmintrin.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003, 2004, 2005, 2006 +/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GCC. @@ -1242,7 +1242,9 @@ do { \ } while (0) /* For backward source compatibility. */ -#include +#ifdef __SSE2__ +# include +#endif #endif /* __SSE__ */ #endif /* _XMMINTRIN_H_INCLUDED */