This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38525] sse2(int16) code fails with -O3
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2008 19:31:16 -0000
- Subject: [Bug c++/38525] sse2(int16) code fails with -O3
- References: <bug-38525-17077@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ubizjak at gmail dot com 2008-12-14 19:31 -------
(In reply to comment #2)
> /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include/pmmintrin.h: In
> function ?float __vector__ _mm_addsub_ps(float __vector__, float __vector__)?:
g++ -O3 -fpreprocessed u-array.ii
In file included from /home/lvv/p/lvv/sse.h:23,
from /home/lvv/p/lvv/array.h:35,
from u-array.cc:10:
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include/pmmintrin.h: In
function ?float __vector__ _mm_addsub_ps(float __vector__, float __vector__)?:
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include/pmmintrin.h:53:
error: ?__builtin_ia32_addsubps? was not declared in this scope
[...]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38525