Allow implicit Altivec and VSX on AIX 6.1 and above

Submitted by David Edelsohn on Feb. 9, 2013, 3:56 p.m.


Message ID
State New
Headers show

Commit Message

David Edelsohn Feb. 9, 2013, 3:56 p.m.
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.

Patch hide | download patch | download mbox

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