Hi Jeff, thanks for the feedback.
Indeed, there was an issue with copying back the load register when
the load is eliminated.
I just sent a new version
(https://gcc.gnu.org/pipermail/gcc-patches/2024-October/666230.html).
On Fri, Oct 18, 2024 at 9:55 PM Jeff Law wrote:
>
>
>
> On 10/18/24 3:57 AM
On 10/18/24 3:57 AM, Konstantinos Eleftheriou wrote:
From: kelefth
This pass detects cases of expensive store forwarding and tries to avoid them
by reordering the stores and using suitable bit insertion sequences.
For example it can transform this:
strbw2, [x1, 1]
ldr x0,
From: kelefth
This pass detects cases of expensive store forwarding and tries to avoid them
by reordering the stores and using suitable bit insertion sequences.
For example it can transform this:
strbw2, [x1, 1]
ldr x0, [x1] # Expensive store forwarding to larger load.
To