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 4.8, i386]: Enable post-reload compare optimization pass (PR28685)


On Sun, Feb 5, 2012 at 6:27 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:

>> ? ? ? ?PR target/28685
>> ? ? ? ?* config/i386/i386.c (TARGET_FLAGS_REGNUM): New.
>>
>
> Hmm, how is this (apparently new in 2011) TARGET_FLAGS_REGNUM
> different from the older targetm.fixed_condition_code_regs?

This is how backend enables the pass, please see
gate_compare_elim_after_reload function in gcc/compare-elim.c.

FWIW, the value could be anything != INVALID_REGNUM.

Uros.


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