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

Quan Anh Mai qamai at openjdk.org
Thu Mar 23 18:35:20 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 incrementally with one additional commit since the last revision:

  refine asserts, move logic to C2_MacroAssembler

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

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

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

  Stats: 28 lines in 4 files changed: 17 ins; 5 del; 6 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