re PR target/78243 (incorrect byte offset in vextractuh with -mcpu=power9)
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 11 Nov 2016 19:12:12 +0000 (19:12 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 11 Nov 2016 19:12:12 +0000 (19:12 +0000)
commita9c1825cdad013d6551e98ca3cadcf6d28a9ec48
treebabc5f5f2ff75ed9804025f3a97c006bf9e013e4
parent9d8f95deca5b9a5ba63c638cf96f4678c68d2bd0
re PR target/78243 (incorrect byte offset in vextractuh with -mcpu=power9)

2016-11-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/78243
* config/rs6000/vsx.md (vsx_extract_<mode>_p9): Correct the
element order for little endian ordering.

* config/rs6000/altivec.md (reduc_plus_scal_<mode>): Use
VECTOR_ELT_ORDER_BIG and not BYTES_BIG_ENDIAN to adjust element
number.

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