jeffcharles opened PR #9011 from jeffcharles:run-subset-of-simd-tests-in-winch
to bytecodealliance:main
:
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
I noticed the SIMD tests I added to themisc_testsuite
under winch were not actually executing. I then realized thewast.rs
file includes this check to mark Wast tests that start withsimd
as unsupported by Winch. This changes the SIMD tests I've added under Winch to start with_simd_
instead so those tests are recognized as supported and are executed as a result. I've also commented out a couple functions and tests in themisc_testsuite/winch
directory which use SIMD instructions which Winch does not currently support.Alternatively, I could make a larger change to the
wast.rs
file so the check for whether a given test in Winch is supported will label any test inmisc_testsuite/winch
as supported. The reason I'm leaning to not doing that now is I plan to remove all of the_simd_
tests from undermisc_testsuite/winch
and delete theparts.starts_with("simd")
check when Winch fully supports SIMD so Winch will run the SIMD tests in spec testsuite. Having the copies of the spec tests starting with_simd_
will also conveniently make it easier to identify which tests to delete when full SIMD support is completed. But I am open to using that approach instead if it would be preferable.
jeffcharles has marked PR #9011 as ready for review.
jeffcharles requested fitzgen for a review on PR #9011.
jeffcharles requested wasmtime-core-reviewers for a review on PR #9011.
saulecabrera submitted PR review.
saulecabrera merged PR #9011.
Last updated: Dec 23 2024 at 12:05 UTC