platform/upstream/dotnet/runtime.git
15 months agoUpdate check-service-labels to trigger on branch edit (#84109)
github-actions[bot] [Thu, 30 Mar 2023 04:13:20 +0000 (21:13 -0700)]
Update check-service-labels to trigger on branch edit (#84109)

Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>
15 months ago[NativeAOT] Making thread local storage completely managed. (#84060)
Vladimir Sadov [Thu, 30 Mar 2023 02:51:09 +0000 (19:51 -0700)]
[NativeAOT] Making thread local storage completely managed. (#84060)

* move m_pThreadLocalModuleStatics to managed

* typo - should use newSize once computed

15 months agoSmaller static constructor context (#83937)
Jan Kotas [Wed, 29 Mar 2023 23:36:35 +0000 (16:36 -0700)]
Smaller static constructor context (#83937)

This makes native aot compiled binaries smaller and reduces code size of inlined static constructor checks that are being worked on.

15 months agoUpdating some places to cover xmm16-xmm31 (#84088)
Tanner Gooding [Wed, 29 Mar 2023 23:19:44 +0000 (16:19 -0700)]
Updating some places to cover xmm16-xmm31 (#84088)

* Updating some places to cover xmm16-xmm31

* Remove XMM0-XMM31 and K0-K7 from mapRegNumToDwarfReg

15 months agoRemove double quotes from OwnerCompositeExecutable (#83552)
Eduardo Velarde [Wed, 29 Mar 2023 18:23:42 +0000 (11:23 -0700)]
Remove double quotes from OwnerCompositeExecutable (#83552)

15 months agoUnroll SequenceEqual(ref byte, ref byte, nuint) in JIT (#83945)
Egor Bogatov [Wed, 29 Mar 2023 15:17:08 +0000 (17:17 +0200)]
Unroll SequenceEqual(ref byte, ref byte, nuint) in JIT (#83945)

Co-authored-by: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
15 months ago[wasm] Implement integer log2 in jiterpreter (#84068)
Katelyn Gadd [Wed, 29 Mar 2023 15:12:02 +0000 (08:12 -0700)]
[wasm] Implement integer log2 in jiterpreter (#84068)

15 months ago[wasm] Filter jiterp cfg back branch table before generating a dispatch table (#84067)
Katelyn Gadd [Wed, 29 Mar 2023 15:00:13 +0000 (08:00 -0700)]
[wasm] Filter jiterp cfg back branch table before generating a dispatch table (#84067)

If the cfg only contains one back branch target, use a br_if instead of a br_table

15 months agoFix #84053. (#84070)
Eirik Tsarpalis [Wed, 29 Mar 2023 14:26:53 +0000 (15:26 +0100)]
Fix #84053. (#84070)

15 months agoRemove HybridGlobalization info from linker feature switches (#84073)
Meri Khamoyan [Wed, 29 Mar 2023 13:50:05 +0000 (17:50 +0400)]
Remove HybridGlobalization info from linker feature switches (#84073)

15 months ago[mono] Mono support for InlineArrayAttribute (#83776)
Milos Kotlar [Wed, 29 Mar 2023 12:02:44 +0000 (14:02 +0200)]
[mono] Mono support for InlineArrayAttribute (#83776)

* Add InlineArray attribute in class init

* Add constraints for InlineArrayAttribute

* Consider the struct field as an array in compute_class_bitmap

* Make a note on marshalling structs with InlineArrayAttribute

* Enable InlineArray tests on Mono

* Move custom attribute value retrieval to a callback function

15 months agoStreamline a few members of char (#84024)
Stephen Toub [Wed, 29 Mar 2023 11:12:17 +0000 (07:12 -0400)]
Streamline a few members of char (#84024)

- Remove a branch from IsLetterOrDigit
- Slightly shrink the asm for IsPunctuation and IsSymbol
- Remove a bounds check from IsSurrogatePair
- Remove some bounds checks, other branching, and duplicative code from ConvertToUtf32

15 months agoMake use of "space" and "whitespace" consistent in emitted regex comments (#84055)
Stephen Toub [Wed, 29 Mar 2023 11:11:11 +0000 (07:11 -0400)]
Make use of "space" and "whitespace" consistent in emitted regex comments (#84055)

There are a few places we output a description of `\s` or `\S` in the generator.  Some of them say "space" and some say "whitespace".  This just makes them consistently use the latter.

15 months agoFix static test methods on abstract classes (#84054)
Stephen Toub [Wed, 29 Mar 2023 11:10:12 +0000 (07:10 -0400)]
Fix static test methods on abstract classes (#84054)

xunit isn't finding these to run them.  The fix is to make them non-static.

15 months agoLocalized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 214640...
dotnet bot [Wed, 29 Mar 2023 09:08:46 +0000 (02:08 -0700)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2146401 (#84063)

15 months ago[mono][interp] Add super instruction for common left shift pattern (#83512)
Vlad Brezae [Wed, 29 Mar 2023 07:45:13 +0000 (10:45 +0300)]
[mono][interp] Add super instruction for common left shift pattern (#83512)

* [mono][interp] Add super instruction for common left shift pattern

Where we mask against 31 / 63

* [mono][interp] Special case for 31 and 63 immediates

It adds great speedup while these being by far the most common patterns.

15 months agoSet minimum language version allowed by config binding generator (#83996)
Layomi Akinrinade [Wed, 29 Mar 2023 04:47:17 +0000 (21:47 -0700)]
Set minimum language version allowed by config binding generator (#83996)

* Set minimum language version allowed by config binding generator

* Address feedback; use correct diagnostic severity

15 months agouse ROSpan in SslStreamCertificateContext (#83485)
Tomas Weinfurt [Wed, 29 Mar 2023 03:06:10 +0000 (20:06 -0700)]
use ROSpan in SslStreamCertificateContext (#83485)

* use ROSpan in SslStreamCertificateContext

* feedback from review

15 months agoCoalesce identical constant WordCategories (#84047)
Marc Brooks [Wed, 29 Mar 2023 01:05:10 +0000 (20:05 -0500)]
Coalesce identical constant WordCategories (#84047)

* Coalesce identical constant WordCategories

There are four places the same mask is computed in this project, can't eliminate the one in RegexGenerator.Emitter or its matching unit test because that's outputting the actual C# source string.
Changed the name `WordCategoriesMask` to avoid a conflict with  existing member.
Removed the detritus in the comments from the copy-paste from Emitter source (trailing `"` and `,`)

* Update src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexCharClass.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
15 months ago[wasm] Boost hit count for outer back branch targets; improve conditional execution...
Katelyn Gadd [Wed, 29 Mar 2023 00:25:38 +0000 (17:25 -0700)]
[wasm] Boost hit count for outer back branch targets; improve conditional execution detection (#83630)

* More intelligently identify whether a given instruction will be conditionally executed
* If a back branch target can't be reached from inside the current trace and it is a trace prepare point, boost its hit count
This will cause it to get jitted sooner

15 months agoAdd lowering for As*() and dependent methods. (#83861)
DeepakRajendrakumaran [Tue, 28 Mar 2023 23:38:05 +0000 (16:38 -0700)]
Add lowering for As*() and dependent methods. (#83861)

* Add lowering for As*() and dependent methods.

This includes the following:
As(), AsByte(), AsDouble(), AsInt16(), AsInt32(), AsInt64(), AsNInt(), AsNUInt(), AsByte(), AsSingle(), AsUInt16(), AsUInt32(), AsUInt64(), AsVector(), AsVector512(), GetLower(), ToVector512()

* Handling xmm <-> zmm conversions.

* Addressing review comments.

15 months agoJIT: small OSR locals must be normalize on load (#84000)
Andy Ayers [Tue, 28 Mar 2023 23:27:21 +0000 (16:27 -0700)]
JIT: small OSR locals must be normalize on load (#84000)

When I changed the importation strategy for OSR in #83910 it
exposed a latent issue -- small OSR locals must normalized on load if
they were exposed at Tier0.

Fixes #83959.
Fixes #83960.

15 months agoFix precondition if HOST_UNIX in ClrVirtualAllocWithinRange() (#84023)
Ilia [Tue, 28 Mar 2023 23:06:03 +0000 (01:06 +0200)]
Fix precondition if HOST_UNIX in ClrVirtualAllocWithinRange() (#84023)

Fixes #83818

15 months agoRestore original stack ref enumeration behavior (#84034)
Lee Culver [Tue, 28 Mar 2023 21:03:03 +0000 (14:03 -0700)]
Restore original stack ref enumeration behavior (#84034)

The previous change to ICorDebugGCReferenceEnum accidently inverted the logic for interior pointers.

15 months agoFix service label action (#84046)
Carlos Sánchez López [Tue, 28 Mar 2023 20:21:41 +0000 (13:21 -0700)]
Fix service label action (#84046)

15 months agoCreate action to check servicing label (#84038)
Juan Hoyos [Tue, 28 Mar 2023 19:17:01 +0000 (12:17 -0700)]
Create action to check servicing label (#84038)

15 months agoProvide support for exposing .NET classes to COM through source generation (#83755)
Jeremy Koritzinsky [Tue, 28 Mar 2023 18:01:18 +0000 (11:01 -0700)]
Provide support for exposing .NET classes to COM through source generation (#83755)

15 months agoLibraries area pod updates for March 2023, plus some fabricbot maintenance (#83897)
Jeff Handley [Tue, 28 Mar 2023 17:39:32 +0000 (10:39 -0700)]
Libraries area pod updates for March 2023, plus some fabricbot maintenance (#83897)

* Regenerate fabricbot.json with pod updates

* Tag the area-System-ComponentModel-DataAnnotations team

* Add marek-safar as a mentionee for linkable-framework

* Libraries area pod updates March 2023. Includes catching area-owners.json up to area-owners.md.

* Add bartonjs as mentions for security/formats areas

* Sort issue routing areas

* Add areas missing from issue routing

* Use dotnet/area-system-speech team mention

* Add vcsjones as a consultant for Asn1 and Cbor

* Remove empty condition on 'breaking-change' label config

* Add wfurt as a consultant to System.Security

15 months agoReimplement DacStackReferenceWalker and DacHandleWalker (#83836)
Lee Culver [Tue, 28 Mar 2023 16:36:21 +0000 (09:36 -0700)]
Reimplement DacStackReferenceWalker and DacHandleWalker (#83836)

* Refactor DacStackReferenceWalker

Added a flag to not resolve interior pointers to the start of the object. This allows the debugger to shoulder that burden instead of the dac doing this work. This greatly speeds up stack root walking.

Greatly simplified the logic. There's a memory error in this code lurking somewhere because it used some complicated pointer arithmetic that wasn't correct. Since copying references isn't time critical code, I made this as dead simple as possible so it's easy to validate.

* Clean up and simplify DacHandleWalker

* Minor fixes

* Only produce SOS style reference lists

* Fix build warnings

* Fix handle walking issue

* Fix minor handle walking issue

15 months agoUpdate backport template and servicing docs (#83795)
Carlos Sánchez López [Tue, 28 Mar 2023 16:34:21 +0000 (09:34 -0700)]
Update backport template and servicing docs (#83795)

* Update backport template to indicate new staging branches rule.

* Update library servicing.

15 months agoDelete Microsoft.Windows.Compatibility from runtime (#84013)
Viktor Hofer [Tue, 28 Mar 2023 15:39:25 +0000 (17:39 +0200)]
Delete Microsoft.Windows.Compatibility from runtime (#84013)

https://github.com/dotnet/winforms/pull/8909 moves the M.W.C package into
windowsdesktop. Deleting the source from runtime and the package
versions that aren't used anymore.

15 months agoCheck in shim typeforwards and remove the dependency on the underlying targeting...
Viktor Hofer [Tue, 28 Mar 2023 15:32:33 +0000 (17:32 +0200)]
Check in shim typeforwards and remove the dependency on the underlying targeting packs (#79147)

* Make .NET Framework and .NET Standard facade changes trackable

Fixes https://github.com/dotnet/runtime/issues/65997

GenFacade is a tool that inspects a contract assembly's public API surface safe area, compares it with a passed in assembly closure and emits a C# source file with type forwards in it so that the satisfied API can be forwarded from the contract to the "implementation". GenFacades is used to construct the .NETFramework and the .NETStandard shim assemblies which live under src/libraries/shims/.

The generated source file isn't checked into the tree, it's placed into the project's intermediate output path. IMO it would help if we check these files into the tree so that any changes that impact shims - intentional or unintentional - are trackable. As an example, I just recently refactored how the shims are structured under src/libraries/shims and unintentionally removed a type forward from an assembly. I only noticed this regression by pure luck later.

The priority of this issue just rose because source build plans to remove their .NET Framework reference assembly packages during the .NET 8 release. That means that we can't automatically generate the type forwards during source-build. I will work on removing the dependency and check the type forwards in instead.

* Make shim projects declare the dependencies explicitly

Also remove the System.Xml special runtime project which isn't necessary
anymore as the compiler now allows type forwards to Obsolete types with
error=true.

* System.Core build fix

* Remove unused file

* Revert "Remove unused file"

This reverts commit 2f5d410a1ff2ed4705a7256c19cd65aa11107267.

* Add README and fix GenFacades zero version logic

15 months agoEnsure that CONTEXT_XStateFeaturesMask is explicitly zeroed out on RtlCaptureContext...
Tanner Gooding [Tue, 28 Mar 2023 14:42:36 +0000 (07:42 -0700)]
Ensure that CONTEXT_XStateFeaturesMask is explicitly zeroed out on RtlCaptureContext (#84012)

15 months agoRenable running Arm64 test cases in CI (#83948)
Kunal Pathak [Tue, 28 Mar 2023 14:31:13 +0000 (07:31 -0700)]
Renable running Arm64 test cases in CI (#83948)

* remove _IncludeArm64HWIntrinsicTests restriction

* Remove _IncludeXarchHWIntrinsicTests

* Remove comments

15 months ago[wasm] Use docker images with emscripten 3.1.30 (#84014)
Radek Doulik [Tue, 28 Mar 2023 13:07:02 +0000 (15:07 +0200)]
[wasm] Use docker images with emscripten 3.1.30 (#84014)

Currently the webassembly docker images with name ending with net8 have
emscripten 3.1.34 and break wasm builds on CI.

15 months ago[workload] Fix using empty RuntimeIdentifier in LibraryBuilder AutoImport.props ...
Steve Pfister [Tue, 28 Mar 2023 12:51:33 +0000 (08:51 -0400)]
[workload] Fix using empty RuntimeIdentifier in LibraryBuilder AutoImport.props (#83834)

When `mobile-librarybuilder-experimental` is installed, the LibraryBuilder SDK AutoImport.props activates and it incorrectly tries to IndexOf RuntimeIdentifier even when it's an empty string. This can lead to annoying error messages popping up even when not using the workload.

The fix is to add a condition only when RuntimeIdentifier has a value.

15 months agoFix infinite timeout passed to CancellationTokenSource.CancelAfter (#84009)
Stephen Toub [Tue, 28 Mar 2023 10:24:48 +0000 (06:24 -0400)]
Fix infinite timeout passed to CancellationTokenSource.CancelAfter (#84009)

The recent change to introduce ITimer broke CTS.CancelAfter(Timeout.InfiniteTimeSpan).  The TimeSpan's milliseconds were extracted as a uint but then ended up being cast to a long, such that rather than representing -1 milliseconds, it represented 4294967295 milliseconds.  With the uint representation in Timer, Timeout.UnsignedInfinite needs to be special-cased.

15 months agoUse bit mask in Regex's IsWordChar (#84003)
Stephen Toub [Tue, 28 Mar 2023 10:22:42 +0000 (06:22 -0400)]
Use bit mask in Regex's IsWordChar (#84003)

15 months agoEnable regex source gen / compiler vectorization of all sets (#83992)
Stephen Toub [Tue, 28 Mar 2023 10:18:27 +0000 (06:18 -0400)]
Enable regex source gen / compiler vectorization of all sets (#83992)

* Enable regex source gen / compiler vectorization of all sets

When emitting TryFindNextPossibleStartingPosition based on a set that's a fixed-distance from the start of the pattern, today we're able to vectorize a variety of cases.  In .NET 7, this was largely limited to very small sets that contained only 1-5 characters.  Earlier in .NET 8, we expanded this to include ranges (e.g. [0-9]) and more impactfully sets containing any number of only ASCII values (e.g. [A-Za-z0-9]).  That still, however, leaves sets that are non-continguous and contain anything non-ASCII, which is extremely common.  For example, the set `[a-z]` with `RegexOptions.IgnoreCase` actually gets expanded to be `[A-Za-z\u212A]` because the Kelvin sign is considered case-equivalent with `k`, and that means for such a set, we wouldn't employ any vectorized helper and would instead just walk character by character.

With this PR, we'lll now employ some vectorization as part of that remaining class of set as well in the compiler and source generator.  In particular, we do a vectorize a search for the ASCII portion of the set along with anything non-ASCII.  If the found result is ASCII, we're done.  If the found result is non-ASCII, then we proceed to walk character by character as was done previously.

* Address PR feedback

15 months agoInitial changes for GetLocaleInfoString (#81470)
Meri Khamoyan [Tue, 28 Mar 2023 08:13:28 +0000 (12:13 +0400)]
Initial changes for GetLocaleInfoString (#81470)

Initial changes for globalization hybrid mode.
Implemented GetLocaleInfoStringName and GetLocaleNameNative for osx platforms.

15 months agoJIT: Allow forward substituting small-typed nodes (#83969)
Jakob Botsch Nielsen [Tue, 28 Mar 2023 07:07:52 +0000 (09:07 +0200)]
JIT: Allow forward substituting small-typed nodes (#83969)

15 months agoJIT: Generalize handling of commas in block morphing (#83590)
Jakob Botsch Nielsen [Tue, 28 Mar 2023 07:03:17 +0000 (09:03 +0200)]
JIT: Generalize handling of commas in block morphing  (#83590)

Eliminate commas early in block morphing, before the rest of the
transformation needs to look at it. Do this by extracting their side
effects and adding them on top of the returned result instead. This
allows us to handle arbitrary COMMAs on destination operand in a general
manner.

Prerequisite to #83388.

Fix #1699.

15 months agoMark the windows runtime packs workload as abstract (#83230)
Larry Ewing [Tue, 28 Mar 2023 04:51:43 +0000 (23:51 -0500)]
Mark the windows runtime packs workload as abstract (#83230)

15 months agoAdd osx-arm64 for coreclr packages. (#84001)
Aaron Robinson [Tue, 28 Mar 2023 04:50:50 +0000 (21:50 -0700)]
Add osx-arm64 for coreclr packages. (#84001)

* Add osx-arm64 for coreclr packages.

This was found looking for TestHost osx-arm64

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
15 months agoExtend mstat format with information that maps to dependency nodes (#83578)
Michal Strehovský [Tue, 28 Mar 2023 03:45:48 +0000 (12:45 +0900)]
Extend mstat format with information that maps to dependency nodes (#83578)

This will allow crossreferencing MSTAT with DGML files. The ultimate goal is to allow folding information from DGML into MSTAT (so that we don't need two files) but... baby steps.

This is a breaking change to the file format. I don't anticipate a breaking change after this. The DGML folding would be backwards compatible. I considered making it non-breaking, but I think it's just better to bite the bullet now. To fix existing readers, just skip over the new entry. Like in this diff: https://gist.github.com/MichalStrehovsky/2c7cb3d623c7f8901541914dab04238d/revisions

This adds an extra instruction encoding the name into each entry of the Method and Types stream.

We avoid the problem in #75328 (where the strings ran over the 16 MB total length limit) by generating the textual strings into a separate PE section. The record contains an integer index into this section.

If you would like to read it, it's not possible with Cecil, but the superior metadata reader in S.R.Metadata comes to the rescue. This is the ~diff you'd want to apply (and make a similar adjustment for methods): https://gist.github.com/MichalStrehovsky/195967f3a117663b6340cd828a52dfc7/revisions. If you're worried about duplicate loading, I'd suggest creating a memory mapped view of the file and sharing the same view between Cecil and S.R.Metadata. S.R.Metadata is pretty much no overhead on it's own.

15 months ago[mono][jit] Fix the removal of relations added by basic blocks. (#83943)
Zoltan Varga [Tue, 28 Mar 2023 02:42:21 +0000 (22:42 -0400)]
[mono][jit] Fix the removal of relations added by basic blocks. (#83943)

If a basic block added two relations to the same variable, like by two op_not_null
opcodes, then sometimes the relations were not removed, causing
invalid null check elimination in unrelated basic blocks.

Fixes https://github.com/dotnet/runtime/issues/83941.

15 months ago[System.Net] Introduce CIDR IPNetwork (#82779)
Murat Duisenbayev [Mon, 27 Mar 2023 23:25:56 +0000 (01:25 +0200)]
[System.Net] Introduce CIDR IPNetwork (#82779)

15 months agoFix function pointer as fields inspection (#83981)
Aaron Robinson [Mon, 27 Mar 2023 21:31:31 +0000 (14:31 -0700)]
Fix function pointer as fields inspection (#83981)

This was missed when C# function pointers support
was added to the runtime. The current fix is reporting
all functions pointers as `IntPtr` type. It should be
possible in a future update to properly represent a
more accurate type for the function pointer.

15 months agoAdd ability specify core_root when run (#82387)
Andrii Kurdiumov [Mon, 27 Mar 2023 20:11:52 +0000 (02:11 +0600)]
Add ability specify core_root when run (#82387)

I use this to run tests of Loongarch, it was long time ago when I implement this, but most likely missing crossgen2 do not allow me properly build Core_Root automatically, so I have to specify it manually from well known location.

15 months agoSwitch the channel from 8.0 to 8.0-preview (#83984)
Kunal Pathak [Mon, 27 Mar 2023 19:30:17 +0000 (12:30 -0700)]
Switch the channel from 8.0 to 8.0-preview (#83984)

15 months agoupdate types mentioned in comment to match method (#82768)
Tom Rathbone [Mon, 27 Mar 2023 18:58:46 +0000 (20:58 +0200)]
update types mentioned in comment to match method (#82768)

seems that the comment got copied over from FrozenSet and not updated

15 months agoadd link to interop guidelines (#83987)
Dan Moseley [Mon, 27 Mar 2023 18:40:19 +0000 (12:40 -0600)]
add link to interop guidelines (#83987)

15 months agoModernize XmlUTF8TextWriter with u8/inline out's. (#75812)
Joseph Lennox [Mon, 27 Mar 2023 18:14:52 +0000 (11:14 -0700)]
Modernize XmlUTF8TextWriter with u8/inline out's. (#75812)

* Modernize XmlUTF8TextWriter with u8/inline out's.

* PR feedback

---------

Co-authored-by: Steve Molloy <smolloy@microsoft.com>
15 months agoFix Iran time zone test case (#83952)
Tarek Mahmoud Sayed [Mon, 27 Mar 2023 18:04:09 +0000 (11:04 -0700)]
Fix Iran time zone test case (#83952)

Co-authored-by: Stephen Toub <stoub@microsoft.com>
15 months agoUpdating Unix to save/restore Avx512 state (#83784)
Tanner Gooding [Mon, 27 Mar 2023 17:42:51 +0000 (10:42 -0700)]
Updating Unix to save/restore Avx512 state (#83784)

* Updating Unix to save/restore Avx512 state

* Ensure compilation works when XSTATE_SUPPORTED isn't defined

* Ensure __cpuid isn't implemented on Arm32/Arm64

* Fixing a couple of build failures

* Fixing some OSX failures

* More OSX fixes

* More build fixes

* AltJit and another OSX build fix

* Ensure an assert checks the right bit

* Fixing an assert on OSX to account for general XSTATE tracking

* Addressing PR feedback

* Various fixups and bug fixes to appease CI

* Use HOST_AMD64 not HOST_64BIT

* Explicitly bypass AVX512 support on OSX until thread enablement can be resolved

* Remove commented out code for OSX in favor of just leaving a comment explaining

* Use HAVE_MACH_EXCEPTIONS not TARGET_OSX

15 months agoIssue 83667 (#83820)
careri [Mon, 27 Mar 2023 17:06:09 +0000 (19:06 +0200)]
Issue 83667 (#83820)

* Fixed devcontainer

* Issue-83667 Fixed misleading exception message

* issue-83667 Fixed test

* issue-83667 Reverted .devcontainer fix

15 months ago[main] Update dependencies from dotnet/roslyn (#83301)
dotnet-maestro[bot] [Mon, 27 Mar 2023 15:21:55 +0000 (10:21 -0500)]
[main] Update dependencies from dotnet/roslyn (#83301)

* Update dependencies from https://github.com/dotnet/roslyn build 20230310.6

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23160.6

* Update dependencies from https://github.com/dotnet/roslyn build 20230311.1

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23161.1

* Update dependencies from https://github.com/dotnet/roslyn build 20230313.3

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23163.3

* Update dependencies from https://github.com/dotnet/roslyn build 20230314.6

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23164.6

* Update dependencies from https://github.com/dotnet/roslyn build 20230320.16

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23170.16

* Update dependencies from https://github.com/dotnet/roslyn build 20230321.17

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23171.17

* Update dependencies from https://github.com/dotnet/roslyn build 20230322.9

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23172.9

* Update dependencies from https://github.com/dotnet/roslyn build 20230324.2

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23174.2

* Add unsafe

* Update dependencies from https://github.com/dotnet/roslyn build 20230324.3

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23174.3

* Update dependencies from https://github.com/dotnet/roslyn build 20230325.1

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.6.0-3.23160.1 -> To Version 4.6.0-3.23175.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
15 months agoDocumentation for loading custom files in Blazor. (#83925)
Ilona Tomkowicz [Mon, 27 Mar 2023 15:00:45 +0000 (17:00 +0200)]
Documentation for loading custom files in Blazor. (#83925)

* How to load custom icu files in Blazor.

* Specify the path form.

Specify how the path should look like for both: Blazor and WASM app.

* Nit

15 months agoImplement checking for Requires* on attributes for NativeAOT (#83550)
Vitek Karas [Mon, 27 Mar 2023 11:28:03 +0000 (04:28 -0700)]
Implement checking for Requires* on attributes for NativeAOT (#83550)

Any of the RUC/RDC/RAF attributes can be added to an attribute (either the type or the .ctor or properties). The compiler needs to check for these and produce warnings if such attribute is instantiated somewhere.

This was added to "Dataflow" existing class, while it's not exactly data flow, adding a new abstraction didn't seem worth it.

Also does a simple dedupe of RUC/RDC/RAF checks in some places.

Adapt the tests to the new behavior. The most notable change is that NativeAOT will only look at attributes for reflection enabled members, so had to modify the tests to reflection access basically everything.

Use GetDisplayName for anything which is supported by that extension method - this fixes wrong origin printed out for property/event (we would print out 'PropertyPseudoDescriptor').

Mapping IL offset to source file/line number - if the PDB specifies that line as "hidden", then don't use it, instead look for the begining of the method - so first non-hidden sequence point in the method's body.
This is a copy of the logic implemented in illink already.

15 months agoTrim away netframework targets in source-build (#83899)
Nikola Milosavljevic [Mon, 27 Mar 2023 09:33:58 +0000 (02:33 -0700)]
Trim away netframework targets in source-build (#83899)

* Trim away netframework targets in source-build

* Move property unsetting to Directory.Build.props so it works in repo source-build

15 months agoJIT: Fix ordering of type initialization and stsfld (#80485)
Mark Plesko [Mon, 27 Mar 2023 09:11:16 +0000 (02:11 -0700)]
JIT: Fix ordering of type initialization and stsfld  (#80485)

Insertion of the type initializer before the tree for a stsfld could reorder them inappropriately. This includes those computation in the spill check.

Fixes #72354.

15 months agoDisable test failing on bad Alt-Svc header (#83876)
Marie Píchová [Mon, 27 Mar 2023 08:54:10 +0000 (10:54 +0200)]
Disable test failing on bad Alt-Svc header (#83876)

15 months ago[wasm] Add PackedSimd bit shift intrinsics (#83896)
Radek Doulik [Mon, 27 Mar 2023 08:33:24 +0000 (10:33 +0200)]
[wasm] Add PackedSimd bit shift intrinsics  (#83896)

* Add bit shifts to PackedSimd class

* [wasm] Add PackedSimd bit shift intrinsics

Example of code generated for this method:

    void Snippet(Vector128<int> vector)
    {
        var v2 = PackedSimd.ShiftLeft (vector, 3);
        var v3 = PackedSimd.ShiftRightArithmetic (vector, 3);
        var v4 = PackedSimd.ShiftRightLogical (vector, 3);

        Print (vector, v2, v3, v4);
    }

Relevant parts:
    (func Wasm_Browser_Bench_Sample_Sample_VectorTask_Add_Snippet_System_Runtime_Intrinsics_Vector128_1_int(param $0 i32, $1 i32, $2 i32))
    ...
     local.tee $3
     i32.const 3
     i32x4.shr.u    [SIMD]
     v128.store offset:96 align:4    [SIMD]
     local.get $0
     local.get $3
     i32.const 3
     i32x4.shr.s    [SIMD]
     v128.store offset:80 align:4    [SIMD]
     local.get $0
     local.get $3
     i32.const 3
     i32x4.shl    [SIMD]
     v128.store offset:64 align:4    [SIMD]
    ...

* Fix build

15 months agoUpdate the hardcoded dotnet-version with channels (#83905)
Kunal Pathak [Mon, 27 Mar 2023 04:20:55 +0000 (21:20 -0700)]
Update the hardcoded dotnet-version with channels (#83905)

* Update the hardcoded dotnet-version with channels

* fix the parameter

15 months agoEnsure kmask registers are marked available (#83927)
Tanner Gooding [Mon, 27 Mar 2023 02:29:43 +0000 (19:29 -0700)]
Ensure kmask registers are marked available  (#83927)

* Revert "Disable EVEX support until the bug can be resolved"

This reverts commit ce95709587a45d682ae147737071b7174d1c1e2d.

* Ensure availableMaskRegs is included where required

* Track a new regTyp entry in the typelist metadata

* Utilize varTypeUsesIntReg and varTypeUsesMaskReg

* Ensure we don't use TYP_MASK on platforms without FEATURE_SIMD

* Responding to PR feedback

15 months agoFixed a typo in SpinLock.cs (#83953)
Theodor Zoulias [Mon, 27 Mar 2023 02:09:01 +0000 (05:09 +0300)]
Fixed a typo in SpinLock.cs (#83953)

16 months agoSPMI: Fix recGetStaticFieldCurrentClass (#83843)
Jakob Botsch Nielsen [Sun, 26 Mar 2023 13:21:26 +0000 (15:21 +0200)]
SPMI: Fix recGetStaticFieldCurrentClass (#83843)

getStaticFieldCurrentClass has very different behavior depending on
whether pIsSpeculative is passed or not, and we need to record the
resulting class handle in both cases.

This fixes a case of replays not working after recording that I hit
while tracking down a separate issue.

16 months agoJIT: import entire method for OSR, prune unneeded parts later (#83910)
Andy Ayers [Sun, 26 Mar 2023 07:47:31 +0000 (00:47 -0700)]
JIT: import entire method for OSR, prune unneeded parts later (#83910)

For OSR compiles, always import from the original entry point in addition
to the OSR entry point. This gives the OSR compiler a chance
to see all of the method and so properly compute address exposure,
instead of relying on the Tier0
analysis.

Once address exposure has been determined, revoke special protection
for the original entry and try and prune away blocks that are no longer
needed (we actually wait until morph).

Fixes #83783.

May also fix some of the cases where OSR perf is lagging (though
don't expect this to fix them all).

16 months agoReplace empty string literals in Marshal.cs (#83928)
Tudor Anghelina [Sun, 26 Mar 2023 05:20:11 +0000 (08:20 +0300)]
Replace empty string literals in Marshal.cs (#83928)

Replace empty string literals exception messages with null in Marshal.cs
Remove redundant switches in Marshal.cs
Group together switches for ObjectDisposedException

Fix #68347

* Apply suggestions from code review

Co-authored-by: Tudor Anghelina <tudor.anghelina91@gmail.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
16 months agoDelete redundant test (#83931)
Jan Kotas [Sun, 26 Mar 2023 01:36:36 +0000 (18:36 -0700)]
Delete redundant test (#83931)

This scenario has comprehensive test coverage under src/libraries

Fixes #83929

16 months agoIntroducing Time abstraction Part1 (#83604)
Tarek Mahmoud Sayed [Sat, 25 Mar 2023 19:34:08 +0000 (12:34 -0700)]
Introducing Time abstraction Part1 (#83604)

16 months agoDisable EVEX support until the bug can be resolved (#83922)
Tanner Gooding [Sat, 25 Mar 2023 15:38:32 +0000 (08:38 -0700)]
Disable EVEX support until the bug can be resolved (#83922)

16 months agoPersist FPU variables across try_compile passes (#83206)
Adeel Mujahid [Sat, 25 Mar 2023 14:21:39 +0000 (16:21 +0200)]
Persist FPU variables across try_compile passes (#83206)

* Persist FPU variables across try_compile passes

* Fix cmakeargs in corehost and build-native projs

16 months agoUnroll Buffer.Memmove for arm64 (#83740)
Egor Bogatov [Sat, 25 Mar 2023 13:38:59 +0000 (14:38 +0100)]
Unroll Buffer.Memmove for arm64 (#83740)

Co-authored-by: Michał Petryka <35800402+MichalPetryka@users.noreply.github.com>
Co-authored-by: Bruce Forstall <brucefo@microsoft.com>
16 months agoJIT: Stop creating "location" commas (#83814)
Jakob Botsch Nielsen [Sat, 25 Mar 2023 11:05:59 +0000 (12:05 +0100)]
JIT: Stop creating "location" commas (#83814)

Avoid creating commas that are on the LHS of an assignment or below an ADDR node.

These primarily were created by morph which has an IND(COMMA(x, y)) -> COMMA(x, IND(y)) transformation that did not pay attention to whether it was on the left of an assignment.
The IR shape is pretty odd; the RHS of these commas are not actually evaluated in the traditional sense, but happen as part of the parent ASG, so the semantics of the construct ends up being confusing.
Additionally it complicates #83590.

16 months agoComment out Iran timezone tests (#83916)
Jan Kotas [Sat, 25 Mar 2023 10:49:06 +0000 (03:49 -0700)]
Comment out Iran timezone tests (#83916)

Fixes #83901

16 months agoExclude a source-gen test project from NativeAOT (#83881)
Adeel Mujahid [Sat, 25 Mar 2023 06:47:18 +0000 (08:47 +0200)]
Exclude a source-gen test project from NativeAOT (#83881)

* Exclude a source-gen test project from NativeAOT

* Exclude more test projects

* Delete duplicate exclusion

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
16 months agoUnify managed runtime type name parsers (#83484)
Jan Kotas [Sat, 25 Mar 2023 03:46:49 +0000 (20:46 -0700)]
Unify managed runtime type name parsers (#83484)

Contributes to #72833 and #77868

The performance effect of this change on typical use of `Type.GetType` like `Type.GetType("MyType, MyAssembly")` is in the noise range. The typical use of `Type.GetType` spends most of the time in assembly loader and type loader. The time spent by parsing the type name is small fraction of the total and the performance improvement is hardly noticeable.

When the type name parser performance is measured in isolation, it is several times faster compared to the existing unmanaged CoreCLR type name parser. For example:
```
Type.GetType("System.Object, System.Private.CoreLib",
       assemblyResolver: (an) => typeof(object).Assembly,
       typeResolver: (assembly, name, ignoreCase) => typeof(object));
```
is about 3x faster with this change on CoreCLR.

Co-authored-by: Aaron Robinson <arobins@microsoft.com>
16 months agoFix a read-out-of-local error in the MD library. (#83906)
Jeremy Koritzinsky [Sat, 25 Mar 2023 03:33:53 +0000 (20:33 -0700)]
Fix a read-out-of-local error in the MD library. (#83906)

Fixes #73718.

Based on #73736

16 months agoFix false PASS JIT/CodeGenBringUpTests/DivConst.cs (#83880)
t-mustafin [Sat, 25 Mar 2023 03:32:00 +0000 (06:32 +0300)]
Fix false PASS JIT/CodeGenBringUpTests/DivConst.cs (#83880)

16 months agoUpdate BOTR description of function pointer (#83914)
Huo Yaoyuan [Sat, 25 Mar 2023 03:30:09 +0000 (11:30 +0800)]
Update BOTR description of function pointer (#83914)

16 months agoEnable EVEX support by default (#83648)
Tanner Gooding [Sat, 25 Mar 2023 00:18:49 +0000 (17:18 -0700)]
Enable EVEX support by default (#83648)

* Remove JitForceEVEXEncoding in favor of the existing AltJit enablement

* Rename IsVexEncodingInstruction to IsVexEncodableInstruction

* Updating the JIT to support EVEX by default

* Mark the AVX512 ISAs as "fully implemented" since they have no unimplemented instructions

* Simplify some of the EVEX related checks in emitxarch

* Tweak the Vector512 ISA check to properly account for VL

* Applying formatting patch

* Ensure we're checking for actual KMask usage and not just potential usage

* Fixing CORJIT_ALLOCMEM_FLG_RODATA_64BYTE_ALIGN for the managed VM

* Fixing the DoJitStressEvexEncoding check to account for VEX vs EVEX differences

* Break apart an overly long assert

* Ensure IsBaselineVector512IsaSupported works on x86

* Block NI_Vector512_ExtractMostSignificantBits on x86 pending decomposition work

* Ensure we don't overwrite 64-byte alignment for SPMI

* Include Vector512 HWIntrinsic tests by default

16 months agoFix reserving executable memory as per allocation type in ClrVirtualAllocWithinRange...
Ilia [Fri, 24 Mar 2023 21:36:24 +0000 (22:36 +0100)]
Fix reserving executable memory as per allocation type in ClrVirtualAllocWithinRange() (#83819)

Fixes #83818

16 months agoImprove incremental handling in regex generator (#83868)
Stephen Toub [Fri, 24 Mar 2023 21:05:41 +0000 (17:05 -0400)]
Improve incremental handling in regex generator (#83868)

* Improve incrementalism:
- Don't calculate the tree or analysis inside the semantic info.
- Dont' store methodDeclartionSyntax and store a comparable across runs location instead.

* Add comments, clean up, and simplify parser

---------

Co-authored-by: Chris Sienkiewicz <chsienki@microsoft.com>
16 months ago[LSRA TP]: Skip free heuristics if no free registers are available (#83569)
Kunal Pathak [Fri, 24 Mar 2023 20:44:13 +0000 (13:44 -0700)]
[LSRA TP]: Skip free heuristics if no free registers are available (#83569)

* Add busy regs selection in different file to improve Release TP

* jit format

* Remove all the ifdef except in Release

* Skip the freeCandidates checks from free heuristics in Release mode

* Simplify things

16 months agoFix for issue #78866 and regression test (#83697)
Tomáš Rylek [Fri, 24 Mar 2023 19:28:10 +0000 (20:28 +0100)]
Fix for issue #78866 and regression test (#83697)

This fix breaks the infinite recursion cycle reported in the
above issue by propagating class load level to the interface
iterator.

Thanks

Tomas

16 months agoFix null dereference when logging enabled on 32-bit platforms in HostCodeHeap::Initia...
Ilia [Fri, 24 Mar 2023 19:13:05 +0000 (20:13 +0100)]
Fix null dereference when logging enabled on 32-bit platforms in HostCodeHeap::InitializeHeapList() (#83875)

16 months agoEncode the previous instruction's source reg to match consecutive loads from the...
SwapnilGaikwad [Fri, 24 Mar 2023 18:37:39 +0000 (18:37 +0000)]
Encode the previous instruction's source reg to match consecutive loads from the same stack location (#83886)

16 months agoConvert JIT\Directed tests to merged test groups (#83256)
Mark Plesko [Fri, 24 Mar 2023 17:57:06 +0000 (10:57 -0700)]
Convert JIT\Directed tests to merged test groups (#83256)

Steps involved in conversion:
- Remove test straccess4 - identical to straccess3_cs_d
- Remove duplicate csproj files - identical to versions without _cs in their names
- Manually remove main arg from out_of_range_fp_to_int_conversions.
- Remove Main from straccess3 (save as comment for local use)
- Remove switchdefaultonly* Main argument (replace with noinline constant argument)
- Remove IL namespace/class declarations (in shift/) that break ILTransform tool
  Related PR #64837
- Use $(TestLibraryProjectPath) in 5 ilproj files (helps ILTransform)
  Related PR #66157
- Manually rename ldfldstatic1_il_r

  Actual dedup strategy groups projs in groups based on suffixes _r, _d, etc.
  This file does not have a matching _d version, which leads ILTransform to
  inconsistently renaming projects.
- [cs-main] Remove unused Main arg from arglist\vararg.cs
- [ILTransform -p] Rename _d/_r ilproj to _il_d/_il_r (but undo debuginfo/tests)
- [ILTransform -n] 3 iterations - Deduplicate project names
- [ILTransform -a] Match .assembly names to project names
- [ILTransform -prociso] Set RequiresProcessIsolation based on other attributes
- [ILTransform -collapse-main-sig] Collapse .method Main to one line to help future ILTransform passes
- [ILTransform -public] Make entry points public, add class if entrypoint is global
- Manually remove "public public" from C# (ILTransform failure on multiline declaration)
- Manually fix accessibility after exposing main class (other now-public methods with private signatures)
- Manually add missing public/class to entry points (missed by ILTransform)
- [ILTransform -sr] Fix System.Runtime references
- [ILTransform -ilfact] [Fact], Main->TestEntryPoint, no OutputType==Exe
- Add projects for merged test runners and Directory.Build.props
- Move simple test runner code to __GenerateMainWrapper.Main (avoids conflicts with Program in tests)
- Rename IL classes to avoid keywords
- Manually update issues.targets (after renaming various projects)
- Manually convert more_tails.cs (and generated IL from it)
- Manually fix punning.cs (depended on simple wrapper using "class Program")
- Finish merge - incorporate changes to csproj/Dir.B.props - fix xunit.analyzers errors
- Rename csproj to be shorter/more consistent with upcoming JIT/Regression change

16 months ago[wasm] Work around NuGet-Migrations issue (#83832)
Alexander Köplinger [Fri, 24 Mar 2023 17:27:43 +0000 (18:27 +0100)]
[wasm] Work around NuGet-Migrations issue (#83832)

Like https://github.com/dotnet/runtime/pull/83833 but also includes wasi jobs.

See https://github.com/dotnet/runtime/issues/80619

16 months agoDump Jit flags textually in mcs (#83865)
Bruce Forstall [Fri, 24 Mar 2023 17:26:06 +0000 (10:26 -0700)]
Dump Jit flags textually in mcs (#83865)

E.g.,
`
0-GetJitFlags key 0 sizeInBytes-16 jitFlags-0000010040800010 instructionSetFlags-03FD7FFFFFA1FFFE ( CORJIT_FLAG_DEBUG_INFO CORJIT_FLAG_SKIP_VERIFICATION CORJIT_FLAG_BBOPT CORJIT_FLAG_TIER1 X86Base SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX AVX2 AES BMI1 BMI2 FMA LZCNT PCLMULQDQ POPCNT MOVBE AVX512F AVX512F_VL AVX512BW AVX512BW_VL AVX512CD AVX512CD_VL AVX512DQ AVX512DQ_VL X86Base_X64 SSE_X64 SSE2_X64 SSE3_X64 SSSE3_X64 SSE41_X64 SSE42_X64 AVX_X64 AVX2_X64 AES_X64 BMI1_X64 BMI2_X64 FMA_X64 LZCNT_X64 PCLMULQDQ_X64 POPCNT_X64 MOVBE_X64 AVX512F_X64 AVX512F_VL_X64 AVX512BW_X64 AVX512BW_VL_X64 AVX512CD_X64 AVX512CD_VL_X64 AVX512DQ_X64 AVX512DQ_VL_X64 )
`

16 months agoAdd note to doc about not specifying `hostfxr_initialize_parameters::dotnet_root...
Elinor Fung [Fri, 24 Mar 2023 17:11:43 +0000 (10:11 -0700)]
Add note to doc about not specifying `hostfxr_initialize_parameters::dotnet_root` (#83802)

16 months agoMove version.cpp out of hostcommon - only used by hostpolicy (#83864)
Elinor Fung [Fri, 24 Mar 2023 17:10:53 +0000 (10:10 -0700)]
Move version.cpp out of hostcommon - only used by hostpolicy (#83864)

16 months agoenable SupportedLinuxPlatforms_IsSupportedIsTrue on arm32 Ubuntu (#83799)
Tomas Weinfurt [Fri, 24 Mar 2023 16:38:25 +0000 (09:38 -0700)]
enable SupportedLinuxPlatforms_IsSupportedIsTrue on arm32 Ubuntu (#83799)

16 months agoHandle custom modifiers on parameter constraints (#83850)
Steve Harter [Fri, 24 Mar 2023 16:26:42 +0000 (11:26 -0500)]
Handle custom modifiers on parameter constraints (#83850)

16 months agoUpdate Microsoft.Build.* SDKs (#83877)
Viktor Hofer [Fri, 24 Mar 2023 14:55:56 +0000 (15:55 +0100)]
Update Microsoft.Build.* SDKs (#83877)

Avoids net45 prebuilds in Traversal projects: https://github.com/microsoft/MSBuildSdks/pull/430

16 months agoDisabled SIMD operator intrinsics. (#83888)
Jan Dupej [Fri, 24 Mar 2023 14:53:46 +0000 (15:53 +0100)]
Disabled SIMD operator intrinsics. (#83888)

16 months agoUpdate PartitionerStatic.cs (#83867)
Theodor Zoulias [Fri, 24 Mar 2023 13:51:11 +0000 (15:51 +0200)]
Update PartitionerStatic.cs (#83867)

Fixed a typo in the title of a region directive.

16 months ago[wasm] Exclude PInvoke with function pointer in TimeZoneTests from wasm compilation...
Marek Fišera [Fri, 24 Mar 2023 12:04:20 +0000 (13:04 +0100)]
[wasm] Exclude PInvoke with function pointer in TimeZoneTests from wasm compilation (#83805)

16 months agoeng/SourceBuild.props: when unset, let the repo determine RuntimeOS. (#82546)
Tom Deseyn [Fri, 24 Mar 2023 11:37:29 +0000 (12:37 +0100)]
eng/SourceBuild.props: when unset, let the repo determine RuntimeOS. (#82546)

* eng/SourceBuild.props: when unset, let the repo determine RuntimeOS.

When source-build builds runtime, it will pass RuntimeOS and BaseOS.

When the repo is built directly using './build.sh --sb', let the repo
determine those values rather than calculating them in SourceBuild.props.

* global-build-job.yml: remove unneeded runtimeOS param.