On Mon, Jun 15, 2026 at 11:34:43PM +0530, Kishan Parmar wrote: > Hello, > > Below patch is bootstrapped and regtested on powerpc64le-linux-gnu with > no regressions. > > This patch adds infrastructure support for future-altivec as a > builtin-stanza predicate for PowerPC. This provides a framework for > defining builtins that require both -mcpu=future and -maltivec options. > > The future-altivec stanza can be used to add AltiVec-specific builtins for > future PowerPC ISA extensions. > > 2026-06-15 Kishan Parmar <[email protected]> > > gcc/ChangeLog: > * config/rs6000/rs6000-builtin.cc (rs6000_invalid_builtin): Handle > ENB_FUTURE_ALTIVEC and issue a diagnostic requiring -mcpu=future > and -maltivec. > (rs6000_builtin_is_supported): Check TARGET_FUTURE && TARGET_ALTIVEC > for ENB_FUTURE_ALTIVEC built-ins. > * config/rs6000/rs6000-gen-builtins.cc (enum bif_stanza): Add > BSTZ_FUTURE_ALTIVEC entry. > (stanza_map): Add future-altivec stanza mapping. > (enable_string): Add ENB_FUTURE_ALTIVEC. > (write_decls): Add ENB_FUTURE_ALTIVEC to the bif_enable enum in the > generated header file.
This is ok. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: [email protected]
