This is the mail archive of the gcc@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: A plan for eliminating cc0


Ian Lance Taylor <ian@airs.com> writes:

> 3) Write a new CC0 collapse pass.  This pass is run immediately
> after RTL expansion.  It walks the instruction stream looking for
> instructions which set and use CC_REG.  At this point these
> instructions will always be adjacent.  The pass combines them into
> the combined instruction defined in step 2c above.

I'm not understanding why this is a separate pass, instead of
generating the combined instructions directly in the expander.  I
think generic expander support for compare-and-branch instructions
already exists...

zw


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