This is the mail archive of the
mailing list for the GCC project.
Re: PROPOSAL: targetm.expand_tree_builtin hook
Something akin to this I proposed for re-doing Altivec builtins.
I'm doing something very similar but based on a fold_builtin hook, only
because I started my AltiVec work about at the same time as Richard
prepared that RFC.
fold_builtin seems to be not too late in the game, and anyway it would
be easy to convert to something like the expand_tree_builtin hook you
Aside from that, I think it would be great if you could commit
this functionality! Can you? :-)
It is not complete, it should be extracted from the patch, and renamed
as you suggested.
Or, I can send you my patch for a fold_builtin target hook.