Generic return types in built-in functions (C frontend)
Artem Shinkarov
artyom.shinkaroff@gmail.com
Mon Jun 28 20:53:00 GMT 2010
Hi,
I'm trying to implement a support for vector shuffling. For this
purpose I would like to introduce a built-in function and lower it
down in the veclower pass. However the problem is, that I don't want
to introduce a separate built-in function for each type. So the
question is: how can I specify a built-in function that would accept
any parameters, and would be expanded at some points to some proper
types. There is a hacky solution like in this patch:
http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00096.html, but may be
someone have an idea of a cleaner solution.
--
Thank you,
Artem Shinkarov
More information about the Gcc
mailing list