[Bug rtl-optimization/57193] [6/7/8 Regression] suboptimal register allocation for SSE registers

2018-02-09 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57193

--- Comment #16 from Vladimir Makarov  ---
Author: vmakarov
Date: Fri Feb  9 18:23:58 2018
New Revision: 257537

URL: https://gcc.gnu.org/viewcvs?rev=257537=gcc=rev
Log:
2018-02-09  Vladimir Makarov  

PR rtl-optimization/57193
* ira-color.c (struct allocno_color_data): Add member
conflict_allocno_hard_prefs.
(update_conflict_allocno_hard_prefs): New.
(bucket_allocno_compare_func): Add a preference based on
conflict_allocno_hard_prefs.
(push_allocno_to_stack): Update conflict_allocno_hard_prefs.
(color_allocnos): Remove a dead code.  Initiate
conflict_allocno_hard_prefs.  Call update_costs_from_prefs.

2018-02-09  Vladimir Makarov  

PR rtl-optimization/57193
* gcc.target/i386/57193.c: New.


Added:
trunk/gcc/testsuite/gcc.target/i386/pr57193.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-color.c
trunk/gcc/testsuite/ChangeLog

[Bug rtl-optimization/57193] [6/7/8 Regression] suboptimal register allocation for SSE registers

2018-02-03 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57193

Aldy Hernandez  changed:

   What|Removed |Added

   Last reconfirmed|2015-06-01 00:00:00 |2018-2-3
 CC||aldyh at gcc dot gnu.org

--- Comment #15 from Aldy Hernandez  ---
Reconfirmed.