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

Quan Anh Mai duke at openjdk.java.net
Wed Dec 22 18:23:50 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk18/pull/46/files
  - new: https://git.openjdk.java.net/jdk18/pull/46/files/46dc2068..5afabe5b

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk18&pr=46&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk18&pr=46&range=00-01

  Stats: 82 lines in 1 file changed: 82 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk18/pull/46.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/46/head:pull/46

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


More information about the hotspot-compiler-dev mailing list