This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34435] [4.3 Regression] SSE2 intrinsics - emmintrin with optimisations off and type conversion error
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2007 21:40:05 -0000
- Subject: [Bug target/34435] [4.3 Regression] SSE2 intrinsics - emmintrin with optimisations off and type conversion error
- References: <bug-34435-15505@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ubizjak at gmail dot com 2007-12-12 21:39 -------
(In reply to comment #1)
> My suggestion is to force the same "argument"
> type by doing
>
> #define _mm_shuffle_epi32(__A, __B) \
> ((__m128i)__builtin_ia32_pshufd ((__v4si)(__m128i)__A, (int)__B))
>
> and adjust all !__OPTIMIZE__ macro variants this way. (at least this makes
> this testcase work properly)
Thanks for the suggestion, the patch at
http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00560.html implements suggested
approach.
>
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2007-
| |12/msg00560.html
Status|NEW |ASSIGNED
Keywords| |patch
Last reconfirmed|2007-12-12 09:55:10 |2007-12-12 21:39:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34435