[Bug target/106895] powerpc64 unable to specify even/odd register pairs in extended inline asm
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 16 03:03:26 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106895
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by jeevitha <jeevitha@gcc.gnu.org>:
https://gcc.gnu.org/g:92bd6918a1892d36a5ad51d4be12f004cc20d931
commit r15-11374-g92bd6918a1892d36a5ad51d4be12f004cc20d931
Author: Jeevitha <jeevitha@linux.ibm.com>
Date: Wed Jul 15 11:51:24 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 <jeevitha@linux.ibm.com>
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.
(cherry picked from commit b7385d51c8170c75b285b0a317884b51d4012e5a)
More information about the Gcc-bugs
mailing list