[Bug target/41868] cell microcode instruction (addic.) is generated for a trivial loop with -O2 optimizations, hurting performance badly
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 22 13:06:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41868
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |segher at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> ---
We no longer generate addic. for this testcase, but that is an accident
(combine first makes dec+cmp into an addic., but then also combines it
with the conditional branch into a bdnz pattern; this needs splitting
later, and since r218591 we no longer split to addic.).
*add<mode>3_imm_{dot,dot2} should have rs6000_gen_cell_microcode in
the condition. Mine.
More information about the Gcc-bugs
mailing list