public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/30251]  New: Evaluate bessel functions at compile-time
@ 2006-12-18 15:02 ghazi at gcc dot gnu dot org
  2006-12-24  3:34 ` [Bug middle-end/30251] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2006-12-18 15:02 UTC (permalink / raw)
  To: gcc-bugs

We should use MPFR to evaluate the c99 bessel functions.  However we have to
wait until MPFR implements a suitable interface as described here:

http://gforge.inria.fr/plugins/scmsvn/viewcvs.php/trunk/TODO?root=mpfr&rev=3448&r1=3446&r2=3448


-- 
           Summary: Evaluate bessel functions at compile-time
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
 BugsThisDependsOn: 29335


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


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

* [Bug middle-end/30251] Evaluate bessel functions at compile-time
  2006-12-18 15:02 [Bug middle-end/30251] New: Evaluate bessel functions at compile-time ghazi at gcc dot gnu dot org
@ 2006-12-24  3:34 ` pinskia at gcc dot gnu dot org
  2007-05-03  2:43 ` ghazi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-24  3:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-12-24 03:34 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-24 03:34:02
               date|                            |


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


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

* [Bug middle-end/30251] Evaluate bessel functions at compile-time
  2006-12-18 15:02 [Bug middle-end/30251] New: Evaluate bessel functions at compile-time ghazi at gcc dot gnu dot org
  2006-12-24  3:34 ` [Bug middle-end/30251] " pinskia at gcc dot gnu dot org
@ 2007-05-03  2:43 ` ghazi at gcc dot gnu dot org
  2007-05-18  1:05 ` ghazi at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-05-03  2:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ghazi at gcc dot gnu dot org  2007-05-03 03:43 -------
Bessel patches posted here:
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01624.html
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01663.html

Awaiting review.


-- 


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


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

* [Bug middle-end/30251] Evaluate bessel functions at compile-time
  2006-12-18 15:02 [Bug middle-end/30251] New: Evaluate bessel functions at compile-time ghazi at gcc dot gnu dot org
  2006-12-24  3:34 ` [Bug middle-end/30251] " pinskia at gcc dot gnu dot org
  2007-05-03  2:43 ` ghazi at gcc dot gnu dot org
@ 2007-05-18  1:05 ` ghazi at gcc dot gnu dot org
  2007-05-18  1:16 ` ghazi at gcc dot gnu dot org
  2007-05-19  4:13 ` ghazi at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-05-18  1:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ghazi at gcc dot gnu dot org  2007-05-18 02:04 -------
Subject: Bug 30251

Author: ghazi
Date: Fri May 18 01:04:12 2007
New Revision: 124818

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124818
Log:
        PR middle-end/30251
        * builtins.c (do_mpfr_bessel_n): New.
        (fold_builtin_1): Handle BUILT_IN_J0 and BUILT_IN_J1.
        (fold_builtin_2): Handle BUILT_IN_JN.

testsuite:
        * gcc.dg/torture/builtin-math-4.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/torture/builtin-math-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/30251] Evaluate bessel functions at compile-time
  2006-12-18 15:02 [Bug middle-end/30251] New: Evaluate bessel functions at compile-time ghazi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-05-18  1:05 ` ghazi at gcc dot gnu dot org
@ 2007-05-18  1:16 ` ghazi at gcc dot gnu dot org
  2007-05-19  4:13 ` ghazi at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-05-18  1:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ghazi at gcc dot gnu dot org  2007-05-18 02:15 -------
Subject: Bug 30251

Author: ghazi
Date: Fri May 18 01:15:28 2007
New Revision: 124819

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124819
Log:
        PR middle-end/30251
        * builtins.c (fold_builtin_1): Handle y0, y1.
        (fold_builtin_2): Handle yn.

testsuite:
        * gcc.dg/torture/builtin-math-2.c: Test y0, y1, yn.
        * gcc.dg/torture/builtin-math-4.c: Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/builtin-math-2.c
    trunk/gcc/testsuite/gcc.dg/torture/builtin-math-4.c


-- 


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


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

* [Bug middle-end/30251] Evaluate bessel functions at compile-time
  2006-12-18 15:02 [Bug middle-end/30251] New: Evaluate bessel functions at compile-time ghazi at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-05-18  1:16 ` ghazi at gcc dot gnu dot org
@ 2007-05-19  4:13 ` ghazi at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-05-19  4:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ghazi at gcc dot gnu dot org  2007-05-19 05:12 -------
Functionality installed on trunk.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-05-19  4:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 15:02 [Bug middle-end/30251] New: Evaluate bessel functions at compile-time ghazi at gcc dot gnu dot org
2006-12-24  3:34 ` [Bug middle-end/30251] " pinskia at gcc dot gnu dot org
2007-05-03  2:43 ` ghazi at gcc dot gnu dot org
2007-05-18  1:05 ` ghazi at gcc dot gnu dot org
2007-05-18  1:16 ` ghazi at gcc dot gnu dot org
2007-05-19  4:13 ` 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).