This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH for [ARM] subsequent use of plus and minus operators couldbe improved


Zack Weinberg wrote:
> Gábor Lóki <alga@rgai.hu> writes:
>
>
>>Richard Earnshaw wrote:
>> > First of all, please read the documents on contributing to GCC and pay
>> > particular attention to the coding standards sections. Patches can only
>> > be accepted if they conform to these standards.
>>
>>Ok. I am done with the code forming.
>
>
> This is looking good.  A couple of style nitpicks:
>

Thanks the suggestions. I am done with them.

>
>
>>I examined the reload_cse_move2add candidate again, but as I saw it
>>first, this function tries to transform move instruction into
>>add. This isn't what I'd like to do, and no other reload_cse passes do
>>the same thing. These were the reasons why I created a new function.
>>You are right. There is no reason for another scan on the RTL. So I
>>merged my code with reload_cse_move2add. You can see in the attached
>>patch.
>
>
> Perhaps it is appropriate to rename reload_cse_move2add - call it
> "postreload_combine" or "postreload_simplify_rtx" or something like
> that.  Other people can make better suggestions than me.
>
>

You are right. It ought to be renamed. "postreload_simplify_rtx" sounds good.

Regards,
	Gábor Lóki



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]