On Fri, Sep 25, 2015 at 12:44:40PM +0100, Wilco Dijkstra wrote: > This patch improves add immediate expansion by always expanding complex adds > into a move immediate > and an add. This enables CSE of all complex immediates. A separate split > pattern enables combine to > emit a 2-instruction add sequence for single use cases. > > Bootstrapped & regression tested on AArch64. > > OK for commit?
OK, thanks. Sorry for the two month delay in getting to the patch. I've committed this on your behalf as revision 230814. Thanks, James > ChangeLog: > 2015-09-25 Wilco Dijkstra <wdijk...@arm.com> > > * gcc/config/aarch64/aarch64.md (add<mode>3): > Block early expansion into 2 add instructions. > (add<mode>3_pluslong): New pattern to combine complex > immediates into 2 additions.