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

Vladimir Kozlov kvn at openjdk.org
Sat Mar 25 00:27:30 UTC 2023


On Thu, 23 Mar 2023 18:35:20 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> 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

My testing finished clean.  @merykitty,  you can integrate.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13042#pullrequestreview-1357598956


More information about the hotspot-compiler-dev mailing list