Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/hotspot/cpu/x86/vm_version_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3217,6 +3217,7 @@ intx VM_Version::allocate_prefetch_distance(bool use_watermark_prefetch) {

bool VM_Version::is_intrinsic_supported(vmIntrinsicID id) {
assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
bool is_LP64 = LP64_ONLY(true) NOT_LP64(false);
switch (id) {
case vmIntrinsics::_floatToFloat16:
case vmIntrinsics::_float16ToFloat:
Expand Down Expand Up @@ -3245,6 +3246,9 @@ bool VM_Version::is_intrinsic_supported(vmIntrinsicID id) {
break;
case vmIntrinsics::_dcopySign:
case vmIntrinsics::_fcopySign:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See

jdk/src/hotspot/cpu/x86/x86.ad

Lines 1601 to 1609 in 53ca75b

case Op_CopySignD:
case Op_CopySignF:
if (UseAVX < 3 || !is_LP64) {
return false;
}
if (!VM_Version::supports_avx512vl()) {
return false;
}
break;

if (UseAVX < 3 || !is_LP64) {
return false;
}
if (!supports_avx512vl()) {
return false;
}
Expand Down