This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR optimization/8300 and target/9763 (Sparc)
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 23 Mar 2003 12:15:15 -0800
- Subject: Re: [PATCH] Fix PR optimization/8300 and target/9763 (Sparc)
- References: <200303231013.38468.ebotcazou@libertysurf.fr>
Eric Botcazou <ebotcazou at libertysurf dot fr> writes:
> The proposed fix is to zero the FP regs with a 'fsub' in this case.
> Bootstrapped/regtested on sparc-sun-solaris2.8 (c,c++,objc,f77 3.2 branch)
> and sparc-sun-solaris2.9 (c,c++,objc,f77 3.3 branch).
Will this work if the initial value of the FP register is NaN?
--
- Geoffrey Keating <geoffk at geoffk dot org>