A simple optimization proposal

Krystal Mok rednaxelafx at gmail.com
Fri Feb 14 10:24:13 PST 2014

Hi Martin,

On Fri, Feb 14, 2014 at 10:09 AM, Martin Grajcar <maaartinus at gmail.com>wrote:

> Hi Kris,
> nice. Maybe consider grouping lines 1246 to 1264 together. You could
> either rearrange the conditions so that BoolTest gets tested last and split
> there, thus reusing three lines. Probably no improvement.
> Done. I swapped the order of the two operands to the Cmp for the second
pattern, so I didn't want to merge these patterns. But per your suggestion,
I swapped it back and it still works, so we get to save a couple of lines.

Webrev updated in place.


> Regards,
> Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140214/a7a64d49/attachment-0001.html 

More information about the hotspot-compiler-dev mailing list