This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Merging Cilk Plus into Trunk (Patch 1 of approximately 22)
On Thu, 6 Sep 2012, Marc Glisse wrote:
AFAIU, my_func is defined in a separate library and because of the attribute
on the definition, it will actually export overloads:
int myfunc(int,int);
v2si myfunc(v2si,v2si);
v4si myfunc(v4si,v4si);
etc (where does it stop? seems problematic if the library is compiled for
sse4 and I then compile and link an avx program)
According to the doc, it only generates one of these vector versions (even
more risk of mismatch).
Does it actually create the extra declaration in the front-end, i.e. can I
explicitly call myfunc on a v4si that I created myself, or is the
middle-end the only user?
--
Marc Glisse