8155717: Aarch64: enable loop superword's unrolling analysis
Reviewed-by: aph, kvn, mcberg
--- a/hotspot/src/cpu/aarch64/vm/c2_globals_aarch64.hpp Wed May 04 17:17:10 2016 +0300
+++ b/hotspot/src/cpu/aarch64/vm/c2_globals_aarch64.hpp Wed May 04 13:32:03 2016 -0700
@@ -71,7 +71,7 @@
define_pd_global(bool, OptoScheduling, false);
define_pd_global(bool, OptoBundling, false);
define_pd_global(bool, OptoRegScheduling, false);
-define_pd_global(bool, SuperWordLoopUnrollAnalysis, false);
+define_pd_global(bool, SuperWordLoopUnrollAnalysis, true);
define_pd_global(intx, ReservedCodeCacheSize, 48*M);
define_pd_global(intx, NonProfiledCodeHeapSize, 21*M);
--- a/hotspot/src/share/vm/opto/superword.cpp Wed May 04 17:17:10 2016 +0300
+++ b/hotspot/src/share/vm/opto/superword.cpp Wed May 04 13:32:03 2016 -0700
@@ -198,7 +198,7 @@
ignored_loop_nodes[i] = -1;
}
- int max_vector = Matcher::max_vector_size(T_INT);
+ int max_vector = Matcher::max_vector_size(T_BYTE);
bool post_loop_allowed = (PostLoopMultiversioning && Matcher::has_predicated_vectors() && cl->is_post_loop());
// Process the loop, some/all of the stack entries will not be in order, ergo