Better handling for multi-word values?
Jason Merrill
jason@cygnus.com
Wed Sep 9 05:52:00 GMT 1998
>>>>> Richard Henderson <rth@cygnus.com> writes:
> On Mon, Sep 07, 1998 at 01:56:37PM -0600, Jeffrey A Law wrote:
>> So if concats where extended to handle multiple objects would we be
>> able to use them to do the same thing efficiently?
>>
>> Or should CONCAT go away after your MULTIWORD changes?
> Six the one, half dozen the other.
> I'm not sure how much a thing like MULTIWORD buys us, at least
> in the context of the DImode bits being discussed here. It's
> basically SUBREGs turned inside out, and would still require
> special code in combine and elsewhere to be able to deal with
> them effectively.
Yes. Having to reload and store both words together drastically reduces
the utility of this code. C++ would benefit greatly from being able to
break down a structure into its components and refer to them separately;
especially for things like complex number classes, having to go to memory
is a big lose.
Jason
More information about the Gcc
mailing list