https://gcc.gnu.org/g:919a4a544acd1d04950899c18cf7fe1e12e99471

commit 919a4a544acd1d04950899c18cf7fe1e12e99471
Author: Michael Meissner <meiss...@linux.ibm.com>
Date:   Thu Sep 12 13:26:30 2024 -0400

    Tweak vector-pair.h.
    
    2024-09-12  Michael Meissner  <meiss...@linux.ibm.com>
    
            * config/rs6000/vector-pair.h: If __VPAIR_ASM__ or __VPAIR_NOP10__ 
are
            defined, don't enable using vector pair built-in functions.

Diff:
---
 gcc/config/rs6000/vector-pair.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/vector-pair.h b/gcc/config/rs6000/vector-pair.h
index ad42e246c083..ebfaaa1e8a0c 100644
--- a/gcc/config/rs6000/vector-pair.h
+++ b/gcc/config/rs6000/vector-pair.h
@@ -80,7 +80,7 @@
 #endif
 
 /* Do we have MMA support and the vector pair built-in function?  */
-#if __VPAIR_BUILTIN__
+#if __VPAIR_BUILTIN__ && !__VPAIR_ASM__ && !__VPAIR_NOP10__
 #define vector_pair_t          __vector_pair
 #define vector_pair_f64_t      __vector_pair
 #define vector_pair_f32_t      __vector_pair

Reply via email to