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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Avinash Jayakar <[email protected]>:

https://gcc.gnu.org/g:aff83378a42a71fe5d7e1f35caa6d338451a279a

commit r17-7059-gaff83378a42a71fe5d7e1f35caa6d338451a279a
Author: Avinash Jayakar <[email protected]>
Date:   Wed Nov 11 15:20:50 2026 +0530

    rs6000: Add big-endian expected results to xxgenpc-runnable.c

    The vec_genpcvm builtin expands to the xxgenpcv*bm instructions, which
    operate on the vector in big-endian element order.  On big-endian
    targets no byte swap is performed, so the produced vectors differ from
    the little-endian results.

    Select the big-endian expected vectors with __BIG_ENDIAN__ and keep the
    existing values for little-endian targets.  Also move the common input
    vector initializations outside of the conditional block.

    2026-12-03  Avinash Jayakar  <[email protected]>

    gcc/testsuite/ChangeLog:
            PR target/127157
            * gcc.target/powerpc/xxgenpc-runnable.c: Add big-endian expected
            results.

Reply via email to