RFR: 8320206: Some intrinsics/stubs missing vzeroupper on x86_64

Jatin Bhateja jbhateja at openjdk.org
Thu Nov 16 17:42:29 UTC 2023


On Wed, 15 Nov 2023 21:28:46 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

> The following intrinsics/stubs are missing vzeroupper:
> adler32 (since JDK17)
> count_positives (since JDK 9)
> chacha20 (since JDK 20)
> string indexOfChar (since JDK 9)
> 
> Adding the missing vzeroupper to avoid AVX-SSE transition penalties.

Thanks for fixing this @sviswa7, LGTM.

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

Marked as reviewed by jbhateja (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16678#pullrequestreview-1735075999


More information about the hotspot-compiler-dev mailing list