[Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9

2015-11-23 Thread lvqcl.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68483 --- Comment #6 from lvqcl.mail at gmail dot com --- (In reply to Richard Biener from comment #2) > With i?86 I can confirm your observation but I don't see it fixed on trunk. Sorry, the GCC 6.x compiler that I downloaded was built wit

[Bug other/68483] gcc 5.2: suboptimal code compared to 4.9

2015-11-22 Thread lvqcl.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68483 --- Comment #1 from lvqcl.mail at gmail dot com --- (In reply to lvqcl.mail from comment #0) "gcc version 6.0.0 20151121 (experimental)" from dongsheng-daily (mingw-w64) generates the same code as 4.9.2. So this regression was fixed in 6.x branch.

[Bug target/68482] No vectorization for x86-64

2015-11-22 Thread lvqcl.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68482 --- Comment #2 from lvqcl.mail at gmail dot com --- (In reply to Marc Glisse from comment #1) > The extra cast so 32-bit unsigned and 64-bit pointers can interact confuses > the compiler. Trunk (gcc-6) seems to work fine though, can you c

[Bug other/68483] New: gcc 5.2: suboptimal code compared to 4.9

2015-11-22 Thread lvqcl.mail at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: lvqcl.mail at gmail dot com Target Milestone: --- #include void test(int32_t* input, int32_t* out, unsigned x1, unsigned x2) { unsigned i, j; unsigned end = x1; for(i = j = 0; i < 1000

[Bug target/68482] New: No vectorization for x86-64

2015-11-22 Thread lvqcl.mail at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: lvqcl.mail at gmail dot com Target Milestone: --- GCC ver: 5.2.0 and 4.9.2 Arch: x86-64 Options: -S -O2 -ftree-vectorize -msse2 Code: #include void test(int32_t* input, int32_t* out, unsigned x1, unsigned x2) { unsigned i, j

[Bug c/61423] Incorrect conversion from unsigned int to floating point

2014-06-05 Thread lvqcl.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61423 --- Comment #1 from lvqcl.mail at gmail dot com --- Created attachment 32897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32897&action=edit test program

[Bug c/61423] New: Incorrect conversion from unsigned int to floating point

2014-06-05 Thread lvqcl.mail at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lvqcl.mail at gmail dot com The attached program works incorrectly when compiled for i686 with '-O3 -msse2' or '-O1 -ftree-vectorize -msse2'. GCC compiles the function #