Re: [PATCH,AIX] aix71.h Increase ISA default
On Sat, Feb 24, 2018 at 6:19 PM, Segher Boessenkool wrote: > Hi David, > > On Fri, Feb 23, 2018 at 02:13:52PM -0500, David Edelsohn wrote: >> AIX 7.1 minimum hardware is Power6. This patch changes TARGET_DEFAULT >> to ISA 2.05. > >> #undef TARGET_DEFAULT >> -#define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF) >> +#define TARGET_DEFAULT ISA_2_5_MASKS_EMBEDDED > > Don't you want ISA_2_5_MASKS_SERVER then? Or don't you want DFP? I intentionally chose EMBEDDED to omit DFP. Thanks, David
Re: [PATCH,AIX] aix71.h Increase ISA default
Hi David, On Fri, Feb 23, 2018 at 02:13:52PM -0500, David Edelsohn wrote: > AIX 7.1 minimum hardware is Power6. This patch changes TARGET_DEFAULT > to ISA 2.05. > #undef TARGET_DEFAULT > -#define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF) > +#define TARGET_DEFAULT ISA_2_5_MASKS_EMBEDDED Don't you want ISA_2_5_MASKS_SERVER then? Or don't you want DFP? Segher
[PATCH,AIX] aix71.h Increase ISA default
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