diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2008-03-26 15:04:44 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2008-03-26 15:04:44 +0000 |
commit | aefa9d43dcc6925454a258b8107e91462e60beac (patch) | |
tree | 974dfbada45151a1464bb76ba72bf9e40597ea73 /gcc/config | |
parent | 35dd7cc326a43e7323effe52421eb237701ee71b (diff) | |
download | gcc-aefa9d43dcc6925454a258b8107e91462e60beac.zip gcc-aefa9d43dcc6925454a258b8107e91462e60beac.tar.gz gcc-aefa9d43dcc6925454a258b8107e91462e60beac.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e1d5aad..3dfb301 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -24311,7 +24311,7 @@ void ix86_emit_swsqrtsf (rtx res, rtx a, enum machine_mode mode, e2 = gen_reg_rtx (mode); e3 = gen_reg_rtx (mode); - real_arithmetic (&r, NEGATE_EXPR, &dconst3, NULL); + real_from_integer (&r, VOIDmode, -3, -1, 0); mthree = CONST_DOUBLE_FROM_REAL_VALUE (r, SFmode); real_arithmetic (&r, NEGATE_EXPR, &dconsthalf, NULL); |