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

Quan Anh Mai duke at openjdk.java.net
Tue Jan 4 09:44:58 UTC 2022


> 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

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

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

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

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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