changeset 11180:8899dee1b1ed

8155717: Aarch64: enable loop superword's unrolling analysis Reviewed-by: aph, kvn, mcberg
author roland
date Wed, 04 May 2016 13:32:03 -0700
parents 61e97cdc804b
children 05d358b254ad
files src/cpu/aarch64/vm/c2_globals_aarch64.hpp src/share/vm/opto/superword.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/c2_globals_aarch64.hpp	Wed May 04 17:17:10 2016 +0300
+++ b/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/src/share/vm/opto/superword.cpp	Wed May 04 17:17:10 2016 +0300
+++ b/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