[vectorIntrinsics] RFR: Conversion test refactor

Sandhya Viswanathan sviswanathan at openjdk.java.net
Tue Nov 17 17:22:11 UTC 2020


On Mon, 16 Nov 2020 17:24:09 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Refactor the conversions tests:
> 
> - simplify the signature of the kernels
> 
> - improve the performance (hoisting out expected result from main loop)
> 
> - ensure contents of actual and expected arrays are compared.
> 
> The core change is to `AbstractVectorConversionTest.java` with many formulaic changes to the tests. A follow on change can be proposed to reduce the number of methods in each test by using a provider providing a cross product of values under test.

Marked as reviewed by sviswanathan (Committer).

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

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


More information about the panama-dev mailing list