[cxx-abi-dev] mangling vector types
David Vandevoorde
daveed at edg.com
Wed Nov 11 21:56:09 UTC 2009
On Nov 11, 2009, at 4:35 PM, Jason Merrill wrote:
> On 11/11/2009 04:33 PM, Jason Merrill wrote:
>>>> Dv <n_elements number> _ <element type>
>>
>> Though a plain /number/ there doesn't allow for template
>> substitution.
>> Perhaps
>>
>> Dv _ <expression> _ <element type>
>>
>> when the number of elements is value-dependent?
Ah yes: That looks good.
> ...in which case we could go back to the log2 idea for the non-
> dependent case.
I could go either way on that. I suppose some day someone might
decide to pack 5 24-bit integers in a 128-bit register, and then the
log2 approach would require revision again (but that would be entirely
feasible, I think).
Daveed
More information about the cxx-abi-dev
mailing list