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

Jatin Bhateja jbhateja at openjdk.org
Fri Mar 24 05:12:29 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

Marked as reviewed by jbhateja (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list