This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Aarch64] Fix conditional branches with target far away.
- From: Sameera Deshpande <sameera dot deshpande at linaro dot org>
- To: james dot greenhalgh at arm dot com, Richard Earnshaw <richard dot earnshaw at arm dot com>, Richard Sandiford <richard dot sandiford at linaro dot org>, marcus dot shawcroft at arm dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 27 Feb 2018 17:43:27 +0530
- Subject: Re: [Aarch64] Fix conditional branches with target far away.
- Authentication-results: sourceware.org; auth=none
- References: <CAAdirjy_9vvKfM38d-U64f+MPNLeR3x3-JkKWg_Erf0+LCJSAg@mail.gmail.com>
On 14 February 2018 at 14:00, Sameera Deshpande
<sameera.deshpande@linaro.org> wrote:
> Hi!
>
> Please find attached the patch to fix bug in branches with offsets over 1MiB.
> There has been an attempt to fix this issue in commit
> 050af05b9761f1979f11c151519e7244d5becd7c
>
> However, the far_branch attribute defined in above patch used
> insn_length - which computes incorrect offset. Hence, eliminated the
> attribute completely, and computed the offset from insn_addresses
> instead.
>
> Ok for trunk?
>
> gcc/Changelog
>
> 2018-02-13 Sameera Deshpande <sameera.deshpande@linaro.org>
> * config/aarch64/aarch64.md (far_branch): Remove attribute. Eliminate
> all the dependencies on the attribute from RTL patterns.
>
> --
> - Thanks and regards,
> Sameera D.
Gentle reminder!
--
- Thanks and regards,
Sameera D.