[vectorIntrinsics+mask] RFR: 8273264: AArch64: [vector] Add missing rules for VectorMaskCast

Paul Sandoz psandoz at openjdk.java.net
Mon Sep 13 15:33:42 UTC 2021


On Mon, 13 Sep 2021 10:48:40 GMT, Eric Liu <eliu at openjdk.org> wrote:

> This patch
> 1. Adds missing rules for VectorMaskCast for compatible species, E.g.
>    ByteVector.SPECIES_64 --> ShortVector.SPECIES_128
> 2. Fixes a matching failure on AArch64.
> 
> The performance improves about 60% compared with the unintrinsified
> version.

test/hotspot/jtreg/compiler/vectorapi/VectorMaskCastTest.java line 52:

> 50: 
> 51: 
> 52: public class VectorMaskCastTest{

Do we need to add such a test? We already have conversions tests, see sub-classes of `AbstractVectorConversionTest`.

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

PR: https://git.openjdk.java.net/panama-vector/pull/124


More information about the panama-dev mailing list