[Bug target/78243] incorrect byte offset in vextractuh with -mcpu=power9

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 11 19:12:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78243

--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Fri Nov 11 19:12:12 2016
New Revision: 242317

URL: https://gcc.gnu.org/viewcvs?rev=242317&root=gcc&view=rev
Log:
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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/altivec.md
    trunk/gcc/config/rs6000/vsx.md


More information about the Gcc-bugs mailing list