public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/64020] New: jit misses sin/cos optimizations
@ 2014-11-21 19:27 dmalcolm at gcc dot gnu.org
  2014-11-21 23:02 ` [Bug jit/64020] " dmalcolm at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2014-11-21 19:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64020

            Bug ID: 64020
           Summary: jit misses sin/cos optimizations
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org

When running testsuite/jit.dg/test-functions.c under valgrind I noticed that
tree-ssa-math-opts.c:execute_cse_sincos_1 was bailing out at this conditional:

      fndecl = mathfn_built_in (type, BUILT_IN_CEXPI);
      if (!fndecl)
        return false;

(which is actually a memory leak; I'll submit a fix for that as part of PR
jit/63854)

TODO: Why does this fail, and is this leading to missed optimizations in the
jitted code?


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

end of thread, other threads:[~2014-12-09 15:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 19:27 [Bug jit/64020] New: jit misses sin/cos optimizations dmalcolm at gcc dot gnu.org
2014-11-21 23:02 ` [Bug jit/64020] " dmalcolm at gcc dot gnu.org
2014-11-24 11:45 ` dmalcolm at gcc dot gnu.org
2014-11-24 23:05 ` joseph at codesourcery dot com
2014-11-25 19:41 ` dmalcolm at gcc dot gnu.org
2014-11-26  2:05 ` dmalcolm at gcc dot gnu.org
2014-12-01 18:24 ` dmalcolm at gcc dot gnu.org
2014-12-01 18:28 ` dmalcolm at gcc dot gnu.org
2014-12-03 14:56 ` dmalcolm at gcc dot gnu.org
2014-12-09 15:36 ` dmalcolm at gcc dot gnu.org
2014-12-09 15:39 ` dmalcolm at gcc dot gnu.org
2014-12-09 15:40 ` dmalcolm at gcc dot gnu.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).