RFR: 8304258: x86: Improve the code generation of VectorRearrange with int and float [v2]

Quan Anh Mai qamai at openjdk.org
Wed Mar 22 20:22:22 UTC 2023


> Hi,
> 
> This small patch changes the code generation of VectorRearrangeNode with respect to int and float elements. With not-larger-than-128-bit vectors, we can use `vpermilps` instead of promoting to operating on the extended 256-bit vector. This also helps the code generation of AVX1 to not rely on the sse version.
> 
> Please take a look and leave some reviews.
> Thanks a lot.

Quan Anh Mai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into rearrangeI
 - improve rearrangeI

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13042/files
  - new: https://git.openjdk.org/jdk/pull/13042/files/3f3343ec..38f3450a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13042&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13042&range=00-01

  Stats: 154245 lines in 1774 files changed: 110193 ins; 25740 del; 18312 mod
  Patch: https://git.openjdk.org/jdk/pull/13042.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13042/head:pull/13042

PR: https://git.openjdk.org/jdk/pull/13042


More information about the hotspot-compiler-dev mailing list