Failed cross: Alpha->ARM

Jeffrey A Law law@cygnus.com
Tue Dec 16 23:33:00 GMT 1997


  In message < 199712160500.VAA04153@icarus.icarus.com >you write:
  >   Host: Alpha Linux RedHat 5.0
  >   Target: ARM Linux
  >   Problem: Constant greater than 2^32 generated in assembler file
  >   Suspected cause: Converting a -1 to 2^32 and then propogating the value.
  > 
  > Try this patch. (In spite of the name, it does apply to the egcs-1.0
  > sources.) As I understand it, it does indeed mess up detecting if the
  > constant that is can load in a simple instruction or requires more
  > complex handling. Here is a ChangeLog and the patch itself.
  > 
  > Mon Oct 20 08:49:16 1997  Stephen Williams  <steve@icarus.com>
  > 
  >        * gcc/config/arm/arm.c: Fixed problem with 64bit hosts generating
  >        bogus assembler for long long constants.
Hmmm, egcs already has code in this function to try and handle this kind
of problem.  Why don't you pick up the latest snapshot and see why the
code to handle this problem isn't working?  That would be a big help to
us.

jeff



More information about the Gcc mailing list