[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2009-07-21 15:36 --- Fixed. BTW: The patch to vectorize unsigned int -> double is at [1]. [1] http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01170.html -- ubizjak at gmail dot com changed: What|Removed |

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread uros at gcc dot gnu dot org
--- Comment #8 from uros at gcc dot gnu dot org 2009-07-21 15:17 --- Subject: Bug 40811 Author: uros Date: Tue Jul 21 15:17:23 2009 New Revision: 149861 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149861 Log: PR target/40811 * config/i386/sse.md (sse2_cvtudq2p

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-07-21 11:32 --- Created an attachment (id=18236) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18236&action=view) implement vectorization of unsigned int -> float This patch vectorizes unsigned int -> float conversion. -- http

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-07-21 10:04 --- Taking a bug. -- ubizjak at gmail dot com changed: What|Removed |Added AssignedTo|unassigned at

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-21 10:04 --- (In reply to comment #4) > Subject: Bug 40811 > > Author: uros > Date: Tue Jul 21 07:22:51 2009 > New Revision: 149847 Sorry, wrong PR number. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40811

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread uros at gcc dot gnu dot org
--- Comment #4 from uros at gcc dot gnu dot org 2009-07-21 07:23 --- Subject: Bug 40811 Author: uros Date: Tue Jul 21 07:22:51 2009 New Revision: 149847 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149847 Log: Backport from mainline: 2009-04-29 Richard Guenthe

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-21 06:15 --- (In reply to comment #2) > > We don't even support int -> double. Yes, we do. Try: #define N 16 extern int u4[N] __attribute__ ((aligned(16))); extern double f4[N] __attribute__ ((aligned(16))); void cvt_u4_f4() { in

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-20 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-07-21 02:52 --- (In reply to comment #1) > What about unsigned int -> double? > We don't even support int -> double. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40811

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-07-20 23:26 --- What about unsigned int -> double? -- ubizjak at gmail dot com changed: What|Removed |Added