[PATCH v2] go: disable mvsx and maltivec for aix/ppc
Wed Apr 24 14:31:00 GMT 2019
On Wed, Apr 24, 2019 at 9:31 AM Ian Lance Taylor <email@example.com> wrote:
> On Tue, Apr 23, 2019 at 1:27 AM CHIGOT, CLEMENT <firstname.lastname@example.org> wrote:
> > Description:
> > * This patch removes -mvsx and -maltivec for go aix/ppc.
> > These options don't seem compatible with Go stack layout.
> > Tests:
> > * AIX 7.2: Configure/Build: SUCCESS
> > Changelog:
> > * config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Remove OPTION_MASK_VSX
> > and OPTION_MASK_ALTIVEC from rs6000_isa_flags with Go on 32 bits.
> > * config/rs6000/aix72.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
> I still don't understand why there is a problem here. When using
> gccgo the "Go stack layout" is exactly the same as the C stack layout.
> But this patch is fine with me if it's OK with the AIX maintainers.
There is an underlying problem that Clement has not yet found. This
is a workaround.
I will test the patch in my build.
More information about the Gcc-patches