Simplify ix86_expand_vector_move_misalign
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 20 Apr 2016 13:39:28 +0000 (13:39 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 20 Apr 2016 13:39:28 +0000 (06:39 -0700)
commit7ccc95364c7a837ce1701177b0b321e3d525d193
treefbce01cec197a6bbb225fc2cd1367e1f3d8a5d83
parent9e3e4fab8456108a000c66ac084d08f878a42cee
Simplify ix86_expand_vector_move_misalign

Since mov<mode>_internal patterns handle both aligned/unaligned load
and store, we can simplify ix86_avx256_split_vector_move_misalign and
ix86_expand_vector_move_misalign.

* config/i386/i386.c (ix86_avx256_split_vector_move_misalign):
Short-cut unaligned load and store cases.  Handle all integer
vector modes.
(ix86_expand_vector_move_misalign): Short-cut unaligned load
and store cases.  Call ix86_avx256_split_vector_move_misalign
directly without checking mode class.

From-SVN: r235283
gcc/ChangeLog
gcc/config/i386/i386.c