A simple optimization proposal
rednaxelafx at gmail.com
Fri Feb 14 10:24:13 PST 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev