diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-13 09:49:43 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-13 09:49:43 +0000 |
commit | d3f00eb2cf4bc577869563a0db1b44f3e6b8765a (patch) | |
tree | 00e1a4f280957573f0753c2ca1663b6b508d2af3 /gcc/config/i386/tmmintrin.h | |
parent | 20c1b226452a83809bbf5c113b3ecb520a850785 (diff) | |
download | gcc-d3f00eb2cf4bc577869563a0db1b44f3e6b8765a.tar.gz |
PR target/35553
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
__SSE_USE_INLINED_FUNC__ when using -flag-keep-inline-functions
together with optimization.
* config/i386/xmmintrin.h: Use __SSE_USE_INLINED_FUNC__ instead of
__OPTIMIZE__ to choose between inlined intrinsic SSE function having
immediate arguments and its equivalent macro definition.
* config/i386/bmintrin.h: Ditto.
* config/i386/smmintrin.h: Ditto.
* config/i386/tmmintrin.h: Ditto.
* config/i386/mmintrin-common.h: Ditto.
* config/i386/ammintrin.h: Ditto.
* config/i386/emmintrin.h: Ditto.
testsuite/ChangeLog:
PR target/35553
* g++.dg/other/i386-3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133164 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/tmmintrin.h')
-rw-r--r-- | gcc/config/i386/tmmintrin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/tmmintrin.h b/gcc/config/i386/tmmintrin.h index 0e6a0d49e6f..6fd20b1974c 100644 --- a/gcc/config/i386/tmmintrin.h +++ b/gcc/config/i386/tmmintrin.h @@ -181,7 +181,7 @@ _mm_sign_pi32 (__m64 __X, __m64 __Y) return (__m64) __builtin_ia32_psignd ((__v2si)__X, (__v2si)__Y); } -#ifdef __OPTIMIZE__ +#ifdef __SSE_USE_INLINED_FUNC__ static __inline __m128i __attribute__((__always_inline__, __artificial__)) _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N) { |