This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Abt long long support
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Rask Ingemann Lambertsen'" <rask at sygehus dot dk>, "'Ian Lance Taylor'" <iant at google dot com>
- Cc: "'Mohamed Shafi'" <shafitvm at gmail dot com>, "'Mike Stump'" <mrs at apple dot com>, <gcc at gcc dot gnu dot org>
- Date: Fri, 10 Nov 2006 19:11:34 -0000
- Subject: RE: Abt long long support
On 10 November 2006 17:55, Rask Ingemann Lambertsen wrote:
> On Fri, Nov 10, 2006 at 07:17:29AM -0800, Ian Lance Taylor wrote:
>> "Mohamed Shafi" <shafitvm@gmail.com> writes:
>>
>>> 1. What could be the reason for this behavior?
>>
>> I'm really shooting in the dark here, but my guess is that you have a
>> define_expand for movdi that is not reload safe.
>
> And in case the target doesn't have registers capable of holding DImode
> values, consider deleting the movdi pattern.
No, surely you don't want to do that! You really need a movdi pattern -
even more so if there are no natural DImode-sized registers, as gcse can get
terribly confused by bad reg_equal notes if you don't. See e.g.:
http://gcc.gnu.org/ml/gcc/2003-04/msg01397.html
http://gcc.gnu.org/ml/gcc/2004-06/msg00993.html
cheers,
DaveK
--
Can't think of a witty .sigline today....