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

Quan Anh Mai qamai at openjdk.org
Wed Mar 15 13:04:12 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.

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

Commit messages:
 - improve rearrangeI

Changes: https://git.openjdk.org/jdk/pull/13042/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13042&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304258
  Stats: 28 lines in 3 files changed: 21 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/13042.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/13042/head:pull/13042

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


More information about the hotspot-compiler-dev mailing list