[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions
ghazi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 16 03:44:00 GMT 2007
------- Comment #5 from ghazi at gcc dot gnu dot org 2007-06-16 03:44 -------
(In reply to comment #2)
> The generic implementation, including for SSE, is
> isgreater (abs(f), FLT_MAX)
> For isfinite, use islessequal instead. For isnan, one can use
> isunordered(f, f)
> For isnormal, it'd be
> isgreaterequal(abs(f), FLT_MIN) & islessequal(abs(f), FLT_MAX)
> which is less likely to be friendly to inline.
Generic isinf implementation here:
http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01103.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30652
More information about the Gcc-bugs
mailing list