public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Allow implicit Altivec and VSX on AIX 6.1 and above
@ 2013-02-09 15:56 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2013-02-09 15:56 UTC (permalink / raw)
  To: GCC Patches

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
default.

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 @@
 #undef  PROCESSOR_DEFAULT64
 #define PROCESSOR_DEFAULT64 PROCESSOR_POWER7

+/* AIX 6.1 kernel and assembler have necessary support for Altivec and VSX.  */
+#undef OS_MISSING_ALTIVEC
+
 /* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-09 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-09 15:56 [PATCH] Allow implicit Altivec and VSX on AIX 6.1 and above David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).