[Bug target/40809] wrong conversion from unsigned int to float

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 40809 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/40809] wrong conversion from unsigned int to float

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-07-21 10:00 --- 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 Guenther

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-21 Thread uros at gcc dot gnu dot org
--- Comment #6 from uros at gcc dot gnu dot org 2009-07-21 09:57 --- Subject: Bug 40809 Author: uros Date: Tue Jul 21 09:57:46 2009 New Revision: 149851 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149851 Log: Backport from mainline: 2009-04-29 Richard Guenthe

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-20 23:12 --- (In reply to comment #4) > (In reply to comment #3) > > PR 39943 ? > > > > Yes, it is. Gcc 4.5.0 revision 149104 works fine. Should the fix > backported to 4.3/4.4 branches? Yes, please reopen PR 39943 as a regression f

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-07-20 22:51 --- (In reply to comment #3) > PR 39943 ? > Yes, it is. Gcc 4.5.0 revision 149104 works fine. Should the fix backported to 4.3/4.4 branches? -- hjl dot tools at gmail dot com changed: What|Removed

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-20 22:46 --- PR 39943 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40809

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-07-20 21:16 --- (In reply to comment #1) > Vectorizer needs to check signs when vectorizing conversions from > unsigned int to float if int > float vector insn is used. For example: > Should it be done in vectorizer or in backend?

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-07-20 21:13 --- Vectorizer needs to check signs when vectorizing conversions from unsigned int to float if int > float vector insn is used. For example: cvtdq2ps u4(%rip), %xmm2 movaps%xmm2, %xmm1