This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR optimization/8300 and target/9763 (Sparc)


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]