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]: New peepholes for 68HC11 and 68HC12


Hi Stephane,

> 2004-03-02  Stephane Carrez  <stcarrez@nerim.fr>
> 
> 	* config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
> 	sequences of moves.
> 	(add peepholes): New peepholes to optimize sequences adding small
> 	constants.
> 	(bset peepholes): New peepholes to transform an OR in a bset form
> 	(bclr peepholes): Likewise for bclr form.
> 	(cmp peepholes): New peepholes to avoid register copies when comparing.
> 

> +(define_peephole

Do you think you can use peephole2 for this?  Or maybe not as I recall
that m68hc11 port lowers soft registers into hard registers or
something in TARGET_MACHINE_DEPENDENT_REORG.

Kazu Hirata


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