[Bug rtl-optimization/45685] GCC optimizer for Intel x64 generates inefficient code

2010-09-17 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2010-09-17 09:59 --- This all happens in IF conversion pass. 4.6 regresses in the sense that a branch is emitted instead of cmov for: int summation_helper_1 (long * products, unsigned long count) { int s = 0; unsigned long i; for (i =

[Bug rtl-optimization/45685] GCC optimizer for Intel x64 generates inefficient code

2010-09-17 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2010-09-17 10:02 --- Confirmed. Regression? -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/45685] GCC optimizer for Intel x64 generates inefficient code

2010-09-16 Thread ekuznetsov at divxcorp dot com
--- Comment #3 from ekuznetsov at divxcorp dot com 2010-09-16 23:08 --- Created an attachment (id=21813) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21813action=view) Output of gcc -v -O3 gcc-bug.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45685

[Bug rtl-optimization/45685] GCC optimizer for Intel x64 generates inefficient code

2010-09-15 Thread ekuznetsov at divxcorp dot com
--- Comment #1 from ekuznetsov at divxcorp dot com 2010-09-16 01:18 --- Created an attachment (id=21807) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21807action=view) Sample code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45685