This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Failed cross: Alpha->ARM
- To: Stephen Williams <steve at icarus dot icarus dot com>
- Subject: Re: Failed cross: Alpha->ARM
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 17 Dec 1997 00:32:15 -0700
- Cc: egcs at cygnus dot com
- Reply-To: egcs at cygnus dot com
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