This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC32 Linuxthreads Chance MALLOC_ALIGNMENT for VMX
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Steve Munroe <sjmunroe at us dot ibm dot com>
- Cc: Ulrich Drepper <drepper at redhat dot com>, libc-alpha at sources dot redhat dot com, Andreas Schwab <schwab at suse dot de>
- Date: Fri, 12 Mar 2004 09:29:20 +0100
- Subject: Re: [PATCH] PPC32 Linuxthreads Chance MALLOC_ALIGNMENT for VMX
- References: <OF09094020.C18AC388-ON86256E54.00671413-86256E54.00677951@us.ibm.com>
This becomes a bigger issue in the future when autovectorization
becomes
available (gcc-3.5+). Here "normal applications" using "standard types"
may be using VMX instructions.
Something to consider anyway.
Well, not all auto-vectorized code will use malloc'ed memory, so GCC
will have to handle the misalignment issues in a more general way
anyway; I don't see VMX-aligning all malloc'ed memory will buy us
much for this?
Segher