RFR: 8304301: Remove the global option SuperWordMaxVectorSize
Fei Gao
fgao at openjdk.org
Tue Mar 21 06:45:50 UTC 2023
On Tue, 21 Mar 2023 04:16:26 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:
> @fg1417 SuperWordMaxVectorSize defines the maximum vector size generated by the auto vectorization. MaxVectorSize defines the vector width supported by the underlying platform. For CascadeLake we are setting SuperWordMaxVectorSize=32 and MaxVectorSize=64 by default. This allows the usage of larger 64 byte width vector instructions in places like Java Vector API and intrinsics. We would like to keep this behavior for x86.
Hi @sviswa7, thanks for your quick response! Yes, the patch keeps the special handling for auto-vectorization on Cascade Lake. For Cascade Lake, even after the patch, we still have 32 bytes for auto-vectorization and larger 64 bytes for Java Vector API and intrinsics. Can it cover your needs?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13112#issuecomment-1477349803
More information about the hotspot-dev
mailing list