OSDN Git Service

PR target/35553
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Mar 2008 09:49:43 +0000 (09:49 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Mar 2008 09:49:43 +0000 (09:49 +0000)
commitd3f00eb2cf4bc577869563a0db1b44f3e6b8765a
tree00e1a4f280957573f0753c2ca1663b6b508d2af3
parent20c1b226452a83809bbf5c113b3ecb520a850785
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
gcc/ChangeLog
gcc/config/i386/ammintrin.h
gcc/config/i386/bmmintrin.h
gcc/config/i386/emmintrin.h
gcc/config/i386/i386.h
gcc/config/i386/mmintrin-common.h
gcc/config/i386/smmintrin.h
gcc/config/i386/tmmintrin.h
gcc/config/i386/xmmintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/i386-3.C [new file with mode: 0644]