This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: New peepholes for 68HC11 and 68HC12
-----BEGIN PGP SIGNED MESSAGE-----
Kazu Hirata wrote:
| Hi Stephane,
|>2004-03-02 Stephane Carrez <firstname.lastname@example.org>
|> * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize
|> sequences of moves.
|> (add peepholes): New peepholes to optimize sequences adding small
|> (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.
| 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
No because these 2 particular peepholes operate on insns that are created after
the peephole2 are applied (as result of the Z register replacement that the
machine reorg does). All other peepholes are peephole2.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----