On 12 April 2011 22:59, Aurelien Jarno <aurel...@aurel32.net> wrote: > On alpha, all NaN should trap during a comparison, not only sNaN. Fix > this by using float64_eq() instead of float64_eq_quiet().
The Compiler Writer's Guide disagrees with you: www.compaq.com/cpq-alphaserver/technology/literature/cmpwrgd.pdf page D-4 says CMPTEQ and CMPTUN only raise InvalidOp for SNaN. (the Architecture Handbook is a little less clear but I think the equivalent table is pages B-8 and B-9). So I think this patch which changes helper_cmpteq() isn't needed. -- PMM