This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: TImode support for x86_64
On Fri, Oct 05, 2001 at 10:17:36PM +0200, Jan Hubicka wrote:
> Good question. I've tested only the first half of change:
>
> ! parts[0] = GEN_INT (l[1] + (((HOST_WIDE_INT)l[0] << 31) << 1));
I really meant both of these, not just the immed_double_const part.
I think they're both wrong. In fact, I see that they are. Look at
endian() in real.c. As further proof, see ASM_OUTPUT_LONG_DOUBLE
in i386.h.
In summary, this should be
parts[0] = GEN_INT (l[0] + (((HOST_WIDE_INT)l[1] << 31) << 1));
r~