This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2007 17:30:50 -0000
- Subject: [Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions
- References: <bug-30652-1649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ghazi at gcc dot gnu dot org 2007-07-18 17:30 -------
Subject: Bug 30652
Author: ghazi
Date: Wed Jul 18 17:30:38 2007
New Revision: 126724
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126724
Log:
PR target/30652
PR middle-end/20558
* builtins.c (expand_builtin_interclass_mathfn): Provide a
generic fallback for isinf.
* c-cppbuiltin.c (builtin_define_float_constants): Move FP max
calculation code ...
* real.c (get_max_float): ... to here.
* real.h (get_max_float): New.
testsuite:
* gcc.dg/pr28796-1.c: Add more cases.
* gcc.dg/pr28796-2.c: Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/c-cppbuiltin.c
trunk/gcc/real.c
trunk/gcc/real.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr28796-1.c
trunk/gcc/testsuite/gcc.dg/pr28796-2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30652