RFR: 8317763: Follow-up to AVX512 intrinsics for Arrays.sort() PR [v5]
Sandhya Viswanathan
sviswanathan at openjdk.org
Wed Oct 11 23:44:15 UTC 2023
On Wed, 11 Oct 2023 23:14:26 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Proposed patch has one disadvantage: there's no way to override ergonomics decisions on AMD CPUs and forcibly enable the intrinsic without rebuilding the JVM.
>
> For many other intrinsics there are flags which enable finer grained control over JVM behavior (e.g., `UseVectorizedHashCodeIntrinsic`). There were some complaints that there are way to many individual flags to control intrinsics, so now there's `-XX:ControlIntrinsic=`, but as of now ergonomics doesn't rely on it to control what intrinsics are enabled/disabled.
>
> It makes sense to let `-XX:ControlIntrinsic=` overrule `VM_Version::is_intel()` check and enable the intrinsics when `AVX512DQ` is supported.
May be it could be done as part of https://bugs.openjdk.org/browse/JDK-8317976.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16124#issuecomment-1758699096
More information about the hotspot-compiler-dev
mailing list