<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 9, 2014 at 8:57 AM, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Original Message -----<br>
> From: "Renato Golin" <<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>><br>
> To: "Tilmann Scheller" <<a href="mailto:t.scheller@samsung.com">t.scheller@samsung.com</a>><br>
> Cc: <a href="mailto:reviews%2BD5148%2Bpublic%2B3607c133967fc2d2@reviews.llvm.org">reviews+D5148+public+3607c133967fc2d2@reviews.llvm.org</a>, "LLVM Commits" <<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>><br>
> Sent: Tuesday, September 9, 2014 9:33:39 AM<br>
> Subject: Re: [PATCH] [AArch64] Enable partial unrolling and runtime unrolling for AArch64 target<br>
><br>
</span><span class="">> On 9 September 2014 15:15, Tilmann Scheller <<a href="mailto:t.scheller@samsung.com">t.scheller@samsung.com</a>><br>
> wrote:<br>
> > can we make sure this is enabled only with -O3 rather than -O2/-Os<br>
> > though?<br>
> > (at least until the code size regressions are fixed)<br>
><br>
> Good point!<br>
<br>
</span>In case this helps: The way this works is that functions compiled with -Os get the 'optsize' attribute added. The UnrollingPreferences structure has both an PartialThreshold and an PartialOptSizeThreshold parameter that can be set accordingly.<br></blockquote><div><br></div><div>Right, 50% is still a pretty large code size increase even for O2, so O3 might be best here.</div><div><br></div><div>Kevin: Are you going to work on the code size issues or...?</div><div><br></div><div>-ericĀ </div></div></div></div>