public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH,AIX] aix71.h Increase ISA default
@ 2018-02-23 19:13 David Edelsohn
  2018-02-24 23:19 ` Segher Boessenkool
  0 siblings, 1 reply; 3+ messages in thread
From: David Edelsohn @ 2018-02-23 19:13 UTC (permalink / raw)
  To: GCC Patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH,AIX] aix71.h Increase ISA default
  2018-02-23 19:13 [PATCH,AIX] aix71.h Increase ISA default David Edelsohn
@ 2018-02-24 23:19 ` Segher Boessenkool
  2018-02-25  2:04   ` David Edelsohn
  0 siblings, 1 reply; 3+ messages in thread
From: Segher Boessenkool @ 2018-02-24 23:19 UTC (permalink / raw)
  To: David Edelsohn; +Cc: GCC Patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH,AIX] aix71.h Increase ISA default
  2018-02-24 23:19 ` Segher Boessenkool
@ 2018-02-25  2:04   ` David Edelsohn
  0 siblings, 0 replies; 3+ messages in thread
From: David Edelsohn @ 2018-02-25  2:04 UTC (permalink / raw)
  To: Segher Boessenkool; +Cc: GCC Patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-25  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 19:13 [PATCH,AIX] aix71.h Increase ISA default David Edelsohn
2018-02-24 23:19 ` Segher Boessenkool
2018-02-25  2:04   ` 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).