<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 7:51 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Chandler’s <span class="il">complex</span> arithmetic changes are also in the range: r219557 in clang.  We saw it change the code in mandel-2 significantly.<br>
</span>mandel-2 is broken on hard FP ABI systems, btw. The reason is simply:<br>
we're emitting a call to __muldc3 with AAPCS VFP calling convention,<br>
however, the function expects softfp (AAPCS) calling conv and reads<br>
garbage from GP registers.<br>
<br>
I'm working on fix.</blockquote></div><br>Thanks for looking at this Anton.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't really know what signal should be used here. Several initial attempts at this didn't work because of ABI and calling convention issues and I thought I had figured out a sound solution by directly forming and calling the library routines using Clang's code generation to handle all of the ABI issues.... but apparently not.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you need to back out the patch temporarily or take any other steps to mitigate, by all means. =/ Sorry for the fallout.</div></div>