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

Quan Anh Mai duke at openjdk.java.net
Tue Jan 4 23:03:22 UTC 2022


On Sat, 18 Dec 2021 02:15:00 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.

This pull request has now been integrated.

Changeset: f8f91480
Author:    Quan Anh Mai <anhmdq99 at gmail.com>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk18/commit/f8f9148016662578804479180a70e3732b08c11c
Stats:     100 lines in 2 files changed: 85 ins; 8 del; 7 mod

8278948: compiler/vectorapi/reshape/TestVectorCastAVX1.java crashes in assembler

Reviewed-by: kvn, sviswanathan

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

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


More information about the hotspot-compiler-dev mailing list