<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 16 December 2013 21:08, Arnold Schwaighofer <span dir="ltr"><<a href="mailto:aschwaighofer@apple.com" target="_blank">aschwaighofer@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><span style="color:rgb(34,34,34)">Yes and we can easily model this in the cost model by asking what is the cost of a (library) function call (vectorized or not) and have this return a reasonably high value.</span></div>
</div></blockquote><div></div></div><br></div><div class="gmail_extra">I'm wondering, in the case Nadav said about #pragma vectorize, how are we going to tell the compiler what is the cost of this or that vector-variant of foo?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">When the cost tables can change independently of user-code, this looks like a tom&jerry exercise.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
cheers,</div><div class="gmail_extra">--renato</div></div>