mn10300/AM33: missing ASHIFT, AND and LABEL_REF in address_cost function

Alexandre Oliva aoliva@cygnus.com
Thu Apr 27 06:29:00 GMT 2000


On Apr 26, 2000, Jeffrey A Law <law@cygnus.com> wrote:

>> * config/mn10300/mn10300.c (mn10300_address_cost): Test
>> ASHIFT, AND and LABEL_REF.

> Fine.  Presumably it does not have a negative impact on code size, right?

No code size changse.

> Actually, I'm rather surprised that ASHIFT/AND show up in address
> calculations on the mn103.

So was I.  It only showed up with high optimization levels, and
obviously never made it to final RTL.  But, if they weren't handled,
we'd abort ().

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me



More information about the Gcc-patches mailing list