altivec.md (UNSPEC_VMRGOW_DIRECT): New constant.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 17 Aug 2017 19:31:54 +0000 (19:31 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 17 Aug 2017 19:31:54 +0000 (19:31 +0000)
commit6ccd2ece2f5232e6fa2d6ebb4227ca03af77b87b
tree7c9f8893512944206b3e4ddcdf5c5fa38e9bed83
parent1f81b32145ae52bda71b76a2fd9f6827e0b7ffea
altivec.md (UNSPEC_VMRGOW_DIRECT): New constant.

2017-08-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.md (UNSPEC_VMRGOW_DIRECT): New constant.
(p8_vmrgew_v4sf_direct): Generalize to p8_vmrgew_<mode>_direct.
(p8_vmrgow_<mode>_direct): New define_insn.
* config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Properly
handle endianness for vmrgew and vmrgow permute patterns.

From-SVN: r251161
gcc/ChangeLog
gcc/config/rs6000/altivec.md
gcc/config/rs6000/rs6000.c