[PATCH][AArch64] Prefer ldp x, x to ldr q

James Molloy james at jamesmolloy.co.uk
Mon Jul 28 00:47:30 PDT 2014


Hi,

Ping?

Cheers,

James


On 24 July 2014 17:23, James Molloy <james.molloy at arm.com> wrote:

> Hi Tim,
>
>
>
> “LDR Qn” instructions are no more performant (on any microarchitecture I
> know of) than “LDP Xm, Xn” or “LDP Dm, Dn”. In fact, there are no
> callee-saved Q registers so generating “LDR Qn” can cause serious
> performance problems, as it is immediately spilled.
>
>
>
> These are generated in two places – DAGCombine and SLP vectorize. Attached
> are two simple patches to disable these transformations for AArch64
> (actually if TLI->hasPairedLoad() which seems to have been made for this
> purpose).
>
>
>
> Are they OK?
>
>
>
> Cheers,
>
>
>
> James
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140728/037883eb/attachment.html>


More information about the llvm-commits mailing list