diff src/share/vm/graal/graalEnv.cpp @ 21074:2e35a4ea22ac

Add MaxVectorSize to Graal globals
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 21 Apr 2015 10:47:43 -0700
parents a560c9b81f0f
children
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.cpp	Tue Apr 21 14:57:13 2015 +0200
+++ b/src/share/vm/graal/graalEnv.cpp	Tue Apr 21 10:47:43 2015 -0700
@@ -550,7 +550,7 @@
         // It might be preferable to set this only for methods which
         // use vector instructions but we currently don't track this
         // and it probably wouldn't make much difference.
-        nm->set_has_wide_vectors(UseAVX >= 2);
+        nm->set_has_wide_vectors(MaxVectorSize > 16);
 #endif
 
         // Record successful registration.