public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30652]  New: SSE expansion is missing for isinf() and other fpclassify functions
@ 2007-01-31 12:39 ubizjak at gmail dot com
  2007-01-31 12:57 ` [Bug target/30652] " rguenth at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: ubizjak at gmail dot com @ 2007-01-31 12:39 UTC (permalink / raw)
  To: gcc-bugs

Following testcase does not compile to inlined asm when -mfpmath=sse is used:

--cut here--
int test(double a)
{
        return isinf(a + 2.0);
}
--cut here--

gcc -O2 -msse3 -mfpmath=sse -fomit-frame-pointer:

test:
        movsd   .LC0, %xmm0
        addsd   4(%esp), %xmm0
        movsd   %xmm0, 4(%esp)
        jmp     isinf

An "isinf<mode>2" expander in config/i386/i386.md should be enhanced to expand
isinf() function to use SSE1/SSE2 FP bitops for -mfmpath=sse.


-- 
           Summary: SSE expansion is missing for isinf() and other
                    fpclassify functions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ssemmx
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ubizjak at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30652


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-11-22 17:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 12:39 [Bug target/30652] New: SSE expansion is missing for isinf() and other fpclassify functions ubizjak at gmail dot com
2007-01-31 12:57 ` [Bug target/30652] " rguenth at gcc dot gnu dot org
2007-02-01  0:28 ` rth at gcc dot gnu dot org
2007-02-01  8:16 ` ubizjak at gmail dot com
2007-06-13 15:57 ` ghazi at gcc dot gnu dot org
2007-06-16  3:44 ` ghazi at gcc dot gnu dot org
2007-07-18 17:31 ` ghazi at gcc dot gnu dot org
2007-07-18 17:42 ` ghazi at gcc dot gnu dot org
2007-07-18 17:51 ` ghazi at gcc dot gnu dot org
2007-07-18 18:01 ` ghazi at gcc dot gnu dot org
2008-03-14 16:46 ` rguenth at gcc dot gnu dot org
2008-06-07  4:03 ` ghazi at gcc dot gnu dot org
2009-11-22 17:58 ` ghazi at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).