dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.36k stars 4.74k forks source link

Consider updating the HWIntrinsic test generation code to support an array of input values. #12344

Open tannergooding opened 5 years ago

tannergooding commented 5 years ago

Currently the HWIntrinsic tests are generated from a set of templates and corresponding metadata. This works fine for the majority of cases but requires some amount of metadata duplication when you want to run the same test, but with a different set of inputs (such as constant inputs for testing edge cases).

We should consider updating the generation script to support an array of input values so that way the metadata duplication can be reduced when needing to add specific edge-case scenarios.

category:testing theme:hardware-intrinsics skill-level:beginner cost:small

tannergooding commented 5 years ago

CC. @CarolEidt