[jdk18] RFR: 8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler [v3]
Sandhya Viswanathan
sviswanathan at openjdk.java.net
Tue Jan 4 18:23:37 UTC 2022
On Tue, 4 Jan 2022 09:44:58 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:
>
> update copyright
Marked as reviewed by sviswanathan (Reviewer).
Yes, we don't support 256 bit integral vectors in the JVM when UseAVX=1. The patch looks good to me.
-------------
PR: https://git.openjdk.java.net/jdk18/pull/46
More information about the hotspot-compiler-dev
mailing list