John Brawn
f8c2c4f161
[LSR] Account for hardware loop instructions ( #147958 )
...
A hardware loop instruction combines a subtract, compare with zero, and
branch. We currently account for the compare and branch being combined
into one in Cost::RateFormula, as part of more general handling for
compare-branch-zero, but don't account for the subtract, leading to
suboptimal decisions in some cases.
Fix this in Cost::RateRegister by noticing when we have such a subtract
and discounting the AddRecCost in such a case.
2025-07-14 16:48:54 +01:00
..
2024-05-27 19:38:08 +01:00
2024-12-07 10:14:36 +03:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-05-22 07:59:57 +03:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-12-07 10:14:36 +03:00
2024-05-27 19:38:08 +01:00
2025-02-01 20:40:50 +03:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-07-14 16:48:54 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-02-01 20:40:50 +03:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-02-01 20:40:50 +03:00
2025-03-06 09:28:44 -08:00
2025-07-03 07:48:08 -04:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-07-10 21:06:52 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-02-01 20:40:50 +03:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-07-14 16:48:54 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-06-14 08:51:56 +01:00
2024-06-14 08:51:56 +01:00
2024-11-06 11:53:33 +00:00
2025-07-03 07:48:08 -04:00
2024-05-27 19:38:08 +01:00
2025-07-10 21:06:52 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-07-03 07:48:08 -04:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2024-05-27 19:38:08 +01:00
2025-07-03 07:48:08 -04:00
2024-05-27 19:38:08 +01:00