This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,AIX] aix71.h Increase ISA default
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 Feb 2018 14:13:52 -0500
- Subject: [PATCH,AIX] aix71.h Increase ISA default
- Authentication-results: sourceware.org; auth=none
AIX 7.1 minimum hardware is Power6. This patch changes TARGET_DEFAULT
to ISA 2.05.
Thanks, David
* config/rs6000/aix71.h (TARGET_DEFAULT): Change to ISA_2_5_MASKS_EMBEDDED.
Index: aix71.h
===================================================================
--- aix71.h (revision 257941)
+++ aix71.h (working copy)
@@ -127,8 +127,12 @@
%{mpe: -I%R/usr/lpp/ppe.poe/include} \
%{pthread: -D_THREAD_SAFE}"
+#define RS6000_CPU(NAME, CPU, FLAGS)
+#include "rs6000-cpus.def"
+#undef RS6000_CPU
+
#undef TARGET_DEFAULT
-#define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF)
+#define TARGET_DEFAULT ISA_2_5_MASKS_EMBEDDED
#undef PROCESSOR_DEFAULT
#define PROCESSOR_DEFAULT PROCESSOR_POWER7