<div dir="ltr"><div style>Thanks for adding these!</div><div><br></div>However, the table is called NEONConversionTbl and there's a test below (if ST->hasNEON), so it'd be better if the non-vector instructions could be added to a separate table.<div>
<br></div><div>Possibly adding an Ty->isVector() && ST->hasNEON() or some combination that allows for both vectorized and scalar codes to execute correctly on all possible combinations, but doesn't iterate through the wrong table when the type is obviously not there.<br>
<div><br></div><div style>--renato</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 February 2013 15:26, 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">Add costs for scalar integer casts and  floating point conversions, also adds some costs for vector integer float conversions.<br>

<br>
</blockquote></div><br></div>