From: Richard Kenner Date: Thu, 21 Apr 1994 19:54:06 +0000 (-0400) Subject: Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1. X-Git-Tag: misc/cutover-egcs-0~6817 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53596fba5b42a2a8ce16a4472ab47af1e5a0cda1;p=thirdparty%2Fgcc.git Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1. From-SVN: r7126 --- diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 789567fc1544..aa85898615aa 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -692,14 +692,14 @@ gen_lowpart_common (mode, x) i = INTVAL (x); r = REAL_VALUE_FROM_TARGET_SINGLE (i); - return immed_real_const_1 (r, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (r, mode); } #else { union {HOST_WIDE_INT i; float d; } u; u.i = INTVAL (x); - return immed_real_const_1 (u.d, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (u.d, mode); } #endif else if (((HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT @@ -730,7 +730,7 @@ gen_lowpart_common (mode, x) i[0] = low, i[1] = high; r = REAL_VALUE_FROM_TARGET_DOUBLE (i); - return immed_real_const_1 (r, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (r, mode); } #else { @@ -748,7 +748,7 @@ gen_lowpart_common (mode, x) u.i[0] = low, u.i[1] = high; #endif - return immed_real_const_1 (u.d, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (u.d, mode); } #endif /* Similarly, if this is converting a floating-point value into a