On 10/05/2012 01:43 PM, Jason Merrill wrote:
On 08/24/2012 08:34 PM, Sriraman Tallam wrote:
+  /* If the address of a multiversioned function dispatcher is taken,
+     generate the body to dispatch the right function at run-time.  This
+     is needed as the address can be used to do an indirect call.  */

It seems to me that you don't need a dispatcher for doing indirect
calls; you could just take the address of the version you would choose
if you were doing a direct call.

Oh, I see you use the dispatcher for direct calls as well. Why is that? Why do you do direct calls when the function is inlineable, but not otherwise?

Jason


Reply via email to