Here is the new patch discussed in the other thread.

Thanks
Yvan

2013-09-11  Yvan Roux  <[email protected]>
            Vladimir Makarov  <[email protected]>

        * rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations
        from the least significant bit.
        (strip_address_mutations): Add bitfield operations handling.
        (shift_code_p): New predicate for shifting operations.
        (must_be_index_p): Add shifting operations handling.
        (set_address_index): Likewise.


On 11 September 2013 09:00, Yvan Roux <[email protected]> wrote:
> New attempt, with fixes from Richard's comments (discussed in the other 
> thread).
>
> Thanks,
> Yvan
>
> 2013-09-09  Yvan Roux  <[email protected]>
>             Vladimir Makarov  <[email protected]>
>
>         * rtlanal.c (strip_address_mutations): Add bitfield operations
>         handling.
>         (shift_code_p): New predicate for shifting operations.
>         (must_be_index_p): Add shifting operations handling.
>         (set_address_index): Likewise.
>
>
> On 9 September 2013 10:01, Yvan Roux <[email protected]> wrote:
>> Hi,
>>
>> here are the modifications, discussed in another thread, needed in
>> rtlanal.c by ARM targets (AArch32 and AArch64) to build GCC with LRA.
>>
>> Is it ok for trunk ?
>>
>> Thanks,
>> Yvan
>>
>> 2013-09-09  Yvan Roux  <[email protected]>
>>             Vladimir Makarov  <[email protected]>
>>
>>         * rtlanal.c (must_be_index_p, set_address_index): Add ASHIFTRT,
>>         LSHIFTRT, ROTATE, ROTATERT and SIGN_EXTRACT handling.
>>         (set_address_base): Add SIGN_EXTRACT handling.

Attachment: arm-lra-rtl.patch
Description: Binary data

Reply via email to