Commit 4e929432 authored by rth's avatar rth
Browse files

* emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.

        Clear third and following slots, if they exist.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26221 138bc75d-0d04-0410-961f-82ee72b054a4
parent 0abf422d
Tue Apr 6 15:47:51 1999 Richard Henderson <rth@cygnus.com>
* emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
Clear third and following slots, if they exist.
Tue Apr 6 15:45:28 1999 Richard Henderson <rth@cygnus.com>
 
* flow.c (create_basic_block): Make sure the bb note is in the block.
......
......@@ -273,10 +273,17 @@ gen_rtx_CONST_DOUBLE (mode, arg0, arg1, arg2)
HOST_WIDE_INT arg1, arg2;
{
rtx r = rtx_alloc (CONST_DOUBLE);
int i;
PUT_MODE (r, mode);
XEXP (r, 0) = arg0;
XINT (r, 2) = arg1;
XINT (r, 3) = arg2;
XEXP (r, 1) = NULL_RTX;
XWINT (r, 2) = arg1;
XWINT (r, 3) = arg2;
for (i = GET_RTX_LENGTH (CONST_DOUBLE) - 1; i > 3; --i)
XWINT (r, i) = 0;
return r;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment