https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128058

Roger Sayle <roger at nextmovesoftware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |roger at 
nextmovesoftware dot com
                 CC|                            |roger at nextmovesoftware dot 
com

--- Comment #5 from Roger Sayle <roger at nextmovesoftware dot com> ---
Thanks for creating a bugzilla PR to allow this to be tracked.  The issue is
that the aarch64 backend now recognizes the form of the RTL generated by the
middle-end, but aarch64's rtx_costs incorrectly considers this pattern to be
more expensive, so combine doesn't perform the replacement.  The fix is to
update aarch64's rtx_costs.

The hold-up is that aarch64's rtx costing is shared code with the arm backend,
using functions in config/aarch-common.cc, and alas the patch to update the
needed arm pieces hasn't yet been reviewed/approved:
https://gcc.gnu.org/pipermail/gcc-patches/2026-September/732926.html
[Yes, there's a typo in the ChangeLog, -p should be _p].

I hope this explains the current situation.  Summary, I'm on it, but sometimes
the review process is a little slow, and I may need to ping patches more
frequently.

Reply via email to