This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fine-tuning for can_store_by_pieces
Sandra Loosemore wrote:
> Mark Mitchell wrote:
>
>> In the various places where you clone the macro, I think you should just
>> do:
>>
>> #define SET_BY_PIECES_P(SIZE, ALIGN) STORE_BY_PIECES_P(SIZE, ALIGN)
>>
>> In fact, if you do that in expr.c, under #ifndef SET_BY_PIECES_P, I
>> think you can void changing the other backends at all, as you'll
>> automatically pick up their STORE_BY_PIECES_P definitions.
>
> I previously considered that idea, but that means that just defining
> SET_RATIO to be different than MOVE_RATIO won't do anything useful.
Good point; ignore that suggestion then.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713