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: Generate annotations for a binary translator


ééä <chenwj@iis.sinica.edu.tw> writes:

>> Different targets use the machine reorg pass for all sorts of different
>> things.  Most of the code in reorg.c is actually not the machine reorg
>> pass, it is the delay slots pass (pass_delay_slots).  The machine reorg
>> pass (pass_machine_reorg) simply calls targetm.machine_dependent_reorg,
>> which is what a backend (in config/*) calls
>> TARGET_MACHINE_DEPENDENT_REORG.
>
>   Which means if config/arch does NOT define TARGET_MACHINE_DEPENDENT_REORG
> , then pass_machine_reorg does NOTHING for that arch. Am I right?

Correct.

Ian


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