Repository navigation
[RyuJIT Wasm] Add JIT\HardwareIntrinsics\Wasm Tests - #130653
Conversation
|
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara |
There was a problem hiding this comment.
Pull request overview
Adds a new Wasm-specific PackedSimd test suite under the CoreCLR src/tests/JIT/HardwareIntrinsics tree, along with wrapper projects and build gating so the tests only build/run on Wasm targets.
Changes:
- Introduces
PackedSimdTests.cs(ported from the libraries test suite) undersrc/tests/JIT/HardwareIntrinsics/Wasm/PackedSimd/. - Adds per-test
_r/_roprojects plus newHardwareIntrinsics_Wasm_{r,ro}.csprojmerged-runner wrapper projects. - Adds Wasm-only build gating via
HWITestsWasmOnlyandCLRTestTargetUnsupported.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/tests/JIT/HardwareIntrinsics/Wasm/PackedSimd/PackedSimdTests.cs | Adds the actual PackedSimd functional test coverage (xUnit [Fact] tests). |
| src/tests/JIT/HardwareIntrinsics/Wasm/PackedSimd/PackedSimdTests_ro.csproj | Adds optimized (ro) project wrapper for the new test file. |
| src/tests/JIT/HardwareIntrinsics/Wasm/PackedSimd/PackedSimdTests_r.csproj | Adds non-optimized (r) project wrapper for the new test file. |
| src/tests/JIT/HardwareIntrinsics/Wasm/Directory.Build.props | Marks the Wasm subtree as Wasm-only (HWITestsWasmOnly). |
| src/tests/JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_ro.csproj | Adds the Wasm wrapper runner for _ro projects. |
| src/tests/JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_r.csproj | Adds the Wasm wrapper runner for non-_ro projects. |
| src/tests/JIT/HardwareIntrinsics/Directory.Build.targets | Applies Wasm-only CLRTestTargetUnsupported gating when HWITestsWasmOnly is set. |
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
radekdoulik
left a comment
There was a problem hiding this comment.
Besides the copilot comments about unused vars and 32/64bits it LGTM
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
|
Could you please enable them (remove ActiveIssue) |
I'm not sure they're ready to be enabled yet (they wouldn't pass), I'm mostly porting these over to make it easier to finish SIMD development. I can remove the active issue once SIMD is complete! |
|
/ba-g infra failures |
This PR ports
PackedSimdTests.csto theJIT/HardwareIntrinsicstest tree. Note that it is duplicating the tests inruntime/src/libraries/System.Runtime.Intrinsics/tests/Wasm/PackedSimdTests.cs
Line 18 in ad68fe7