Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4059107
[wasi][coreclr] Enable WasmEnableRelaxedSimd by default on CoreCLR WASI
lewing Nov 6, 2026
0c78503
Quarantine WASI R2R tests that depend on R2R CoreLib against #134949
lewing Nov 6, 2026
1190148
Enable wasm relaxed SIMD from the crossgen2 instruction set alone
lewing Nov 6, 2026
bfb5daf
Clarify the WASI relaxed SIMD default comment
lewing Nov 6, 2026
8bffd8d
Make PublishRelaxedSimdCoreClr exercise relaxed SIMD
lewing Nov 6, 2026
9fa237a
Don't document interpreted RelaxedSimd.IsSupported as intended behavior
lewing Nov 6, 2026
20cf330
Trim relaxed SIMD docs and comments
lewing Nov 6, 2026
03aa29d
Compile CoreLib with relaxed SIMD in the browser HW-intrinsics leg
lewing Nov 6, 2026
246d787
Make relaxed SIMD a WASI compiler default and validate images against…
lewing Nov 8, 2026
27c0885
Run the wasm intrinsics library tests on WASI
lewing Nov 8, 2026
88cc58f
Merge origin/main into lewing-wasi-relaxed-simd-opt-in
lewing Nov 10, 2026
43dbf22
Merge remote-tracking branch 'origin/main' into lewing-wasi-relaxed-s…
lewing Nov 12, 2026
907eec7
Run the WASI wasm intrinsics tests in whole-program composite mode
lewing Nov 12, 2026
68c3c11
Clarify the WASI test instruction-set comment
lewing Nov 12, 2026
f38c904
Recompile ReadyToRun images when the instruction sets change
lewing Nov 14, 2026
f310f6e
[wasm][nativeaot] Enable PackedSimd and RelaxedSimd for NativeAOT
lewing Nov 14, 2026
8b54f69
[wasm][coreclr] Replace WasmEnableRelaxedSimd with PublishReadyToRunI…
lewing Nov 14, 2026
5c8595c
Remove the WASI-only R2R argument stamp and a misplaced comment
lewing Nov 15, 2026
c2cb27b
Pass PublishReadyToRunInstructionSet to crossgen2 from the wasm targets
lewing Nov 15, 2026
99381dc
Link the PublishReadyToRunInstructionSet fallback targets to #137571
lewing Nov 15, 2026
9a7786e
[wasm] Quarantine relaxed SIMD WBT instead of overriding SDK crossgen…
lewing Nov 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/workflow/building/coreclr/wasi-r2r.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ of the number of function definitions; table slots may contain duplicate or non-
references.
Non-composite R2R and `WasmSingleFileBundle` are not supported by this path.

Relaxed SIMD is a default WASI instruction set. Hosts without relaxed SIMD fail to load the composite; publish with
`-p:PublishReadyToRunInstructionSet=-relaxed-simd` for them.

## Runtime tests

The WASI runtime-test pipeline keeps separate interpreter and `R2R_CG2` jobs. The R2R job uses
Expand Down
2 changes: 0 additions & 2 deletions eng/native.wasm.targets
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,12 @@
<BrowserHostInvariantGlobalization Condition="'$(BrowserHostInvariantGlobalization)' == ''">false</BrowserHostInvariantGlobalization>
<BrowserHostInvariantTimezone Condition="'$(BrowserHostInvariantTimezone)' == ''">false</BrowserHostInvariantTimezone>
<BrowserHostEnableDiagnostics Condition="'$(BrowserHostEnableDiagnostics)' == ''">false</BrowserHostEnableDiagnostics>
<BrowserHostEnableRelaxedSimd Condition="'$(BrowserHostEnableRelaxedSimd)' == ''">false</BrowserHostEnableRelaxedSimd>
</PropertyGroup>

<ItemGroup Condition="'$(TargetsBrowser)' == 'true' and '$(RuntimeFlavor)' == 'CoreCLR'">
<_CoreCLRPropertyThatTriggersRelinking Include="InvariantGlobalization" RuntimePackValue="$(BrowserHostInvariantGlobalization)" />
<_CoreCLRPropertyThatTriggersRelinking Include="InvariantTimezone" RuntimePackValue="$(BrowserHostInvariantTimezone)" />
<_CoreCLRPropertyThatTriggersRelinking Include="EnableDiagnostics" RuntimePackValue="$(BrowserHostEnableDiagnostics)" />
<_CoreCLRPropertyThatTriggersRelinking Include="WasmEnableRelaxedSimd" RuntimePackValue="$(BrowserHostEnableRelaxedSimd)" />
<_CoreCLRPropertyThatTriggersRelinking Include="WasmInitialHeapSize" RuntimePackValue="$(BrowserHostInitialHeapSize)" />
<_CoreCLRPropertyThatTriggersRelinking Include="EmccMaximumHeapSize" RuntimePackValue="$(BrowserHostMaximumHeapSize)" />
<_CoreCLRPropertyThatTriggersRelinking Include="EmccStackSize" RuntimePackValue="$(BrowserHostStackSize)" />
Expand Down
13 changes: 12 additions & 1 deletion eng/pipelines/coreclr/hardware-intrinsics-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ pr:
include:
- eng/pipelines/coreclr/hardware-intrinsics-wasm.yml
- eng/pipelines/coreclr/templates/jit-hardware-intrinsics-wasm.yml
- src/coreclr/crossgen-corelib.proj
- src/coreclr/jit/*wasm*
- src/tests/Directory.Build.targets
- src/tests/build.proj
- src/tests/JIT/HardwareIntrinsics/Wasm/**

variables:
Expand All @@ -28,4 +31,12 @@ extends:
parameters:
platforms:
- browser_wasm
testBuildArgs: '/p:WasmEnableRelaxedSimd=true -test:JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_r.csproj -test:JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_ro.csproj'
extraBuildArgs: /p:PublishReadyToRunInstructionSet=relaxed-simd
testBuildArgs: '/p:PublishReadyToRunInstructionSet=relaxed-simd -test:JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_r.csproj -test:JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_ro.csproj'
- template: /eng/pipelines/coreclr/templates/jit-hardware-intrinsics-wasm.yml
parameters:
platforms:
- wasi_wasm
# Compiles CoreLib into each test composite, so the tests can use relaxed SIMD.
extraHelixArguments: /p:WholeProgramCompositeBuildMode=true
testBuildArgs: '/p:PublishReadyToRunInstructionSet=relaxed-simd -test:JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_r.csproj -test:JIT/HardwareIntrinsics/HardwareIntrinsics_Wasm_ro.csproj'
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ parameters:
type: object
- name: testBuildArgs
type: string
- name: extraHelixArguments
type: string
default: ''
- name: extraBuildArgs
type: string
default: ''

jobs:
# Build CoreCLR + libraries for wasm, build the wasm HardwareIntrinsics tests,
Expand All @@ -22,7 +28,7 @@ jobs:
jobParameters:
testGroup: outerloop
nameSuffix: CoreCLR
buildArgs: -s clr+libs+packs -c $(_BuildConfig) /p:TestAssemblies=false
buildArgs: -s clr+libs+packs -c $(_BuildConfig) /p:TestAssemblies=false ${{ parameters.extraBuildArgs }}
timeoutInMinutes: 180
postBuildSteps:
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
Expand All @@ -32,6 +38,7 @@ jobs:
testRunNamePrefixSuffix: CoreCLR_R2R
# The CoreCLR interpreter does not implement Wasm SIMD; ReadyToRun code does.
readyToRun: true
extraHelixArguments: ${{ parameters.extraHelixArguments }}
extraVariablesTemplates:
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
parameters:
Expand Down
15 changes: 3 additions & 12 deletions eng/testing/tests.wasm.targets
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,11 @@

So, set those parameters explicitly here.
-->
<!-- CoreCLR decides intrinsic support in its JIT and interpreter, which can differ per method, so the
trimmer must not fold IsSupported. These substitutions are for Mono only. -->
<_WasmIntrinsicsSubstitutions Condition="'$(WasmEnableSIMD)' != 'false'">WasmIntrinsics</_WasmIntrinsicsSubstitutions>
<_WasmIntrinsicsSubstitutions Condition="'$(WasmEnableSIMD)' == 'false'">NoWasmIntrinsics</_WasmIntrinsicsSubstitutions>
<!-- RelaxedSimd is only implemented by CoreCLR (R2R); Mono always reports it unsupported. -->
<_WasmRelaxedSimdSubstitutions Condition="'$(WasmEnableSIMD)' != 'false' and '$(WasmEnableRelaxedSimd)' == 'true' and '$(RuntimeFlavor)' == 'CoreCLR'">WasmRelaxedSimd</_WasmRelaxedSimdSubstitutions>
<_WasmRelaxedSimdSubstitutions Condition="'$(WasmEnableSIMD)' != 'false' and '$(_WasmRelaxedSimdSubstitutions)' == ''">NoWasmRelaxedSimd</_WasmRelaxedSimdSubstitutions>
<!-- WasmEnableSIMD is about native codegen, and CoreCLR browser-wasm forces it on, but the CoreCLR
interpreter maps every System.Runtime.Intrinsics arch intrinsic except get_IsSupported to
PlatformNotSupportedException. Only crossgen'd code can execute them, so without ReadyToRun stubbing
IsSupported to true leaves a guarded SIMD path unconditionally reachable and it throws at startup. -->
<_WasmIntrinsicsSubstitutions Condition="'$(RuntimeFlavor)' == 'CoreCLR' and '$(PublishReadyToRun)' != 'true'">NoWasmIntrinsics</_WasmIntrinsicsSubstitutions>
<_WasmRelaxedSimdSubstitutions Condition="'$(RuntimeFlavor)' == 'CoreCLR' and '$(PublishReadyToRun)' != 'true'"></_WasmRelaxedSimdSubstitutions>
<_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --substitutions "$(BrowserProjectRoot)build\ILLink.Substitutions.$(_WasmIntrinsicsSubstitutions).xml"</_ExtraTrimmerArgs>
<_ExtraTrimmerArgs Condition="'$(_WasmRelaxedSimdSubstitutions)' != ''">$(_ExtraTrimmerArgs) --substitutions "$(BrowserProjectRoot)build\ILLink.Substitutions.$(_WasmRelaxedSimdSubstitutions).xml"</_ExtraTrimmerArgs>
<_ExtraTrimmerArgs Condition="'$(RuntimeFlavor)' != 'CoreCLR'">$(_ExtraTrimmerArgs) --substitutions "$(BrowserProjectRoot)build\ILLink.Substitutions.$(_WasmIntrinsicsSubstitutions).xml"</_ExtraTrimmerArgs>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -170,7 +162,6 @@
<_WasmPropertyNames Include="WasmBuildNative" />
<_WasmPropertyNames Include="WasmDebugLevel" />
<_WasmPropertyNames Include="WasmDedup" />
<_WasmPropertyNames Include="WasmEnableRelaxedSimd" />
<_WasmPropertyNames Include="WasmLinkIcalls" />
<_WasmPropertyNames Include="WasmNativeStrip" />
<_WasmPropertyNames Include="WasmNativeDebugSymbols" />
Expand Down
13 changes: 13 additions & 0 deletions src/coreclr/crossgen-corelib.proj
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,24 @@
DependsOnTargets="ResolveProjectReferences;MergeMibcFiles" />

<Target Name="PrepareInvokeCrossgen2" DependsOnTargets="ResolveProjectReferences;CreateMergedMibcFile">
<PropertyGroup>
<_CoreLibInstructionSetStampFile>$(IntermediatesDir)System.Private.CoreLib.instruction-set.stamp</_CoreLibInstructionSetStampFile>
</PropertyGroup>
<!-- Recompile CoreLib when the instruction sets change. -->
<MakeDir Directories="$(IntermediatesDir)" />
<WriteLinesToFile File="$(_CoreLibInstructionSetStampFile)"
Lines="$(PublishReadyToRunInstructionSet)"
Overwrite="true"
WriteOnlyWhenDifferent="true" />

<ItemGroup>
<Crossgen2Inputs Include="@(CoreLib)" />
<Crossgen2Inputs Include="$(MergedMibcPath)" />
<Crossgen2Inputs Include="@(Crossgen2Files->Metadata('OutputPath'))" />
<Crossgen2Inputs Include="$(WasmCoreClrFrameworkPInvokeModuleListFile)"
Condition="'$(PublishReadyToRunContainerFormat)' == 'wasm'" />
<Crossgen2Inputs Include="$(Crossgen2TasksAssembly)" />
<Crossgen2Inputs Include="$(_CoreLibInstructionSetStampFile)" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -202,6 +213,8 @@
<!-- wasm: enable cross-module inlining/optimization across the whole shared framework (the -r IL closure). -->
<_CoreLibCrossgen2ExtraArgs Include="--opt-cross-module:*"
Condition="'$(PublishReadyToRunContainerFormat)' == 'wasm'" />
<_CoreLibCrossgen2ExtraArgs Include="--instruction-set:$(PublishReadyToRunInstructionSet)"
Condition="'$(PublishReadyToRunInstructionSet)' != ''" />
<_CoreLibCrossgen2ExtraArgs Include="@(WasmCoreClrFrameworkPInvokeModule->WithMetadataValue('Browser', 'true')->WithMetadataValue('PrebuiltR2RDirect', 'true')->'--directpinvoke:%(Identity)')"
Condition="'$(PublishReadyToRunContainerFormat)' == 'wasm' and '$(TargetOS)' == 'browser'" />
<_CoreLibCrossgen2ExtraArgs Include="@(WasmCoreClrFrameworkPInvokeModule->WithMetadataValue('Wasi', 'true')->WithMetadataValue('PrebuiltR2RDirect', 'true')->'--directpinvoke:%(Identity)')"
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/hosts/corerun/wasi_r2r_probe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// calls out to it to obtain the composite R2R webcil image and the per-assembly stubs.
//
// The in-tree WASI R2R composer populates the image when publishing. The host must be linked with the
// flags that supply a composite's imports -- see WasiEnableCompositeR2R in WasiApp.CoreCLR.targets.
// flags that supply a composite's imports (see WasiApp.CoreCLR.targets).
// Without them this probe compiles but can never be satisfied.
//
// Requires corerun.hpp to be included first (for pal::try_map_file_readonly). Include exactly once per
Expand Down
5 changes: 5 additions & 0 deletions src/coreclr/jit/hwintrinsic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,10 @@ NamedIntrinsic HWIntrinsicInfo::resolveId(Compiler* comp,
if (isIsaSupported && comp->compSupportsHWIntrinsic(isa) &&
(vectorByteLength <= comp->getPreferredVectorByteLength()))
{
#ifdef TARGET_WASM
// Wasm has no runtime ISA detection, so the compile-time ISA support is exact.
return NI_IsSupported_True;
#else
if (!comp->IsTargetAbi(CORINFO_NATIVEAOT_ABI) || comp->compExactlyDependsOn(isa))
{
return NI_IsSupported_True;
Expand All @@ -1296,6 +1300,7 @@ NamedIntrinsic HWIntrinsicInfo::resolveId(Compiler* comp,
assert(comp->IsTargetAbi(CORINFO_NATIVEAOT_ABI));
return NI_IsSupported_Dynamic;
}
#endif
}

return NI_IsSupported_False;
Expand Down
4 changes: 2 additions & 2 deletions src/coreclr/tools/Common/Compiler/InstructionSetSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public static string GetHardwareIntrinsicId(TargetArchitecture architecture, Typ
}
else if (architecture is TargetArchitecture.Wasm32)
{
// TODO-WASM: return the correct intrinsic id once xplat intrinsics are implemented.
return "";
if (potentialType.Namespace != "System.Runtime.Intrinsics.Wasm"u8)
return "";
}
else
{
Expand Down
5 changes: 5 additions & 0 deletions src/coreclr/tools/Common/InstructionSetHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ public static InstructionSetSupport ConfigureInstructionSetSupport(string instru
{
instructionSetSupportBuilder.AddSupportedInstructionSet("base");
instructionSetSupportBuilder.AddSupportedInstructionSet("simd128");
Comment thread
lewing marked this conversation as resolved.
Resolved

if (targetOS == TargetOS.Wasi)
{
instructionSetSupportBuilder.AddSupportedInstructionSet("relaxed-simd");
}
}

bool throttleAvx512 = false;
Expand Down
13 changes: 0 additions & 13 deletions src/coreclr/vm/codeman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1457,15 +1457,6 @@ extern "C" DWORD64 __stdcall GetDataCacheZeroIDReg();
extern "C" uint64_t GetSveLengthFromOS();
#endif

#ifdef TARGET_WASM
static bool s_wasmRelaxedSimdSupported;

extern "C" void coreclr_wasm_set_relaxed_simd_supported()
{
s_wasmRelaxedSimdSupported = true;
}
#endif

void EEJitManager::SetCpuInfo()
{
LIMITED_METHOD_CONTRACT;
Expand Down Expand Up @@ -1510,10 +1501,6 @@ void EEJitManager::SetCpuInfo()
#if defined(TARGET_WASM)
CPUCompileFlags.Set(InstructionSet_WasmBase);
CPUCompileFlags.Set(InstructionSet_PackedSimd);
if (s_wasmRelaxedSimdSupported)
{
CPUCompileFlags.Set(InstructionSet_RelaxedSimd);
}
#endif

#if defined(TARGET_X86) || defined(TARGET_AMD64)
Expand Down
9 changes: 9 additions & 0 deletions src/coreclr/vm/codeman.h
Original file line number Diff line number Diff line change
Expand Up @@ -2341,6 +2341,15 @@ class EEJitManager final : public EECodeGenManager
return m_CPUCompileFlags;
}

#if defined(TARGET_WASM) && !defined(DACCESS_COMPILE)
// Wasm cannot detect instruction sets at run time; CoreLib's ReadyToRun image defines them.
void SetInstructionSetFromCoreLib(CORINFO_InstructionSet instructionSet)
{
LIMITED_METHOD_CONTRACT;
m_CPUCompileFlags.Set(instructionSet);
}
#endif

#if defined(TARGET_ARM64)
inline bool UseScalableVectorT()
{
Expand Down
9 changes: 9 additions & 0 deletions src/coreclr/vm/jitinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14637,6 +14637,15 @@ BOOL LoadDynamicInfoEntry(Module *currentModule,
DWORD instructionSetEncoded = CorSigUncompressData(pBlob);
bool mustInstructionSetBeSupported = !!(instructionSetEncoded & 1);
ReadyToRunInstructionSet instructionSet = (ReadyToRunInstructionSet)(instructionSetEncoded >> 1);
#ifdef TARGET_WASM
// Other images must match the instruction sets CoreLib was compiled for.
if (mustInstructionSetBeSupported && currentModule->IsSystem())
{
ExecutionManager::GetEEJitManager()->SetInstructionSetFromCoreLib(InstructionSetFromR2RInstructionSet(instructionSet));
corjitFlags = ExecutionManager::GetEEJitManager()->GetCPUCompileFlags();
continue;
}
#endif // TARGET_WASM
if (IsInstructionSetSupported(corjitFlags, instructionSet) != mustInstructionSetBeSupported)
{
return FALSE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
<IsApplePlatform Condition="'$(TargetsOSX)' == 'true' or '$(IsiOSLike)' == 'true'">true</IsApplePlatform>
<IsMobileLike Condition="'$(TargetsBrowser)' == 'true' or '$(TargetsWasi)' == 'true' or '$(IsiOSLike)' == 'true' or '$(TargetsAndroid)' == 'true'">true</IsMobileLike>
<SupportsArmIntrinsics Condition="'$(Platform)' == 'arm64'">true</SupportsArmIntrinsics>
<SupportsWasmIntrinsics Condition="'$(Platform)' == 'wasm' and '$(FeatureMono)' == 'true'">true</SupportsWasmIntrinsics>
<SupportsWasmIntrinsics Condition="'$(Platform)' == 'wasm' and '$(FeatureCoreCLR)' == 'true'">true</SupportsWasmIntrinsics>
<SupportsWasmIntrinsics Condition="'$(Platform)' == 'wasm'">true</SupportsWasmIntrinsics>
<SupportsWasmIntrinsics Condition="'$(SupportsWasmIntrinsics)' == ''">false</SupportsWasmIntrinsics>
<!-- Mono does not implement RelaxedSimd, so it uses the PlatformNotSupported implementation. -->
<SupportsWasmRelaxedSimdIntrinsics Condition="'$(SupportsWasmIntrinsics)' == 'true' and '$(FeatureCoreCLR)' == 'true'">true</SupportsWasmRelaxedSimdIntrinsics>
<SupportsWasmRelaxedSimdIntrinsics Condition="'$(SupportsWasmIntrinsics)' == 'true' and '$(FeatureMono)' != 'true'">true</SupportsWasmRelaxedSimdIntrinsics>
<SupportsWasmRelaxedSimdIntrinsics Condition="'$(SupportsWasmRelaxedSimdIntrinsics)' == ''">false</SupportsWasmRelaxedSimdIntrinsics>
<SupportsX86Intrinsics Condition="'$(Platform)' == 'x64' or '$(Platform)' == 'x86'">true</SupportsX86Intrinsics>
<SupportsX86Intrinsics Condition="'$(Platform)' == 'x86' and '$(FeatureMono)' == 'true'">false</SupportsX86Intrinsics>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<NoWarn>$(NoWarn),1718,SYSLIB0013</NoWarn>
<TestRuntime>true</TestRuntime>
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser</TargetFrameworks>
<WasmEnableRelaxedSimd Condition="'$(TargetOS)' == 'browser' and '$(RuntimeFlavor)' == 'CoreCLR'">true</WasmEnableRelaxedSimd>
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser;$(NetCoreAppCurrent)-wasi</TargetFrameworks>
<PublishReadyToRunInstructionSet Condition="'$(TargetOS)' == 'browser' and '$(RuntimeFlavor)' == 'CoreCLR'">relaxed-simd</PublishReadyToRunInstructionSet>
<WasmWarnOnUnresolvedPInvokeModules Condition="'$(TargetOS)' == 'browser'">false</WasmWarnOnUnresolvedPInvokeModules>
<!-- Disable nullability public only feature for NullabilityInfoContextTests -->
<Features>$(Features.Replace('nullablePublicOnly', '')</Features>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Runtime.Intrinsics.Wasm.Tests
{
[PlatformSpecific(TestPlatforms.Browser)]
[PlatformSpecific(TestPlatforms.Browser | TestPlatforms.Wasi)]
[ConditionalClass(typeof(PackedSimdTests), nameof(IsSupported))]
public sealed class PackedSimdTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.Runtime.Intrinsics.Wasm.Tests
{
[PlatformSpecific(TestPlatforms.Browser)]
[PlatformSpecific(TestPlatforms.Browser | TestPlatforms.Wasi)]
public sealed class RelaxedSimdTests
{
public static bool IsNotSupported => !RelaxedSimd.IsSupported;
Expand Down
Loading
Loading