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


> 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?

Regards,
chenwj

-- 
Wei-Ren Chen (ééä)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667


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