[vectorIntrinsics] RFR: 8252943: [vector] jdk/incubator/vector/PreferredSpeciesTest.java fails with "expected [S_256_BIT] but found [S_128_BIT]"

Paul Sandoz psandoz at openjdk.java.net
Wed Oct 21 15:16:20 UTC 2020


On Tue, 20 Oct 2020 22:07:43 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

> This is a test bug. Updated test for ofLargestShape in PreferredSpeciesTest.java to match the specification.

Marked as reviewed by psandoz (Committer).

test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java line 77:

> 75:     void testVectorShape(Class<?> c) {
> 76:         VectorSpecies<?> species = null;
> 77:         int elemSize = 0;

The element size, in bits, can be obtained from `species.elementSize()`

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

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


More information about the panama-dev mailing list