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

--- Comment #14 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:0d82756a365ee6189af4490345bc0d2595007c84

commit r17-1281-g0d82756a365ee6189af4490345bc0d2595007c84
Author: Jeevitha <[email protected]>
Date:   Thu Jun 4 01:52:08 2026 -0500

    rs6000: Fix PTImode attribute handling [PR106895]

    PTImode is used to generate even/odd register pairs for 128-bit values.
    When PTImode is specified via a type attribute, compilation fails
    because no internal type exists to represent this mode.

    Introduce signed and unsigned PTImode internal builtin types to handle
    PTImode. These __pti_internal types are not documented, as they are not
    intended for direct user use.

    2026-06-04  Jeevitha Palanisamy  <[email protected]>

    gcc/
            PR target/106895
            * config/rs6000/rs6000.h (enum rs6000_builtin_type_index): Add
            RS6000_BTI_INTPTI and RS6000_BTI_UINTPTI.
            (intPTI_type_internal_node, uintPTI_type_internal_node): New
            PTImode type macros.
            * config/rs6000/rs6000-builtin.cc (rs6000_init_builtins): Register
            signed and unsigned PTImode internal builtin types.
            * config/rs6000/sync.md (trunctipti2): New splitter.
            (extendptiti2): Likewise.
            (zero_extendptiti2): Likewise.

    gcc/testsuite/
            PR target/106895
            * gcc.target/powerpc/pr106895-1.c: New test.
            * gcc.target/powerpc/pr106895-2.c: New test.

Reply via email to