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: Steve Munroe <sjmunroe at us dot ibm dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com, Andreas Schwab <schwab at suse dot de>
- Date: Thu, 11 Mar 2004 12:50:11 -0600
- Subject: Re: [PATCH] PPC32 Linuxthreads Chance MALLOC_ALIGNMENT for VMX
Ulrich Drepper wrote on 03/11/2004 11:37:48 AM:
> Andreas Schwab wrote:
>
> > 1 ... The pointer returned if the allocation succeeds is suitably
aligned
> > so that it may be assigned to a pointer to any type of object
>
> And all that XMM/VMX/... are no standard types. Therefore nothing in
> the spec applies.
>
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.
Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center