[PATCH] Allow implicit Altivec and VSX on AIX 6.1 and above

David Edelsohn dje.gcc@gmail.com
Sat Feb 9 15:56:00 GMT 2013

AIX 6.1 assembler allows enough alignment for Altivec to work with
GCC, so the following patch allows -mcpu= to enable Altivec and VSX by

Bootstrapped on powerpc-ibm-aix7.1.0.0.

- David

        * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine.

Index: aix61.h
--- aix61.h     (revision 195916)
+++ aix61.h     (working copy)
@@ -133,6 +133,9 @@

+/* AIX 6.1 kernel and assembler have necessary support for Altivec and VSX.  */
 /* Define this macro as a C expression for the initializer of an
    array of string to tell the driver program which options are
    defaults for this target and thus do not need to be handled

More information about the Gcc-patches mailing list