<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 22, 2014 at 11:34 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">In addition to what Chandler has said:<br>
<br>
> +// Vectors are 16-byte aligned, however the O32 ABI has a maximum alignment of<br>
> +// 8-bytes since the base of the stack is 8-byte aligned.<br>
> +// O32:   %1 = add i32 %0, 7<br>
> +// O32:   %2 = and i32 %1, -8<br>
> +//<br>
> +// N32:   %1 = add i32 %0, 15<br>
> +// N32:   %2 = and i32 %1, -16<br>
> +//<br>
> +// N64:   %1 = add i64 %0, 15<br>
> +// N64:   %2 = and i64 %1, -16<br>
> +//<br>
<br>
</span>No asm in tests in clang. This part needs to be reverted.<br>
<br>
You should be able to do this by checking the IR, it should have the<br>
correct alignment on instructions with just plain code generation.<br>
None of the -O3 or asm tests should be required.<br></blockquote><div><br></div><div>That looks like IR to me... Also the test has -emit-llvm</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div></div>