This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Increase MALLOC_ABI_ALIGNMENT for 32-bit PowerPC
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 May 2013 11:00:44 +0200
- Subject: Re: [PATCH, rs6000] Increase MALLOC_ABI_ALIGNMENT for 32-bit PowerPC
- References: <1368758423 dot 3482 dot 88 dot camel at gnopaine> <CAFiYyc2_0R0hBoa6fd713nJBLX9jqRfadN6P-u4_Vd1Vom7+dA at mail dot gmail dot com> <20130517084745 dot GR1377 at tucnak dot redhat dot com> <CAGWvnym3iGco4YVDndmU+YjxE8BCCurF057TZFy-6uffFCX6hg at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, May 17, 2013 at 04:55:20AM -0400, David Edelsohn wrote:
> As Bill wrote earlier, 2 * POINTER_SIZE causes a different performance
> regression for 16 byte alignment on PPC64. 8 bytes is a work-around
> for now.
I was talking about the config/linux.h definition, PPC64 can of course
override it to workaround something temporarily, but because there is some
problem on PPC64 we shouldn't penalize code say on x86_64, s390x or aarch64.
Jakub