[aarch64-port-dev ] [RFC] ldp/stp peephole optimizations

Andrew Haley aph at redhat.com
Fri Dec 22 16:02:28 UTC 2017


Hi,

On 22/12/17 08:02, Zhongwei Yao wrote:

> My draft patch to address B) is at:
>   http://cr.openjdk.java.net/~zyao/RFC_B/
> 
> What do you think? Welcome any feedback!

I wonder if merging ld/st pairs could be handled by the
MacroAssembler.  MachSpillCopyNode::peephole looks very complicated.
If you handled ldp/stp conversion in MacroAssembler then it'd work
everywhere, for any adjacent pair of loads or stores, not just for
spills in C2.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list