This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.3.4-prerelease fails to build on alphaev6-dec-osf5.1
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>, Joern Rennecke <joern dot rennecke at superh dot com>, Eric Botcazou <ebotcazou at libertysurf dot fr>, Joe Buck <Joe dot Buck at synopsys dot COM>, gcc at gcc dot gnu dot org
- Date: Mon, 24 May 2004 09:45:50 -0700
- Subject: Re: 3.3.4-prerelease fails to build on alphaev6-dec-osf5.1
- References: <20040523170026.GA4558@redhat.com> <Pine.LNX.4.44.0405232236360.31832-100000@www.eyesopen.com>
On Sun, May 23, 2004 at 10:48:16PM -0600, Roger Sayle wrote:
> Almost prophetically Eric's comment #22 on bugzilla PR 11864 reads
> "Beware, however, that other 64-bit ports might be affected by the
> same problem." It's getting late, so I haven't yet checked if there's
> a CANNOT_CHANGE_MODE_CLASS patch for alpha on mainline, which might
> resolve this failure if backported.
I suspect this patch would fix the problem:
2004-01-19 Richard Henderson <rth@redhat.com>
* alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
* alpha.md (UNSPEC_NT_LDA): Remove.
(UNSPEC_CVTLQ, cvtlq): New.
(extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
(extendsidi2_fix): Remove.
(extendsidi2 splitter): Use cvtlq.
(extendsidi2 fp peepholes): Remove.
(cvtql): Use SFmode instead of SImode.
(fix_trunc?fsi): Update to match.
(floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
(movsi): Rename from movsi_nofix, remove f alternatives.
(movsi_nt_vms): Similarly.
(movsi_fix, movsi_nt_vms_fix): Remove.
(nt_lda): Remove.
* alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
r~