This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/62147] missed loop counter based optimization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62147

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc64le                 |powerpc64*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-08-16
                 CC|                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Confirmed, on powerpc64 with default tuning.

-m32 generates bdnz just fine.
Using a different limit (as in your code comment)
doesn't help.
Using long int instead of int does work.

The ivopts pass thinks using the pointer as loop
counter is cheapest.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]