diff mbox series

[AIX] aix71.h Increase ISA default

Message ID CAGWvnymKHgneTc+FBoY5AAph0ZsCLJY1tWtxVji6-oDDpPbTqg@mail.gmail.com
State New
Headers show
Series [AIX] aix71.h Increase ISA default | expand

Commit Message

David Edelsohn Feb. 23, 2018, 7:13 p.m. UTC
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.

Comments

Segher Boessenkool Feb. 24, 2018, 11:19 p.m. UTC | #1
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
David Edelsohn Feb. 25, 2018, 2:04 a.m. UTC | #2
On Sat, Feb 24, 2018 at 6:19 PM, Segher Boessenkool
<segher@kernel.crashing.org> 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
diff mbox series

Patch

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