public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/30038] Call to sin(x), cos(x) should be transformed to sincos(x)
Date: Mon, 22 Jan 2007 11:11:00 -0000	[thread overview]
Message-ID: <20070122111113.23326.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30038-13404@http.gcc.gnu.org/bugzilla/>



------- Comment #18 from rguenth at gcc dot gnu dot org  2007-01-22 11:11 -------
Subject: Bug 30038

Author: rguenth
Date: Mon Jan 22 11:11:00 2007
New Revision: 121052

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121052
Log:
2007-01-22  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/30038
        * tree-ssa-math-opts.c (maybe_record_sincos): New static helper
        function.
        (execute_cse_sincos_1): Likewise.
        (execute_cse_sincos): Likewise.
        (gate_cse_sincos): Likewise.
        (pass_cse_sincos): New pass CSEing sin() and cos() calls using
        the cexpi() canonicalization of sincos().
        * tree-pass.h (pass_cse_sincos): Declare.
        * passes.c (init_optimization_passes): New pass pas_cse_sincos.

        * gcc.dg/builtins-62.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/builtins-62.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/passes.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-pass.h
    trunk/gcc/tree-ssa-math-opts.c


-- 


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


  parent reply	other threads:[~2007-01-22 11:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 10:06 [Bug tree-optimization/30038] New: " burnus at gcc dot gnu dot org
2006-12-01 10:15 ` [Bug tree-optimization/30038] " ubizjak at gmail dot com
2006-12-01 10:57 ` bonzini at gnu dot org
2006-12-01 11:04 ` bonzini at gnu dot org
2006-12-01 16:01 ` rguenth at gcc dot gnu dot org
2006-12-01 16:03 ` rguenth at gcc dot gnu dot org
2006-12-01 18:05 ` burnus at gcc dot gnu dot org
2006-12-06  9:53 ` rguenth at gcc dot gnu dot org
2006-12-07 16:07 ` rguenth at gcc dot gnu dot org
2006-12-07 16:07 ` rguenth at gcc dot gnu dot org
2006-12-07 20:01 ` burnus at gcc dot gnu dot org
2006-12-07 20:19 ` dorit at il dot ibm dot com
2006-12-07 20:32 ` burnus at gcc dot gnu dot org
2006-12-07 20:36 ` burnus at gcc dot gnu dot org
2006-12-07 20:48 ` rguenth at gcc dot gnu dot org
2006-12-07 20:50 ` rguenth at gcc dot gnu dot org
2006-12-12 20:59 ` dorit at il dot ibm dot com
2006-12-17 23:19 ` burnus at gcc dot gnu dot org
2007-01-22 11:11 ` rguenth at gcc dot gnu dot org [this message]
2007-01-22 11:12 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070122111113.23326.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).