<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 6 February 2014 15:03, Oliver Stannard <span dir="ltr"><<a href="mailto:oliver.stannard@arm.com" target="_blank">oliver.stannard@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I was mistaken, that check was required, because this code is shared between ARM and AArch64. I have attached an updated patch which puts the check back in, and adds a test for this in AArch64.</span></p>
</div></div></blockquote><div></div></div><br></div><div class="gmail_extra">Hi Oliver,</div><div class="gmail_extra"><br></div><div class="gmail_extra">That's not what I meant... ;)</div><div class="gmail_extra"><br>
</div><div class="gmail_extra">AFAICT, the ABI says that double and long double have the same size, so why does the original comparison fail in the first place?</div><div class="gmail_extra"><br></div><div class="gmail_extra">
I mean, from what you said, this: Context.getTypeSize(Base) != Context.getTypeSize(TyPtr) should return false for the cases: {d, d}, {d, ld}, {ld, d} and {ld, ld} on ARM, and true for the two central ones in AArch64. No?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">If it doesn't, it would be good to understand why not, and fix it at the source. And if it can't be fixed at the source, than a good explanation of why not on the comment is welcome.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>