This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A Far Less Ambitous AltiVec patch
So you're saying I should create stand-alone "mixin" types like
'pixel' and 'unsigned bool'? It seems a bit weird, since these types
are not really meaningful outside of a VECTOR_TYPE, but I guess that's
not a big issue...
No, it's not. That's just a weirdness of the AltiVec situation -- they
chose not to make those types orthogonal, largely for implementation
reasons.
So, I'm still left with the problem of mangling 'pixel' and 'unsigned
bool' -- how should I do it without creating a target hook? :-)
It's OK to create a target hook to mangle target-specific scalar types.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com