Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8262498: More than 50% performance degradation of pow operator due to call with svml intrinsic after JDK-8261267 #42

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@@ -260,12 +260,14 @@ bool LibraryCallKit::inline_vector_nary_operation(int n) {
}
return false;
}
#ifdef X86
if (opr->get_con() == VectorSupport::VECTOR_OP_POW) {
if (UseAVX <= 2 || MaxVectorSize < 64 || type2aelembytes(elem_bt) * num_elem != 64) {
// svml pow is slow for none 512-bit vectorization
return false;
}
}
#endif
}

// TODO When mask usage is supported, VecMaskNotUsed needs to be VecMaskUseLoad.