[vectorIntrinsics] Integrated: Conversion test refactor

Paul Sandoz psandoz at openjdk.java.net
Tue Nov 17 18:11:14 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.

This pull request has now been integrated.

Changeset: 576f2227
Author:    Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/576f2227
Stats:     22701 lines in 6 files changed: 115 ins; 14633 del; 7953 mod

Conversion test refactor

Reviewed-by: sviswanathan

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

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


More information about the panama-dev mailing list