re PR rtl-optimization/57193 (suboptimal register allocation for SSE registers)
authorVladimir Makarov <vmakarov@redhat.com>
Fri, 9 Feb 2018 18:23:58 +0000 (18:23 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Fri, 9 Feb 2018 18:23:58 +0000 (18:23 +0000)
commit8c67920556efc5fa97c2080098c202e75b93e2a0
treeec641dffc65fc1989fe74589f03566bb4c97868e
parentd6126f8b8250b857f3e0edfd42f3c33d8534b9a4
re PR rtl-optimization/57193 (suboptimal register allocation for SSE registers)

2018-02-09  Vladimir Makarov  <vmakarov@redhat.com>

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  <vmakarov@redhat.com>

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

From-SVN: r257537
gcc/ChangeLog
gcc/ira-color.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr57193.c [new file with mode: 0644]