This is the mail archive of the gcc-patches@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]

Re: [patch] h8300: Fix target/11805


Hi Roger and Zack,

> Indeed.  This is perhaps the major advantage of creating even an
> experimental MODE_CC backend for h8300, is that it will allow a
> comparison against the cc0 backend.  By comparing the code generated
> by both backends we can identify deficiencies in GCC's RTL optimizers.
> Finding places where cc0 does better than MODE_CC will help improve
> the code we generate for x86, PPC, etc..., and finding places where
> MODE_CC does better than cc0 could be used to help h8300.

Fixing PR 1532 might be a step towards converting h8300 to MODE_CC.

By the way, I guess converting a cc0 target to MODE_CC would be easy
if one does not care about redundant test instructions.  One could
simply embed comparisons into wherever cc0 is.  Am I correct?

Kazu Hirata


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