new-ra code sizes on Hitachi H8

Gary Van Sickle tiberius@braemarinc.com
Thu Feb 13 19:33:00 GMT 2003


> Hi Toshi,
> 
>> The Hitachi H8 is a fairly difficult register-allocation situation -
>> only 8 general-purpose registers. So new-ra seems to be doing fairly
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Well, to be overly precise, on the 300H and H8S series: 8 32-bit 
registers, which can be individually treated as 16 16-bit registers, and 
half of those can be individually treated as 16 8-bit registers.  Beats 
the x86 by a long ways anyway ;-).

>> well.  Only 4 testcases increased in size; the other 12 decreased in
>> size.
> 
> This is impressive.  Maybe I should help Michael Matz by running
> testsuite and other things with -fnew-ra.  Thanks for reporting this.
> Also I am happy to see code size decreasing over the past few
> years. :-)
> 
> Kazu Hirata

Probably not as happy as I am ;-).  I've been using gcc targeting 
Hitatchi H8, H8300H, and H8S micros for years now and its been a 
godsend.  I want to take this opportunity to thank everyone involved in 
the gcc project, and especially those working the Hitachi angles, and 
especially you Kazu, I've seen a lot of activity by you in recent 
months.  Know that your work is directly helping to improve the quality 
of life of people all over the globe.




More information about the Gcc mailing list