aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-21 15:32:38 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-21 15:32:38 -0400
commit30d889161d10b19a26b4bffbbc4a69560410b4ce (patch)
tree997044ac2a391806f6fa1ce65d78cb5d61ab08d6 /gcc/optabs.c
parent82c68a78249be9fd1d0fcdb1c0e6fb699a907e20 (diff)
downloadgcc-30d889161d10b19a26b4bffbbc4a69560410b4ce.zip
gcc-30d889161d10b19a26b4bffbbc4a69560410b4ce.tar.gz
gcc-30d889161d10b19a26b4bffbbc4a69560410b4ce.tar.bz2
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7119
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index b2a2289..7b263bc 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -3098,7 +3098,7 @@ expand_float (to, from, unsignedp)
fixes the bug. */
offset = REAL_VALUE_LDEXP (dconst1, GET_MODE_BITSIZE (GET_MODE (from)));
temp = expand_binop (fmode, add_optab, target,
- immed_real_const_1 (offset, fmode),
+ CONST_DOUBLE_FROM_REAL_VALUE (offset, fmode),
target, 0, OPTAB_LIB_WIDEN);
if (temp != target)
emit_move_insn (target, temp);
@@ -3279,7 +3279,7 @@ expand_fix (to, from, unsignedp)
bitsize = GET_MODE_BITSIZE (GET_MODE (to));
offset = REAL_VALUE_LDEXP (dconst1, bitsize - 1);
- limit = immed_real_const_1 (offset, fmode);
+ limit = CONST_DOUBLE_FROM_REAL_VALUE (offset, fmode);
lab1 = gen_label_rtx ();
lab2 = gen_label_rtx ();