Commit 265e6a0a by Clement Chigot Committed by David Edelsohn

aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable OPTION_MASK_VSX and…

aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable OPTION_MASK_VSX and OPTION_MASK_ALTIVEC from rs6000_isa_flags for Go on...

2019-04-24  Clement Chigot  <clement.chigot@atos.net>

        * config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable
        OPTION_MASK_VSX and OPTION_MASK_ALTIVEC from rs6000_isa_flags
        for Go on 32 bit AIX.
        * config/rs6000/aix72.h: Likewise.

From-SVN: r270553
parent 303b2264
2019-04-24 Clement Chigot <clement.chigot@atos.net>
* config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable
OPTION_MASK_VSX and OPTION_MASK_ALTIVEC from rs6000_isa_flags
for Go on 32 bit AIX.
* config/rs6000/aix72.h: Likewise.
2019-04-24 Jakub Jelinek <jakub@redhat.com>
PR target/90193
......
......@@ -56,6 +56,12 @@ do { \
{ \
rs6000_current_cmodel = CMODEL_LARGE; \
} \
if (! strcmp (lang_hooks.name, "GNU Go") \
&& TARGET_32BIT) \
{ \
/* aix/ppc doesn't support -mvsx and -maltivec with Go */ \
rs6000_isa_flags &= ~(OPTION_MASK_VSX | OPTION_MASK_ALTIVEC); \
} \
} while (0)
#undef ASM_SPEC
......
......@@ -56,6 +56,12 @@ do { \
{ \
rs6000_current_cmodel = CMODEL_LARGE; \
} \
if (! strcmp (lang_hooks.name, "GNU Go") \
&& TARGET_32BIT) \
{ \
/* aix/ppc doesn't support -mvsx and -maltivec with Go */ \
rs6000_isa_flags &= ~(OPTION_MASK_VSX | OPTION_MASK_ALTIVEC); \
} \
} while (0)
#undef ASM_SPEC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment