[Bug target/99531] [11 Regression] Performance regression since gcc 9 (argument passing / register allocation)

2024-05-21 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99531

--- Comment #12 from Oleg Endo  ---
(In reply to Oleg Endo from comment #11)
> 
> This caused PR 115148

I absolutely lack the imagination to see the connection of the change in #c6
and PR 115148.  This is the change in the output code that results in the
problem on SH:

.LVL108:
bt/s.L178   !
mov #-1,r0  !, 
@@ -1832,36 +1830,39 @@
.byte   .L215-.L190
.byte   .L181-.L190
 .LVL109:
-   .align 1
-.L192:
 .LBE111:
 .LBE110:
.loc 1 234 9
.loc 1 234 14
+   .align 1
+.L287:
+   .align 1
+.L288:

Any ideas or suggestions are appreciated.

[Bug target/99531] [11 Regression] Performance regression since gcc 9 (argument passing / register allocation)

2024-05-20 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99531

Oleg Endo  changed:

   What|Removed |Added

 CC||olegendo at gcc dot gnu.org

--- Comment #11 from Oleg Endo  ---
(In reply to GCC Commits from comment #5)
> The master branch has been updated by Vladimir Makarov
> :
> 
> https://gcc.gnu.org/g:a7acb6dca941db2b1c135107dac3a34a20650d5c
> 
> commit r12-5944-ga7acb6dca941db2b1c135107dac3a34a20650d5c
> Author: Vladimir N. Makarov 
> Date:   Mon Dec 13 13:48:12 2021 -0500
> 
> [PR99531] Modify pseudo class cost calculation when processing move
> involving the pseudo and a hard register
> 
> Pseudo class calculated on the 1st iteration should not have a
> special treatment in cost calculation when processing move involving
> the pseudo and a hard register.
> 
> gcc/ChangeLog:
> 
> PR target/99531
> * ira-costs.c (record_operand_costs): Do not take pseudo class
> calculated on the 1st iteration into account when processing move
> involving the pseudo and a hard register.
> 
> gcc/testsuite/ChangeLog:
> 
> PR target/99531
> * gcc.target/i386/pr99531.c: New test.


This caused PR 115148

[Bug target/99531] [11 Regression] Performance regression since gcc 9 (argument passing / register allocation)

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99531

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|10.5|11.5

--- Comment #10 from Richard Biener  ---
GCC 10 branch is being closed.