RFR: 8287697: Limit auto vectorization to 32-byte vector on Cascade Lake [v2]

Sandhya Viswanathan sviswanathan at openjdk.java.net
Thu Jun 2 17:49:04 UTC 2022


On Thu, 2 Jun 2022 17:01:26 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> @vnkozlov I have made SuperWordMaxVectorSize as a develop option as you suggested. As far as I know, the only intrinsics/stubs that uses MaxVectorSize are for clear/copy. This is done in conjunction with AVX3Threshold so we are ok there for Cascade Lake.
>
>> Hi @sviswa7 , #7806 implemented an interface for auto-vectorization to disable some unprofitable cases on aarch64. Can it also be applied to your case?
> 
> Maybe. But it would require more careful changes. And that changeset is not integrated yet.
> Current changes are clean and serve their purpose good.
> 
> And, as Jatin and Sandhya said, we may do proper fix after JDK 19 fork. Then we can look on your proposal.

@vnkozlov @jatin-bhateja Your review comments are implemented. Please take a look.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8877


More information about the hotspot-dev mailing list