[PATCH]: optimize HC11/HC12 32-bit shift pattern

Stephane Carrez stcarrez@nerim.fr
Fri Jul 5 15:07:00 GMT 2002


Hi!

The following patch improves the HC11/HC12 32-bit shifts to avoid saving
a register if we know it is dead at the current point.  I've committed this
on mainline and 3_1 branch.

	Stephane

2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>

	* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
	it is dead.
	("*ashrsi3"): Likewise.
	("*lshrsi3"): Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m68hc11.md.diffs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020705/0c5cbf92/attachment.ksh>


More information about the Gcc-patches mailing list