<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div><div>Thanks,</div><div>Tanya<br><div><br><div><div>On May 25, 2011, at 3:08 PM, Tanya Lattner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The attached patch adds support for builtins for astype, convert, and vec_step. I chose to group these together because they require very similar code modifications. I've included test cases for each.<div><br></div><div><div><b>__builtin_astype(): </b>Used to reinterpreted as another data type of the same size using for both scalar and vector data types.</div><div><b>__builtin_convert()</b>: provides a way to perform scalar and vector conversions with rounding and saturation.</div></div><div><br></div><div>I have fixed the concerns with asType and other areas as mentioned by Guy Benyei in his review. </div><div><br></div><div>If there is no further objection and because this patch has had extensive review and has been out there for a long time, I feel this is ready to be committed and plan to do so shortly.</div><div><br></div><div>Thanks,</div><div>Tanya</div><div><br></div><div></div></div><span><asTypeConvertExpr.patch></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div></div></blockquote></div><br></div></div></body></html>