builtins.c (expand_builtin_pow, [...]): Remove uses of dconst3, dconstsqrt2, dconstth...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 26 Mar 2008 15:04:44 +0000 (15:04 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 26 Mar 2008 15:04:44 +0000 (15:04 +0000)
commitaefa9d43dcc6925454a258b8107e91462e60beac
tree974dfbada45151a1464bb76ba72bf9e40597ea73
parent35dd7cc326a43e7323effe52421eb237701ee71b
builtins.c (expand_builtin_pow, [...]): Remove uses of dconst3, dconstsqrt2, dconstthird, dconste and/or dconst10.

* builtins.c (expand_builtin_pow, fold_builtin_cabs,
fold_builtin_sqrt, fold_builtin_cbrt, fold_builtin_logarithm,
fold_builtin_hypot, fold_builtin_pow): Remove uses of dconst3,
dconstsqrt2, dconstthird, dconste and/or dconst10.
* config/i386/i386.c (ix86_emit_swsqrtsf): Likewise.
* emit-rtl.c (dconst3, dconst10, dconstm2, dconstthird,
dconstsqrt2, dconste): Delete.
(init_emit_once): Likewise.  Simplify initializing dconstm1.
Constify variable.
* real.c (get_real_const): New.
* real.h (dconst3, dconst10, dconstm2, dconstthird,
dconstsqrt2, dconste): Delete.
(real_value_const, get_real_const): New.

From-SVN: r133607
gcc/ChangeLog
gcc/builtins.c
gcc/config/i386/i386.c
gcc/emit-rtl.c
gcc/real.c
gcc/real.h