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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by jeevitha <[email protected]>:

https://gcc.gnu.org/g:9b8d4dd3ed32e461f084f118046fff25dc5237e8

commit r17-3665-g9b8d4dd3ed32e461f084f118046fff25dc5237e8
Author: Jeevitha <[email protected]>
Date:   Wed Aug 26 03:23:15 2026 -0500

    rs6000: Fix vec_permx wrong-code [PR125138]

    The little-endian expansion of vec_permx modified the permute control
    vector. When the same control vector was used by multiple vec_permx
    calls, later calls used the modified value and produced incorrect
    results.

    Generate the negated control vector in a new pseudo register instead of
    modifying the input operand.

    2026-08-26  Jeevitha Palanisamy  <[email protected]>

    gcc/
            PR target/125138
            * config/rs6000/vsx.md (xxpermx): Use a temporary register for the
            negated control vector.

    gcc/testsuite/
            PR target/125138
            * gcc.target/powerpc/pr125138.c: New test.
  • [Bug target/125138] Instrinsic ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to