Integrated: 8257165: C2: Improve box elimination for vector masks and shuffles
Vladimir Ivanov
vlivanov at openjdk.java.net
Mon Nov 30 10:39:59 UTC 2020
On Thu, 26 Nov 2020 13:17:05 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Introduce VectorMask/VectorShuffle-specific transformations to reduce reboxing by eliminating `VectorBox`/`VectorUnbox` pairs.
>
> It's a trivial transformation when the types on both ends perfectly match, but when type mismatch occurs there are additional steps needed (see `PhaseVector::expand_vunbox_node()` for more details on vector unboxing) .
>
> Testing:
> - `jdk/incubator/vector` tests w/ different flag combinations (no flags, `-Xcomp`, `-XX:+DeoptimizeALot`);
> - tier1-4
This pull request has now been integrated.
Changeset: 337d7bce
Author: Vladimir Ivanov <vlivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/337d7bce
Stats: 103 lines in 3 files changed: 73 ins; 13 del; 17 mod
8257165: C2: Improve box elimination for vector masks and shuffles
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/1457
More information about the hotspot-compiler-dev
mailing list