RFR: 8075443: AARCH64: Missed L2I optimizations in C2

Andrew Dinn adinn at redhat.com
Wed Mar 18 15:28:13 UTC 2015


On 18/03/15 14:54, Andrew Haley wrote:
> We use iRegIOrL2I erratically in aarch64.ad.  We can use it whenever
> we have a 32-bit input operand, and doing so improves code quality in
> many cases. We should use iRegIOrL2I instead of iRegI whenever it can
> be used as an input operand and the patterns allow us to do so.
> 
> I also took the opportunity to do a little technical debt reduction.
> In a few places we were doing int-mode operations in 64-bit-wide
> instructions.  This doesn't really matter, but it's a lot easier to
> reason about code generation if you have a rule that instructions must
> always use the correct mode.
> 
> . . .

The patch looks good.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Matt Parson (USA), Charlie Peters
(USA), Michael O'Neill (Ireland)


More information about the hotspot-compiler-dev mailing list