This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Powerpc64 long double support


On Sun, Mar 07, 2004 at 05:07:08PM +1030, Alan Modra wrote:
> -  operands[2] = CONST0_RTX (DFmode);
> +  REAL_VALUE_TYPE rv;
> +  /* Make a -0.0 */
> +  memset (&rv, 0, sizeof (rv));
> +  rv.sign = 1;
> +  operands[2] = CONST_DOUBLE_FROM_REAL_VALUE (rv, DFmode);

How about 

  REAL_VALUE_TYPE rv = REAL_VALUE_NEGATE (dconst0);



r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]