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: PR target/44999] Replace "and r0, r0, #255" with uxtb in thumb2


I'm not an expert of combine, and I find the following comments in combine.c:

   We try to combine each pair of insns joined by a logical link.
   We also try to combine triples of insns A, B and C when
   C has a link back to B and B has a link back to A.

Only one insn is involved in the change, so combine should not check it.

thanks
Guozhi

On Mon, Jul 26, 2010 at 3:23 PM, Paolo Bonzini <bonzini@gnu.org> wrote:
> On 07/26/2010 08:39 AM, Carrot Wei wrote:
>>
>> ping
>
> After four days? ?People are often on holiday in July.
>
> The patch may be a reasonable approach, however I'd also check whether
> combine attempts this change, and if so why does it fail.
>
> Paolo
>


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