re PR rtl-optimization/78132 (GCC produces invalid instruction (kmovd and kmovq)...
authorJakub Jelinek <jakub@redhat.com>
Fri, 28 Oct 2016 07:12:52 +0000 (09:12 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 28 Oct 2016 07:12:52 +0000 (09:12 +0200)
commit0d9e143c62c7a68474a39de40e5d6104074eee96
tree6863d090de2407d3069a9ae76f697e28c272cfda
parent4d925a90692f9191679ce0517c50ed197038c44d
re PR rtl-optimization/78132 (GCC produces invalid instruction (kmovd and kmovq) for KNL.)

PR rtl-optimization/78132
* ree.c (combine_reaching_defs): Give up if copy_needed and
!HARD_REGNO_MODE_OK (REGNO (src_reg), dst_mode).

* gcc.target/i386/pr78132.c: New test.

From-SVN: r241641
gcc/ChangeLog
gcc/ree.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr78132.c [new file with mode: 0644]