(C++) mangling vector types

Richard Henderson rth@redhat.com
Thu Nov 12 16:10:00 GMT 2009


On 11/12/2009 07:24 AM, Jason Merrill wrote:
> 1) Leave the current mangling as is
> 2) Leave the current mangling as is for the most common vector size on a
> target (SSE, Altivec) and use the new mangling for other vector sizes.
> 3) Switch to the new mangling

I vote for 2.

> a) Add the vector change to the current ABI v3.
> b) Take over -fabi-version=3 and bump the template arg change to v4.
> c) Use -fabi-version=2.1.
> d) Use a separate flag to control vector mangling.

I vote for [^cd].  I have no preference between v3 and v4, but a 
separate flag seems weird, as does injecting a version number in between 
2 and 3.


r~



More information about the Gcc mailing list