------- 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 pxor %xmm0, %xmm0 cmpltps %xmm0, %xmm1 andps _2il0floatpacket.1(%rip), %xmm1 addps %xmm1, %xmm2 ... _2il0floatpacket.1: .long 0x4f800000,0x4f800000,0x4f800000,0x4f800000 -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |irar at il dot ibm dot com, | |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-07-20 21:13:31 date| | Version|4.4.0 |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40809