Bad code generation on HPPA platform

John David Anglin dave@hiauly1.hia.nrc.ca
Thu May 8 18:46:00 GMT 2008


> If I am reading things right, the use of r8 and r19 in the ldw
> instruction are switched around.

Yes.  If you do an rtl dump, you should be able to see where the
REG_POINTER flag gets set and if the operand order gets switched.
Sometimes the REG_POINTER flag gets removed by reload, etc.  So,
the operand order should not change after this point.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc mailing list