<div dir="ltr">Hi Silviu,<div><br></div><div>Patch looks good to me, though this if could be fused together:</div><div><br></div><div><div>-  if (!Subtarget->isCortexA8() && !Subtarget->isLikeA9() &&<br>
</div></div><div><div>+  if (Subtarget->isCortexA15())</div><div>+    return true;</div><div>+</div><div>+  if (!Subtarget->isCortexA8() && !Subtarget->isCortexA9() &&</div><div>       !Subtarget->isSwift())</div>
<div>     return true;</div><div><br></div></div><div>Also, it seems that the way "Darwin" is selected here is via Swift, which is probably not the best, but I think that will do for now.</div><div><br></div><div>
cheers,</div><div>--renato</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 July 2013 12:07, Silviu Baranga <span dir="ltr"><<a href="mailto:Silviu.Baranga@arm.com" target="_blank">Silviu.Baranga@arm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The attached patch enables the generation of vmla.f32 instructions<br>
for Cortex-A15 CPUs.<br>
<br>
To patch disables the MLxExpansion pass and modifies the<br>
"hasNoVMLxHazardUse" function (this was preventing the vmla.f32<br>
instructions from being selected).<br>
<br>
This also adds the VFPv4 feature for Cortex-A15 and tweaks the<br>
DontUseFusedMAC predicate (the previous logic disabled vmla.f32<br>
generation on all CPUs with VFPv4 on non-Darwin targets).<br>
<br>
Please review!<br>
<br>
Thanks,<br>
Silviu<br>
<br>
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>