< prev index next >
src/cpu/x86/vm/x86.ad
Print this page
*** 1705,1714 ****
--- 1705,1724 ----
}
return true; // Per default match rules are supported.
}
+ const int Matcher::float_pressure_scale(void) {
+ int scale_factor = 1;
+ #ifdef _LP64
+ if (UseAVX > 2) {
+ scale_factor = 2;
+ }
+ #endif
+ return scale_factor;
+ }
+
// Max vector size in bytes. 0 if not supported.
const int Matcher::vector_width_in_bytes(BasicType bt) {
assert(is_java_primitive(bt), "only primitive type vectors");
if (UseSSE < 2) return 0;
// SSE2 supports 128bit vectors for all types.
< prev index next >