An indexed load operation of the Vector API when compiled on AVX-512 systems generates a `vgatherdps` instruction.
If the index register of `vgatherdps` is within a certain range then it is encoded incorrectly to use another register, which can lead to crashes or undefined behaviour.
This potentially may have wider impact when generating other instructions either by the Vector API or by the auto-vectorizer.
For detailed analysis and a potential fix see:
https://mail.openjdk.org/pipermail/panama-dev/2023-October/020009.html
If the index register of `vgatherdps` is within a certain range then it is encoded incorrectly to use another register, which can lead to crashes or undefined behaviour.
This potentially may have wider impact when generating other instructions either by the Vector API or by the auto-vectorizer.
For detailed analysis and a potential fix see:
https://mail.openjdk.org/pipermail/panama-dev/2023-October/020009.html
- duplicates
-
JDK-8321215 Incorrect x86 instruction encoding for VSIB addressing mode
- Resolved
- relates to
-
JDK-8205528 Base64 encoding algorithm using AVX512 instructions
- Resolved