[PATCH] PPC32 Linuxthreads Chance MALLOC_ALIGNMENT for VMX

Steve Munroe sjmunroe@us.ibm.com
Thu Mar 11 18:50:00 GMT 2004


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



More information about the Libc-alpha mailing list