]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR target/61431 (Powerpc tests pack01.c and p8vector-int128-2.c fail...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 6 Jun 2014 23:52:36 +0000 (23:52 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 6 Jun 2014 23:52:36 +0000 (23:52 +0000)
commit3290b9637b70d1d8cd99247e4cc10f8a812cfc5c
treefea198b4666d912676135dc02abb1b3ae0f00bfd
parent356fb4a0a735149c0a2dd1a2c6d1d3982ba57b8d
backport: re PR target/61431 (Powerpc tests pack01.c and p8vector-int128-2.c fail on little endian power8 systems)

2014-06-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk
2014-06-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/61431
* config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
iterators, VSX_D that handles 64-bit types, and VSX_LE that
handles swapping the two 64-bit double words on little endian
systems.  Include V1TImode and optionally TImode in VSX_LE so that
these types are properly swapped.  Change all of the insns and
splits that do the 64-bit swaps to use VSX_LE.
(vsx_le_perm_load_<mode>): Likewise.
(vsx_le_perm_store_<mode>): Likewise.
(splitters for little endian memory operations): Likewise.
(vsx_xxpermdi2_le_<mode>): Likewise.
(vsx_lxvd2x2_le_<mode>): Likewise.
(vsx_stxvd2x2_le_<mode>): Likewise.

From-SVN: r211332
gcc/ChangeLog
gcc/config/rs6000/vsx.md