Hi Chandler,<div><br></div><div>That's embarrassing how weird this part of clang is. I have a provisional patch which fixes the problem but underlines clang's problems. I will submit it tonight for comments.<br><br>суббота, 18 октября 2014 г. пользователь Chandler Carruth  написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="javascript:_e(%7B%7D,'cvml','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>> Chandler’s <span>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>
</blockquote></div><br><br>-- <br>With best regards, Anton Korobeynikov<br>Faculty of Mathematics and Mechanics, Saint Petersburg State University<br><br>