This is the mail archive of the
mailing list for the GCC project.
Re: patch: convert scalar literals to vector constants (PR/7277)
On Tue, Jun 03, 2003 at 05:38:54PM -0400, Aldy Hernandez wrote:
> How about:?
> if (INTVAL (x) < 0)
> cst = (unsigned HOST_WIDE_INT) -1;
That's the normal way to do things, yes.
> Hadn't thought of that. What do you suggest gets generated for this?:
I suggest that we actually lay out the bytes as they would
be seen in the target's memory, and then read it back in
For the FP bits you use real_from_target to generate the
REAL_VALUE_TYPE from the bits.