[jdk18] RFR: 8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler [v2]

Vladimir Kozlov kvn at openjdk.java.net
Thu Dec 23 19:11:13 UTC 2021


On Wed, 22 Dec 2021 18:23:50 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:

>> This patch fixes a crash spotted in `compiler/vectorapi/reshape/TestVectorCastAVX1.java` in mainline. The reason for the failure is the incorrect vector encoding of integer promotion operation leads to unsupported instruction `vpmovsxbd/vpmovsxwd ymm, xmm` on AVX1. For the same reason we currently cannot cast a short or byte vector to a 256-bit float vector on AVX1, so I also fixed that.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add test

All questions were answered.
I will run testing before approval.

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

PR: https://git.openjdk.java.net/jdk18/pull/46


More information about the hotspot-compiler-dev mailing list