Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 1d352cb36c06a16bc93e424809fb431d5795e741 Author: Aman Khalid <amankhalid@microsoft.com> Date: Tue Oct 3 21:30:06 2023 -0400 JIT: Make BasicBlock::bbJumpKind private (#92908) This is the beginning of a larger effort to disallow the use of BBJ_NONE (reserved for basic blocks that fall through) before the current method's block layout is finalized. commit 76b63a389c413dc450956c14a878dad8343dc72a Author: Buyaa Namnan <bunamnan@microsoft.com> Date: Tue Oct 3 16:07:03 2023 -0700 Minimal ILGenerator implementation for new AssemblyBuilder.Save (#92846) * Minimal ILGenerator implementation * Add more test, disable testing on browser * Apply feedback, add more test scenarios * Temporarily count the maxstack depth for each OpCode commit 7ffff3f41ee1a5ffeb5c4728e5f1ad078cdd1134 Author: Tanner Gooding <tagoo@outlook.com> Date: Tue Oct 3 14:15:36 2023 -0700 Adding a vectorized implementation of TensorPrimitives.Log (#92960) * Adding a vectorized implementation of TensorPrimitives.Log * Make sure to hit Ctrl+S commit e5997219a12121fd560e0f740aebfae0acc31601 Author: Ankit Jain <radical@gmail.com> Date: Tue Oct 3 17:03:05 2023 -0400 [wasm] wasmbrowser - change the default webserver port to 0, to randomly select a port (#92952) …mly select a port commit d2e24fa59d5259000b803cb4efc0dfd2c7ea0b37 Author: Ankit Jain <radical@gmail.com> Date: Tue Oct 3 16:04:03 2023 -0400 runtime-wasm-perf: add triggers for PRs (#92799) * CI: runtime-wasm-perf: add triggers for running on PRs This is useful to prevent perf pipeline from breaking when changes are made in `dotnet/runtime`. * CI: Add run-scenarios-job.yml to list of perf pipeline specific files commit 6dadf7cccf4c30c4d4cfd34bb96a7a716f9556e4 Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Tue Oct 3 21:57:08 2023 +0200 JIT: Expand unaligned address recognition for ARM32 (#92938) The JIT has some backwards compatibility for accessing unaligned float fields on ARM32. With physical promotion, we can end up with some new patterns that we didn't handle. Expand the pattern matching to handle a constant address unaligned address. Fix #92382 commit 01cab2988074d6bed31b0d5ea74c3902b4300205 Author: Ankit Jain <radical@gmail.com> Date: Tue Oct 3 15:38:23 2023 -0400 [wasm] Disable `TensorPrimitivesTests.ConvertToHalf_SpecialValues` (#92953) Failing test: `System.Numerics.Tensors.Tests.TensorPrimitivesTests.ConvertToHalf_SpecialValues` Issue: https://github.com/dotnet/runtime/issues/92885 commit 15ffcff82fe8a3eea529ae5d67a9fc52be990d9f Author: Tanner Gooding <tagoo@outlook.com> Date: Tue Oct 3 12:14:17 2023 -0700 Expose an internal ISimdVector interface and being using it to deduplicate some SIMD code (#90764) * Adding an internal ISimdVector`2 interface * Move LastIndexOfValueType to use ISimdVector`2 * Fix a couple minor whitespace nits and remove an unnecessary local commit b9e01455c2247454ec0301b8465f7168eebd6a09 Author: Tanner Gooding <tagoo@outlook.com> Date: Tue Oct 3 12:12:09 2023 -0700 Adding Log2 tests covering some special values (#92946) commit 9ac07e85e4a772ec70e284e2c454eda50a46a149 Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Tue Oct 3 11:43:54 2023 -0700 Update PGO to use the correct post-build steps model (#92958) commit 3452a99cc11fef73ffc34d43c86410d451e33d39 Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Tue Oct 3 11:25:00 2023 -0700 Don't publish crossgen2 as NativeAOT when doing a cross-os build. (#92948) commit bdceab9718962585206bdb309557d986e12a3d55 Author: Viktor Hofer <viktor.hofer@microsoft.com> Date: Tue Oct 3 19:24:43 2023 +0200 Condition the use of NetCoreAppPrevious TFM (#92941) * Condition the use of NetCoreAppPrevious TFM NuGet doesn't support duplicate TFMs in the TargetFrameworks string. Condition the use of NetCoreAppPrevious TFMs until NuGet supports that (which is planned afaik). * Fix ODBC project TFM commit 5f5d8608e209064651c924d0aa1c175adb338230 Author: Ankit Jain <radical@gmail.com> Date: Tue Oct 3 13:19:53 2023 -0400 CI: Don't trigger runtime pipelines on perf pipeline only changes (#92903) * CI: Don't trigger runtime pipelines on perf pipeline only changes * address review feedback from @ cincuranet commit a22dee15d0b69815ed5b785f0e318d31815b8028 Author: Eirik Tsarpalis <eirik.tsarpalis@gmail.com> Date: Tue Oct 3 18:08:46 2023 +0100 Throw NotSupportedException when applying JsonObjectHandling.Populate on types with parameterized constructors. (#92937) commit 640e9d9ac24e3737abce5ec2bc2f1e973d9107f7 Author: Viktor Hofer <viktor.hofer@microsoft.com> Date: Tue Oct 3 19:05:54 2023 +0200 Fix illink task lock during live build (#92928) * Fix illink task lock during live build Fixes https://github.com/dotnet/runtime/discussions/92126 * Update illink.targets commit 5d3cfb15734f10e394bee7cc63a55b3a1a72006d Author: Eirik Tsarpalis <eirik.tsarpalis@gmail.com> Date: Tue Oct 3 17:55:23 2023 +0100 Add testing for #92539. (#92926) * Add testing for #92539. * Remove netfx test skips. commit 3287f9fad14b406d46895b849769104d1c7a7e2d Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue Oct 3 12:50:38 2023 -0400 [main] Update dependencies from dotnet/installer (#92933) Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23479.5 -> To Version 9.0.100-alpha.1.23502.7 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit f9f322a7b134e58d7044dbd9b0cdf9bf820408ef Author: Sven Boemer <sbomer@gmail.com> Date: Tue Oct 3 09:23:11 2023 -0700 Add analyzer support for inline array access (#92736) This allows analysis of inline array access operations, by treating them similarly to array access. However, like ILLink/ILCompiler it doesn't understand inline array creation, so doesn't track them as arrays. The result is that values read out of an inline array are unknown, so this produces dataflow warnings when such a value is passed to a location with dataflow requirements, matching the ILLink/ILCompiler behavior. Using `InlineArray` required referencing a more recent of the .NET 8 reference assemblies. Fixes https://github.com/dotnet/runtime/issues/88684 commit 781e002f9e760f828d4dc8455fb6228380c56b33 Author: Tanner Gooding <tagoo@outlook.com> Date: Tue Oct 3 08:55:53 2023 -0700 This vectorizes TensorPrimitives.Log2 (#92897) * Add a way to support operations that can't be vectorized on netstandard * Updating TensorPrimitives.Log2 to be vectorized on .NET Core * Update src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netstandard.cs Co-authored-by: Stephen Toub <stoub@microsoft.com> * Ensure we do an arithmetic right shift in the Log2 vectorization * Ensure the code can compile on .NET 7 * Ensure that edge cases are properly handled and don't resolve to `x` * Ensure that Log2 special results are explicitly handled. --------- Co-authored-by: Stephen Toub <stoub@microsoft.com> commit f41715c454f41584fcf55792d2619a9492184490 Author: Ankit Jain <radical@gmail.com> Date: Tue Oct 3 11:54:24 2023 -0400 [wasm] Use intended ports when running DevServer (#92913) * [wasm] Ignore empty `$ASPNETCORE_URLS` * [wasm] DevServer: honor urls specified in the options * [wasm] CI: Don't trigger non-wbt jobs on wasm-app-host changes * CI: don't trigger wasm runtime tests on wasm-app-host changes commit 88f25474334bfb0da10e0b5acb0219a64a04828b Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue Oct 3 10:46:17 2023 -0400 Update dependencies from https://github.com/dotnet/source-build-externals build 20231002.3 (#92936) Microsoft.SourceBuild.Intermediate.source-build-externals From Version 9.0.0-alpha.1.23475.2 -> To Version 9.0.0-alpha.1.23502.3 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit d3569b99ead8f909556f5b416b6f57d94f30e668 Author: Stephen Toub <stoub@microsoft.com> Date: Tue Oct 3 09:10:40 2023 -0400 Improve throughput / allocations of JsonNode.GetPath (#92284) * Improve throughput / allocations of JsonNode.GetPath The current implementation is creating a `List<string>` and appending each segment to it, which in most of the cases is allocating a `string`. Then it iterates through that list in reverse order appending to a newly-created `StringBuilder`, which it then `ToString`s. In this change, it instead just uses `ValueStringBuilder`, appending to it as it goes. In doing so, it does reverse the order of enumeration. Previously each node would effectively do: ```C# void GetPath() { AddNode(this); parent?.GetPath(); } ``` and now it's doing: ```C# void GetPath() { parent?.GetPath(); AddNode(this); } ``` While C# doesn't emit tail calls, with optimizations enabled, it's feasible the JIT might emit the recursive call as a jmp rather than a call, in which case it would avoid possible stack dives. However, that's not guaranteed, and doesn't happen today in tier 0 and other unoptimized code. On top of that, to get such a deep nesting in a JsonNode, you need to either go out of your way to create one manually using the JsonNode/Object/Array/Value constructors, or you need to use JsonSerializer.Deserializer, overriding its default MaxDepth, and in the case of a really deep input, it's also recursive and will stack overflow in smaller situations. I have a different version of this change that keeps the same ordering, passing around a span and a length separately, and prepending to the end of the span, but it results in more complicated code, so I'd prefer this variation that just uses ValueStringBuilder unless we have real concerns. * Address PR feedback commit 6b25c3ba1a349b22e70c5418b5b05e545e1e2271 Author: Egor Bogatov <egorbo@gmail.com> Date: Tue Oct 3 14:08:40 2023 +0200 JIT: Merge consecutive stores (#92852) Co-authored-by: Egor <egorbo@Egors-MacBook-Pro.local> Co-authored-by: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> commit 7abea9ea6ac3cde23fe1a890338e22a5a58a51b6 Author: Jan Dupej <109523496+jandupej@users.noreply.github.com> Date: Tue Oct 3 12:08:56 2023 +0200 [mono][jit] Arm64 SIMD regs are now zeroed with movi instead of eor (#92882) * SIMD regs are now zeroed with movi instead of eor. * Simplified vector length selection. commit 3b0cd57dc2b01dbb5c8a0d740a33a4b0aed470bf Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Tue Oct 3 11:34:36 2023 +0200 SPMI: Simplify and improve reporting of context information (#92824) Currently we have multiple separate mechanisms to report information back from superpmi.exe: 1. -baseMetricsSummary/metricsSummary, which outputs a .csv file with aggregated statics for all contexts from the perspective of the base JIT 2. -diffMetricsSummary, which is the corresponding for the diff JIT when diffing 3. -diffsInfo, which during diffing will output a .csv with individual rows for every context that had diffs in it This PR replaces these three mechanisms with a -details argument. When passed, superpmi.exe will write a .csv file to the specified path that contains a row for every context. The arg is supported in both replay and diff mode but creates .csv files with slightly different formats for these. For replays the header output is: ``` Context,Context size,Result,MinOpts,Size,Instructions ``` For diffs the output is: ``` Context,Context size,Base result,Diff result,MinOpts,Has diff,Base size,Diff size,Base instructions,Diff instructions ``` superpmi.py is changed to utilize this new output instead, which involves computing some of the same details we were getting from the metrics summaries before. Prerequisite for #85755 commit b93d9b42cef60ffcbfaf7787a4b4187a9edb8efe Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Tue Oct 3 11:34:10 2023 +0200 SPMI: Disable CodeQL in superpmi-collect pipeline (#92872) This weekend's runs hit a bunch of timeouts due to auto-injected CodeQL. commit 087ee5dba3e682fd8241d1634272bec890cff211 Author: Milos Kotlar <kotlarmilos@gmail.com> Date: Tue Oct 3 10:21:59 2023 +0200 fix typo (#92893) commit 5c8055668b7af03022e368febc109e512013a292 Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Tue Oct 3 01:20:31 2023 -0700 Clean up the crossgen2_publish project and local/live packs references (#92826) * Inline some of the options for the new crossgen2_publish project. * Resolve TODOs in targetingpacks.targets * Crossgen1 is long gone. Don't try to discover it in our override targets. * Move ReadyToRun.targets infra into the shared repo infrastructure and have projects automatically opt-in to it instead of the LKG crossgen2 when they are targeting the live build. * Remove extraneous property set (the same value is calculated automatically already) * Remove outdated comment. * Fix NativeAOT and installer legs * Condition turning off pack downloads based on opt-in to local pack usage. * Use the LKG host instead of the 7.0 host as the fallback for NativeExports. * Apply suggestions from code review Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> * Remove AdditionalProperties as they aren't needed (global properties on the command line are already transitive) * PR feedback * Hook into the targets pipeline to avoid overridding targets for R2Ring projects that reference the live framework packs. Move the "target override" logic back to where we build the runtime pack as that's the only place where we need crossgen2 and can't reference the runtime pack (as we're building it). * Don't set CoreCLRArtifactsPath manually. * PR feedback --------- Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> commit 82fee2692b3954ba8903fa4764f1f4e36a26341a Author: Andy Gocke <angocke@microsoft.com> Date: Mon Oct 2 15:24:51 2023 -0700 Remove 'tracing' from Native AOT PR runs (#92825) Tracing heavily increases the time it takes to run Native AOT tests. We already run these tests in the outerloop and the probability that any given PR will break these tests is low. Outerloop coverage should be good enough right now. commit 9aebb668fb6b266f2e7fa6954c378795503e2bff Author: David Mason <davmason@microsoft.com> Date: Mon Oct 2 14:22:07 2023 -0700 Fix deadlock in EventPipeEventDispatcher (#92806) commit 42a6776e6cb1569fe277181f424ccbbe243cf386 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon Oct 2 15:29:16 2023 -0500 [main] Update dependencies from dotnet/roslyn (#92578) * Update dependencies from https://github.com/dotnet/roslyn build 20230924.2 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23474.2 * Update dependencies from https://github.com/dotnet/roslyn build 20230924.3 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23474.3 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.1 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.1 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.2 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.2 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.3 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.3 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.4 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.4 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.5 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.5 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.6 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.6 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.7 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.7 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.8 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.8 * Update dependencies from https://github.com/dotnet/roslyn build 20230925.10 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23475.10 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.3 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.3 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.6 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.6 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.13 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.13 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.14 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.14 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.15 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.15 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.21 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.21 * Update dependencies from https://github.com/dotnet/roslyn build 20230926.22 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23476.22 * Update dependencies from https://github.com/dotnet/roslyn build 20230927.1 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23477.1 * Update dependencies from https://github.com/dotnet/roslyn build 20230927.4 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23477.4 * Update dependencies from https://github.com/dotnet/roslyn build 20230928.3 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23478.3 * Update dependencies from https://github.com/dotnet/roslyn build 20230928.4 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23478.4 * Update dependencies from https://github.com/dotnet/roslyn build 20231001.1 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23474.1 -> To Version 4.8.0-3.23501.1 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit 087ca4662309f3db40b3096cbf89853d9c292e16 Author: Larry Ewing <lewing@microsoft.com> Date: Mon Oct 2 14:59:35 2023 -0500 [mono][android] Add Android linux-arm64 workload definitions (#92899) * Add linux-arm64 workload definitions * Add linux-arm64 for android workloads commit 2552b1cd7d7b85a1efa3c7511e5602b2f951d2ee Author: Eric StJohn <ericstj@microsoft.com> Date: Mon Oct 2 12:58:50 2023 -0700 Update owner list (#92900) commit b3b9160382b1caace65d694e1d8de7b813240a55 Author: Ankit Jain <radical@gmail.com> Date: Mon Oct 2 15:51:43 2023 -0400 [wasm] Perf pipeline - fix blazor_scenarios run for hybrid globalization (#92898) * [wasm] Perf pipeline - fix blazor_scenarios run for hybrid globalization Fails with: ``` Traceback (most recent call last): File "/mnt/vss/_work/1/s/Payload/performance/scripts/ci_setup.py", line 487, in <module> __main(sys.argv[1:]) File "/mnt/vss/_work/1/s/Payload/performance/scripts/ci_setup.py", line 483, in __main main(CiSetupArgs(**vars(args))) File "/mnt/vss/_work/1/s/Payload/performance/scripts/ci_setup.py", line 411, in main dotnet_version = dotnet.get_dotnet_version(target_framework_moniker, args.cli) if args.dotnet_versions == [] else args.dotnet_versions[0] File "/mnt/vss/_work/1/s/Payload/performance/scripts/dotnet.py", line 581, in get_dotnet_version raise RuntimeError( RuntimeError: Unable to determine the .NET SDK used for net8.0 ``` This is because the definition didn't copy over the `--dotnet-versions 8.0.0` workaround needed for now. And this runs only once a week, so it was discovered on Oct 2(Monday) even though it was merged on Sep 26(Friday). * [wasm] Perf: run the hybrid-globalization job on runtime-wasm-perf also, for validation commit 1780220c9b2963e127599accc618208975c4711f Author: Ankit Jain <radical@gmail.com> Date: Mon Oct 2 15:07:56 2023 -0400 [wasm] Set InstallV8ForTests=true only for windows/linux (#92896) .. on CI, or in a container (like codespaces). Without this it would be `true` on macOS by default, and then fail with: `error : V8 provisioning only supported on Linux, and windows.` commit 14b222414970fef4db0b98049180d69bad895b4b Author: Larry Ewing <lewing@microsoft.com> Date: Mon Oct 2 13:30:49 2023 -0500 Add linux-arm64 workload definitions (#92892) commit e97bd6d143822b417aab32e85288f2bda0fc7507 Author: Vitek Karas <10670590+vitek-karas@users.noreply.github.com> Date: Mon Oct 2 11:26:11 2023 -0700 Fix build of IJW test after VS upgrade (#92878) The latest build of VS carries a C/C++ compiler which produces warning C5271: ``` src\native\corehost\test\ijw\ijw.cpp(6): warning C5271: consider replacing #using <System.Console.dll> with command line argument /FU "F:\dotnet\runtime2\.dotnet\packs\Microsoft.NETCore.App.Ref\8.0.0-rc.1.23414.4\ref\net8.0\System.Console.dll" src\native\corehost\test\ijw\ijw.cpp(7): warning C5271: consider replacing #using <System.Runtime.Loader.dll> with command line argument /FU "F:\dotnet\runtime2\.dotnet\packs\Microsoft.NETCore.App.Ref\8.0.0-rc.1.23414.4\ref\net8.0\System.Runtime.Loader.dll" ``` This breaks the build on Windows. For now I'm disabling the warning as the real fix is more complex (we would need to calculate the path to the required assemblies in CMake somehow). commit a590cb4cfb9f1a66c043476695fd0e79835842eb Author: Radek Doulik <radek.doulik@gmail.com> Date: Mon Oct 2 17:37:53 2023 +0200 [wasm] Disable MetricsSupport feature by default (#92696) This should improve the startup perf and size. commit 0c81f494f5664a462a26efdce0044875a22480f3 Author: Pavel Savara <pavel.savara@gmail.com> Date: Mon Oct 2 16:52:56 2023 +0200 [browser][nodejs] keep runtime alive for JSExport calls (#92871) commit 4434b32bf38d99aa9b54e15070359d339f225081 Author: Zoltan Varga <vargaz@gmail.com> Date: Mon Oct 2 08:27:59 2023 -0400 [mono] Only emit pshufb when ssse3 is enabled. (#92842) Fixes https://github.com/dotnet/runtime/issues/92827. commit 3aa1c3364b71126afd5a9c69243597f869815b51 Author: skyoxZ <skyoxZ@qq.com> Date: Mon Oct 2 19:42:43 2023 +0800 Ensure the adapter name 100% matching when parsing proc/net/dev (#92187) * Ensure the adapter name 100% matching when parsing proc/net/dev * Update src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/StringParsingHelpers.Statistics.cs Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> * Move the stackalloc out of the loop * Update src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/StringParsingHelpers.Statistics.cs Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> --------- Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> commit ca23689a58a3a7cad73c1ce747d70631c581a25b Author: Viktor Hofer <viktor.hofer@microsoft.com> Date: Mon Oct 2 13:04:40 2023 +0200 Update intellisense.targets (#92868) * Update intellisense.targets * Update System.Text.Json.csproj commit c92caa419873bbb5c51997c0f613ea5b5b1d22ec Author: Marek Fišera <mara@neptuo.com> Date: Mon Oct 2 11:28:16 2023 +0200 [browser] Remove duplicated marshaling of return value for JSExport (#92403) * Remove duplicated marshaling of return value for JSExport * Move unmarshal and return value marshal into try block commit 47390d8f1e541a8ceb3998bb300748f751c9aa75 Author: Tomasz Sowiński <tomeksowi@gmail.com> Date: Mon Oct 2 11:08:08 2023 +0200 [RISC-V] Fix target type unsignedness detection in genFloatToIntCast() (#92694) * [RISC-V] Fix target type unsignedness detection in genFloatToIntCast() treeNode->gtFlags & GTF_UNSIGNED means unsignedness of the source type. Use varTypeIsUnsigned instead which checks for VTF_UNS on target type classification. Fixes TryConvertToSaturatingUInt64Test and TryConvertToTruncatingUInt64Test from System.Runtime.Numerics.ComplexTests_GenericMath. * Fix compilation without FEATURE_TIERED_COMPILATION commit f47c963e966f000b59c79dc9acb5305a07d0031a Author: t-mustafin <66252296+t-mustafin@users.noreply.github.com> Date: Mon Oct 2 11:03:04 2023 +0300 [RISC-V] regArg dependcies unrolling in genFnPrologCalleeRegArgs() (#91904) commit b9622e1cbb8357e4a21fd1fe92097fd15cf137b2 Author: Djuradj Kurepa <91743470+dkurepa@users.noreply.github.com> Date: Mon Oct 2 09:13:40 2023 +0200 Check DotNetFinalVersionKind when setting WorkloadVersionSuffix (#91792) commit eae953bb60c1345a69d52a4cbd75cd3a523a1d13 Author: Zoltan Varga <vargaz@gmail.com> Date: Sun Oct 1 22:58:00 2023 -0400 [llvm] Fix spilling of valuetypes to the stack if they are passed by addr. (#92658) The previous code would spill the valuetype when it was passed by addr, and another bblock could try to read from the unitialized stack location. commit 215145e95981ee4917ff3432acc44114f835126c Author: Egor Bogatov <egorbo@gmail.com> Date: Mon Oct 2 00:34:30 2023 +0200 Call fgRenumberBlocks in optIfConversion (#92821) commit 2508c70038098c58c9fcf6cd59267d781ee666ce Author: Tomáš Rylek <trylek@microsoft.com> Date: Sun Oct 1 23:20:38 2023 +0200 Convert all remaining tests in the Loader subtree to the merged model (#92407) commit 8ba039c4ef442baf97972fb99314656c7451b09e Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Sun Oct 1 12:42:26 2023 -0500 [main] Update dependencies from dotnet/installer (#92848) * Update dependencies from https://github.com/dotnet/installer build 20230929.5 Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23478.5 -> To Version 9.0.100-alpha.1.23479.5 * Update dependencies from https://github.com/dotnet/installer build 20230929.5 Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23478.5 -> To Version 9.0.100-alpha.1.23479.5 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit 90d59646f497fcbb8a1f2c78c684cf4ba3325e09 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Sun Oct 1 15:48:39 2023 +0000 [main] Update dependencies from dotnet/emsdk dotnet/sdk (#92815) [main] Update dependencies from dotnet/emsdk dotnet/sdk commit 3bc1508bb72cf9c24c5f66b1226fd5f1d71ab7dd Author: Alexander Köplinger <alex.koeplinger@outlook.com> Date: Sun Oct 1 09:44:15 2023 +0200 Use UnsafeAccessor in JSHostImplementation instead of reflection (#92755) commit c58debe7340a741901475cb104915a5aba376fbb Author: Michal Strehovský <MichalStrehovsky@users.noreply.github.com> Date: Sun Oct 1 15:53:23 2023 +0900 Preinitialize pop/switch/Type.IsValueType (#92841) These showed up in ASP.NET Stage1 and were low hanging enough. commit 3025e30b4da38ceb7a6b765ee838b1795b0d1d6b Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat Sep 30 22:24:03 2023 -0400 Automated bump of chrome version (#92854) commit 849c0fd374aa69c6506536510484bedbc53a48b4 Author: Ankit Jain <radical@gmail.com> Date: Sat Sep 30 15:58:47 2023 -0400 [wasm] Use specific version of v8 for tests (#91633) * [wasm] Add support for installing V8 * [wasm] Use provisioned v8 for library tests * [wasm] WBT: Use provisioned v8 * [wasm] enable use of provisioned v8 for library tests * [wasm] add MSBUILD_ARGS for build-runtime-tests make target * update docs * Don't install v8 for runtime tests * [wasm] CI: trigger library test jobs when chrome version changes * Disable provisioning v8 when building runtime tests * address review feedback * [wasm] Disable installing v8 for runtime tests * Address review feedback * fix stamping for v8 commit 5b217b109184eb7ec64ddd04482bbcac0010562f Author: Viktor Hofer <viktor.hofer@microsoft.com> Date: Sat Sep 30 21:56:22 2023 +0200 Update targetingpacks.targets (#88991) * Update targetingpacks.targets The .NET 8 Preview 6 SDK has the features required to simplify the targetingpacks.targets logic. * Update targetingpacks.targets * Update targetingpacks.targets * Update known items * Update targetingpacks.targets * Update targetingpacks.targets commit 8dad137b7a51adba94c7224768a4c5c76b017f4d Author: Andy Ayers <andya@microsoft.com> Date: Sat Sep 30 08:20:18 2023 -0700 JIT: fix self-conflicting HFA arg prolog handling for arm64 (#92355) Fix prolog handling in the case where the in-body destination register for an HFA overlaps with one of the HFA argument registers. For instance the HFA is passed in `s0-s3` and needs to end up in `v3`. This requires special handling because the dependence analysis done in `genFnPrologCalleeRegArgs` only tracks entire registers, not parts of registers. Fixes #83167 commit 420717ee369d44906f5ba6bbf94ee28058c56037 Author: Filip Navara <filip.navara@gmail.com> Date: Sat Sep 30 15:38:28 2023 +0200 Split off patched code into separate .S file and disable subsections-via-symbols for it (#92555) * [amd64/arm64] Split off patched code into separate .S file and disable subsections-via-symbols for it * [amd64/arm64] Split off patched code into separate .asm file [arm64] Move JIT_UpdateWriteBarrierState out of the patched region to match implementation in .S file * Remove NO_SUBSECTIONS_VIA_SYMBOLS commit 588193f9be52f4cfd5dc57bed599c30b5fc3697d Author: Egor Bogatov <egorbo@gmail.com> Date: Sat Sep 30 14:02:35 2023 +0200 Remove fgUpdateFlowGraph from optOptimizeFlow (#92839) commit a2818c5728833ffc1988eb24b6648dc09554d19d Author: Koundinya Veluri <kouvel@users.noreply.github.com> Date: Sat Sep 30 00:14:34 2023 -0700 Include info about system call errors in some exceptions from operating on named mutexes (#92603) * Include info about system call errors in some exceptions from operating on named mutexes - Added new PAL APIs for creating and opening mutexes that take a string buffer for system call error info. These are called with a stack-allocated buffer and upon error the system call errors are appended to the exception message. - When there is a system call failure that leads to the PAL API failing, some info is appended to the error string, including the system call, relevant arguments, return value, and `errno` - `chmod` on OSX seemingly can be interrupted by signals, fixed to retry. Also fixed a couple other small things. Fixes https://github.com/dotnet/runtime/issues/89090 commit cc072997b68b2412c0f7667737b0619f4f04241d Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Fri Sep 29 17:13:33 2023 -0700 Allow multiple post-build steps and allow templated pre and post-build steps (#92375) commit b88d3b9cba8467e3f50b7af9591f43c70053b5c9 Author: Stephen Toub <stoub@microsoft.com> Date: Fri Sep 29 20:05:53 2023 -0400 Throw exception in TensorPrimitives for unsupported span overlaps (#92838) commit eaa8ea19f4b2f5e222f92707e8f7b1fc3bdd0da9 Author: Eirik Tsarpalis <eirik.tsarpalis@gmail.com> Date: Sat Sep 30 00:47:21 2023 +0300 Apply sequence equality comparison to the final Regex incremental value. (#92835) * Apply sequence equality comparison to the final Regex incremental value. * Avoid using SequenceEqual commit 01104d6d3bfc6340599986b85c514d1194567a77 Author: Eirik Tsarpalis <eirik.tsarpalis@gmail.com> Date: Sat Sep 30 00:47:12 2023 +0300 Remove CompilationProvider dependency from the source generator. (#92833) commit d1972fe4ec6b58097b9c7641308f6827e356ab2a Author: Stephen Toub <stoub@microsoft.com> Date: Fri Sep 29 16:25:31 2023 -0400 Vectorize TensorPrimitives.ConvertToSingle (#92779) * Vectorize TensorPrimitives.ConvertToSingle * Address PR feedback commit e89daba754e84dba3a86c92e8c2a714a75a2f0d0 Author: Mitchell Hwang <16830051+mdh1418@users.noreply.github.com> Date: Fri Sep 29 14:10:44 2023 -0400 [tests][iOS] Fix artifacts path (#92783) commit 86fa7866871973c0ecb6c60bb40232872b22ec49 Author: Aman Khalid <amankhalid@microsoft.com> Date: Fri Sep 29 13:58:02 2023 -0400 Always emit jump from hot finally block to cold target (#92797) On some platforms, CodeGen::genCallFinally() will remove the jump between a finally block in a call-finally pair to its jump target if the target is its immediate successor in the block list (in other words, we just fall through). However, if we are doing hot/cold splitting, it is possible for the finally block to be the last hot block, and its target the first cold block. Thus, if the two are contiguous in the block list but in separate regions, we must always emit a jump. commit 8fa50641476fb1e08c2d385f16cdd80a37749e93 Author: Bruce Forstall <brucefo@microsoft.com> Date: Fri Sep 29 10:47:35 2023 -0700 Add stress mode for arm/arm64 function fragment splitting (#92802) Set JitSplitFunctionSize to either 4 or 200 under new STRESS_UNWIND mode. commit 17c118b5b2e2c540540bef667562ed7db62e9216 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri Sep 29 12:47:16 2023 -0500 Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230928.1 (#92814) Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers From Version 3.11.0-beta1.23475.2 -> To Version 3.11.0-beta1.23478.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit 1ffd8e3ec1e1895e08d5e4276aee99f674eae6bb Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri Sep 29 12:46:57 2023 -0500 Update dependencies from https://github.com/dotnet/installer build 20230928.5 (#92817) Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23477.26 -> To Version 9.0.100-alpha.1.23478.5 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit 1930da2080179fcf0dcf9f45f0b513fd45714fe3 Author: Tymoteusz Wenerski <tymoteusz.wenerski@gmail.com> Date: Fri Sep 29 19:25:34 2023 +0200 Fix Common.Tests.GetPrettyName_CannotRead_ReturnsNull test for root user (#92695) * fix Common.Tests.GetPrettyName_CannotRead_ReturnsNull test for root user * remove direct call to libc in Common.Tests.GetPrettyName_CannotRead_ReturnsNull * Update src/libraries/Common/tests/Tests/Interop/OSReleaseTests.cs * split Common.Tests.OSReleaseTests.GetPrettyName_CannotRead_ReturnsNull into two test cases * replace ifs with ConditionalFact in Common.Tests.OSReleaseTests class --------- Co-authored-by: Dan Moseley <danmose@microsoft.com> commit 04d38d8e7becb912494d097133f8124928d5dbbb Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Fri Sep 29 10:15:29 2023 -0700 Use a different crossgen2 when running crossgen2 during our build than the crossgen2 that we are shipping (#92677) commit 571df3ef8e741c68d4a682ed54a086876d1b6514 Author: Bruce Forstall <brucefo@microsoft.com> Date: Fri Sep 29 10:02:06 2023 -0700 Allow `key#value` for superpmi JIT option specification (#92803) superpmi.py will pass this through from the `-jitoption` / `-base_jit_option` / `-diff_jit_option` to superpmi.exe `-jitoption` and `-jit2option`. Currently, the format is `key=value`. I wrap invocation of superpmi.py with Windows batch file scripting, which has an annoying problem of "eating" the equals size `=`. This works around that problem. I can't think of any case where `#` is needed in a key or value, hence that choice as an additional option. commit 8358704bd93f984b5faf4be550e7872ef74187c0 Author: Bruce Forstall <brucefo@microsoft.com> Date: Fri Sep 29 10:01:13 2023 -0700 Move variable scope tracking code (#92800) Move it out of codegencommon.cpp and into scopeinfo.cpp. This is both to centralize the code but also to reduce the size of the very large codegencommon.cpp. commit 6460ccb50e7d71d560176aff4b28f66829324c29 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri Sep 29 18:19:11 2023 +0200 [main] Update dependencies from dnceng/internal/dotnet-optimization (#92813) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit 1c6d909c23f87a24941d3263702948b274e9f1d1 Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Fri Sep 29 18:07:08 2023 +0200 JIT: Optimize SequenceEqual to use ccmp on ARM64 (#92810) In the original PR we could not get this this working due to some conservative interference. This now does the right thing with #92710 merged. Also change LowerCallMemcmp/LowerCallMemmove to return next node to lower just to align it a bit more with other functions. commit e3d37a8e996184222245b0dcbdf9335c976b2302 Author: Stephen Toub <stoub@microsoft.com> Date: Fri Sep 29 11:44:14 2023 -0400 Enable TensorPrimitives to perform in-place operations (#92820) Some operations would produce incorrect results if the same span was passed as both an input and an output. When vectorization was employed but the span's length wasn't a perfect multiple of a vector, we'd do the standard trick of performing one last operation on the last vector's worth of data; however, that relies on the operation being idempotent, and if a previous operation has overwritten input with a new value due to the same memory being used for input and output, some operations won't be idempotent. This fixes that by masking off the already processed elements. It adds tests to validate in-place use works, and it updates the docs to carve out this valid overlapping. commit 56251ecc5e2f185249acee357d5410e1f26c590e Author: Stephen Toub <stoub@microsoft.com> Date: Fri Sep 29 11:27:31 2023 -0400 Vectorize TensorPrimitives.ConvertToHalf (#92715) commit 0cc9f2193bb447db60a81b05986ef4f513bd2381 Author: SwapnilGaikwad <swapnil.gaikwad@arm.com> Date: Fri Sep 29 14:50:32 2023 +0100 Implement StoreVector64x2 and StoreVector128x2 for Arm64 (#92109) * Implement StoreVector128x2 for Arm64 * Remove redundant implmentations * Implement StoreVector64x2 for Arm64 * Remove StoreVector64x2 implementation for Arm64 This reverts commit 49ef72e3a3eaa58d3b3338dc5d6d80a7ca0b50b5. * Fix instruction type for the StoreVector128x2 intrinsic * Review comments: * Arrange APIs alphabetically * Add StoreVector64x2 * fix the invalid instructions * Add test cases * Update src/coreclr/jit/hwintrinsicarm64.cpp Co-authored-by: Bruce Forstall <brucefo@microsoft.com> --------- Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com> Co-authored-by: Bruce Forstall <brucefo@microsoft.com> commit f4012631302d964dfe75a657fc0579b1e9842e79 Author: SingleAccretion <62474226+SingleAccretion@users.noreply.github.com> Date: Fri Sep 29 15:59:58 2023 +0300 Do not nop-out SSA definitions in block morphing (#92786) SSA definitions cannot be deleted. commit 38fd485315c557f2a627deb1abc03616eb29153c Author: Alexander Köplinger <alex.koeplinger@outlook.com> Date: Fri Sep 29 12:19:41 2023 +0200 [mono] Cleanup unused runtime functions (#91681) - Removes unused functions - Removes cmake configure checks for functions/headers that are no longer needed - Renames HAVE_UWP_WINAPI_SUPPORT to HAVE_APP_WINAPI_SUPPORT - Move MSVC warning disables into cmake so it is more visible Co-authored-by: Johan Lorensson <lateralusx.github@gmail.com> commit e81671f0a66b48212d444f69f0c9b2ef4a04f903 Author: Radek Doulik <radek.doulik@gmail.com> Date: Fri Sep 29 11:47:50 2023 +0200 [wasm] Supress policheck warning in blazor-sample (#92711) * [wasm] Supress policheck warning in blazor-sample Replace the offending part in the layout name. I think the suit-spade is false positive, I used just sp in place of spade to silence it. * Feedback commit 8ff18938b130c66da7478cfe540f5acd8f24a9b0 Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Fri Sep 29 11:41:11 2023 +0200 JIT: Make effect handling in lowering less conservative (#92710) The interference checking in lowering bases some of its checks on GenTree::gtFlags. This is conservative since it includes effect flags of operands. For LIR this does not really make sense and ends up being conservative. This PR replaces the relevant uses of gtFlags with a new GenTree::OperEffects() that computes the relevant effect flags for the node, excluding operands. We already know how to recompute effect flags other than GTF_GLOB_REF and GTF_ORDER_SIDEEFF. This PR adds functions for these as well (the GTF_GLOB_REF version GenTree::OperRequiresGlobRefFlag is courtesy of @SingleAccretion). For GTF_ORDER_SIDEEFF we add a GenTree::OperSupportsOrderingSideEffect which captures explicitly (and conservatively) the current cases where we are setting the flag, and only allows these cases to support the flag. Setting the flag for other cases may result in the flag being removed or ignored. There is a new `GenTree::SetHasOrderingSideEffect` to add the flag which also asserts that it is only added for trees that are supported. Fix #92699 commit 7d9b92dee3f7687571a4505f00edb72458743ce7 Author: Radek Zikmund <32671551+rzikm@users.noreply.github.com> Date: Fri Sep 29 10:22:07 2023 +0200 Correctly set sendTrustList flag when saving credentials to cache (#92731) commit 8ce4279520358f344ddd5c82d8f66cc653cf9a4f Author: SingleAccretion <62474226+SingleAccretion@users.noreply.github.com> Date: Fri Sep 29 06:52:25 2023 +0300 Update RyuJit overview (#92789) commit 62d2c91b78a258e976db78e926e9e26b606214f1 Author: Andrew Au <andrewau@microsoft.com> Date: Thu Sep 28 16:34:37 2023 -0700 Converge Representations between NativeAOT and CoreCLR (#91821) commit 95b9a8d1b4ee4692f048febbdd58145572b30a84 Author: Stephen Toub <stoub@microsoft.com> Date: Thu Sep 28 19:32:08 2023 -0400 Flesh out TensorPrimitives XML docs (#92749) * Flesh out TensorPrimitives XML docs * Address PR feedback - Remove use of FusedMultiplyAdd from all but CosineSimilarity - Remove comments about platform/OS-specific behavior from Add/AddMultiply/Subtract/Multiply/MultiplyAdd/Divide/Negate - Loosen comments about NaN and which exact one is returned * Address PR feedback commit 9765a3c03a1d03f8ed4485ed4c00e9b9fd9b78f9 Author: Michal Strehovský <MichalStrehovsky@users.noreply.github.com> Date: Fri Sep 29 07:03:52 2023 +0900 Add more static preinitialization support (#92739) Resolves #78681 (or "there's nothing else we'd be willing to do for it"). This is the rest of what I implemented trying to get `SearchValues.Create(someVeryLongString)` to preinitialize. It doesn't actually enable more `SearchValues` scenarios because I eventually hit codepaths that would require us to implement hardware intrinsics support in the interpreter. The `SearchValues` scenarios that we do support were implemented in #92470 and #92666. But since I already implemented this, here it is; maybe it will be useful for something else: * Support for modelling `Span<X>`, including creating it from stackalloc * Support for math/comparisons with native int * `Unsafe.Add` commit c01efb87f8aeb05c685f6cd78dabe2593a96a011 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu Sep 28 17:26:40 2023 -0400 [main] Update dependencies from dotnet/installer (#92703) * Update dependencies from https://github.com/dotnet/installer build 20230927.3 Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23474.1 -> To Version 9.0.100-alpha.1.23477.3 * [wasm] WBT: Update skiasharp reference `blz_deploy_on_build_Debug_True_npl3f0nk_qee.csproj : error NU1903: Package 'SkiaSharp' 2.88.4-preview.76 has a known high severity vulnerability` * Update dependencies from https://github.com/dotnet/installer build 20230927.26 Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23474.1 -> To Version 9.0.100-alpha.1.23477.26 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Ankit Jain <radical@gmail.com> commit 9158141f641a63bbaeb7c45f2666679c4dc117b8 Author: Jan Kotas <jkotas@microsoft.com> Date: Thu Sep 28 13:48:13 2023 -0700 Delete misc unnecessary code (#92764) commit 876f763a8ff8345b61897ff6297876445b2b484f Author: Buyaa Namnan <bunamnan@microsoft.com> Date: Thu Sep 28 11:44:29 2023 -0700 Account port number already included within server string (#92748) * Account port number already included within server string * Refactor the test * Apply feedback commit 87575811f76244143b7571005979b8fa8ab92e2f Author: Jackson Schuster <36744439+jtschuster@users.noreply.github.com> Date: Thu Sep 28 10:59:07 2023 -0700 Remove Unwrap flag from UniqueComInterfaceMarshaller (#92599) The Unwrap flag only has effect when UniqueInstance is not set. To avoid confusion from anyone referencing this code, we should remove it here. NativeAOT needed to move the Unwrap code to inside the !UniqueInstance block to match behavior of CoreCLR. This should only be noticeable when using ComWrappers to wrap an unwrap the same object in the same NativeAOT instance. In-Proc COM with different servers and clients won't hit this behavior. commit 3138a806ccc135403d03a0a2a2bfc10e9c62b43d Author: Tarcisio <60912483+tcortega@users.noreply.github.com> Date: Thu Sep 28 14:53:21 2023 -0300 Removes redundant code from `JsonCamelCaseNamingPolicy.cs` (#92738) commit 1cf79260b6f0684defb8a4a3aaf27c1806b55bbf Author: Bruce Forstall <brucefo@microsoft.com> Date: Thu Sep 28 10:17:41 2023 -0700 Update JIT format job to pass new `--cross` argument on Linux (#92751) * Update JIT format job to pass new `--cross` argument on Linux This argument is passed through to the jit-format tool and is used when invoking build-runtime.sh on Linux when in a cross-build scenario, such as CI builds in Mariner. * Fix copy/paste error commit c0c7d3ea4ab741474d598ee56bcd08ecfb38215c Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu Sep 28 18:30:23 2023 +0200 Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20230927.3 (#92761) optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR From Version 1.0.0-prerelease.23471.3 -> To Version 1.0.0-prerelease.23477.3 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit 014fe3503b1ba21e3179ff973ba0bc18e96aa2a7 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu Sep 28 18:29:55 2023 +0200 [main] Update dependencies from dotnet/xharness dotnet/cecil dotnet/sdk (#92700) * Update dependencies from https://github.com/dotnet/xharness build 20230927.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23471.1 -> To Version 8.0.0-prerelease.23477.1 * Update dependencies from https://github.com/dotnet/cecil build 20230926.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23468.2 -> To Version 0.11.4-alpha.23476.1 * Update dependencies from https://github.com/dotnet/sdk build 20230927.2 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23476.1 -> To Version 9.0.100-alpha.1.23477.2 * Update dependencies from https://github.com/dotnet/xharness build 20230927.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23471.1 -> To Version 8.0.0-prerelease.23477.1 * Update dependencies from https://github.com/dotnet/cecil build 20230926.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23468.2 -> To Version 0.11.4-alpha.23476.1 * Update dependencies from https://github.com/dotnet/sdk build 20230927.63 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23476.1 -> To Version 9.0.100-alpha.1.23477.63 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> commit ecca73de5bbce1b76a6b26cea9df464776328ff1 Author: Alexander Köplinger <alex.koeplinger@outlook.com> Date: Thu Sep 28 17:56:20 2023 +0200 Fix link in ILLink.Tasks README.md (#92769) commit 26d9e9f1e0202a144b4f208e4fb3f4dde2d9bdb8 Author: Zoltan Varga <vargaz@gmail.com> Date: Thu Sep 28 11:17:17 2023 -0400 [llvm] Avoid zero extending non-negative constant array indexes, its not needed and it prevents abcrem from working. (#92760) commit 612deb2e5cb170a5eb2dc6f563eaa15027ae36fe Author: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com> Date: Thu Sep 28 16:34:07 2023 +0200 [wasm][debugger] Support passing identifiers to methods (#92758) * Basic fix. * More tests. * Move tests to more suitable place. * Pause earlier. commit 29c4e3bac5514d3065597c048e74e31898527f92 Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Thu Sep 28 14:54:36 2023 +0200 JIT: Unify and clean up unspilling (#91663) commit 3bf40a378f00cb5bf18ff62796bc7097719b974c Author: Stephen Toub <stoub@microsoft.com> Date: Thu Sep 28 08:51:48 2023 -0400 Update TensorPrimitives aggregations to vectorize handling of remaining elements (#92672) * Update TensorPrimitives.CosineSimilarity to vectorize handling of remaining elements * Vectorize remainder handling for Aggregate helpers commit dc1f86add82e0573fbb40cc6ff9bcf0b56a2ce78 Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Thu Sep 28 13:50:22 2023 +0200 JIT: Promote size-wise improvements in physical promotion (#92717) I hit the following case: ``` Evaluating access byref @000 Single write-back cost: 3 Write backs: 0 Read backs: 0 Estimated cycle improvement: 0 cycles per invocation Estimated size improvement: 2 bytes Disqualifying replacement ``` These cases happen when the blocks that have candidates for promotion in them have bbWeight equal to 0. If we estimate a size improvement without a cycle improvement it still makes sense to promote a replacement. More generally, a large size improvement can make up for a small cycle regression, so add a heuristic similar to the existing one for this. I've set it to be quite conservative: we require 100 bytes of size improvement before we allow 1 cycle of regression. This is enough to handle the common case where the cycle improvement is 0 due to the bbWeight = 0. commit b1f368fcd17620494a18735e1bf0729459302dc0 Author: Zoltan Varga <vargaz@gmail.com> Date: Thu Sep 28 06:19:19 2023 -0400 [mono] Enable SIMD intrinsics on winx64. (#92673) * [mono] Enable SIMD intrinsics on winx64. * Re-enable decompose on SIMD intrinsics on Windows. --------- Co-authored-by: lateralusX <lateralusx.github@gmail.com> commit f4fa6554ace1ea713d1106dc29f9de3b99c2c92b Author: Levi Broderick <GrabYourPitchforks@users.noreply.github.com> Date: Wed Sep 27 18:14:28 2023 -0700 Small refactor to BuildElement to address NRT changes (#92742) commit 26346c0bb954a1886aa9271397c655d426429901 Author: Kevin Jones <kevin@vcsjones.com> Date: Wed Sep 27 21:05:46 2023 -0400 Make PCP tests conditional by algorithm The ConditionalFact tests for a functional TPM using P-256. Tests assumed that if the TPM supported P-256, then P-384 and RSA is supported as well. This is not always the case - some TPMs implement 256 without support for 384. This changes the TPM conditional facts to be per-algorithm. commit afda142df40a36e64454c460f8d790b43e71cee6 Author: Ankit Jain <radical@gmail.com> Date: Wed Sep 27 20:12:36 2023 -0400 [wasm] Fix Wasm.Build.Tests on `main` (#92741) * CI: Don't include ref pack when the tests need workload .. as it already includes it. https://github.com/dotnet/runtime/issues/92732 broke this as a side-effect which caused the `microsoft.netcore.app.ref` directory to not be created. Fixes https://github.com/dotnet/runtime/issues/92732 . * [wasm] WBT: Update skiasharp reference `blz_deploy_on_build_Debug_True_npl3f0nk_qee.csproj : error NU1903: Package 'SkiaSharp' 2.88.4-preview.76 has a known high severity vulnerability` commit 7e6bd94c52b6f4d75f8e5098e814b4ffacdd5e02 Author: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu Sep 28 01:11:59 2023 +0200 [main] Update dependencies from dotnet/roslyn-analyzers (#92639) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Sven Boemer <sbomer@gmail.com> commit dd8e9aa8b5cee831ed3885921b79baddc40c2184 Author: Miha Zupan <mihazupan.zupan1@gmail.com> Date: Thu Sep 28 00:11:01 2023 +0200 Revert "Remove Latin1CharSearchValues (#91884)" (#92726) * Revert "Remove Latin1CharSearchValues (#91884)" This reverts commit 4a09c82215399c27f52277a8db7178270410c693. * Keep the projitems formatting commit c3b1ed015aca1bceec2524ab187485d1d6467c70 Author: Michal Strehovský <MichalStrehovsky@users.noreply.github.com> Date: Thu Sep 28 06:34:29 2023 +0900 Avoid membarrier on lower Android versions (#92686) Hopefully fixes #92196. I don't actually have an ARM64 device with an old Android version so I can't testing it actually fixes the problem, but it's a plausible fix. commit 377fa6cab039d3c8ede839dc78445e42513135e9 Author: Hazel <contact@tacosontitan.com> Date: Wed Sep 27 15:52:05 2023 -0500 Updated XML documentation for `IConfigurationProvider.GetReloadToken`. (#92720) commit bc5f53c8f0243f06fbb1454b3196434a9dc7887d Author: Ankit Jain <radical@gmail.com> Date: Wed Sep 27 16:36:18 2023 -0400 [wasm] GetChromeVersions: Fix fetching v8 version given a chrome version (#92667) * [wasm] GetChromeVersions: Fix fetching v8 version given a chrome version * Address feedback from Ilona Tomkowicz commit c98c9dc5d9017762c33b449a75c8392ddb10cbf4 Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Wed Sep 27 11:04:31 2023 -0700 Move more sprintf usages to snprintf (#92674) commit 5c391f6b6b463475ff26428c4561b91ce1978be0 Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Wed Sep 27 10:56:47 2023 -0700 Change how test assemblies opt-in to LibraryImportGenerator usage (#92661) commit 95fe99c5646d123c879b9bf51711c90924336ce9 Author: Jeremy Koritzinsky <jekoritz@microsoft.com> Date: Wed Sep 27 10:45:54 2023 -0700 Don't build libraries native packages in the PGO leg (#92729) commit 8a5283fcf1526e80255a35acbb8f9bc362c9f050 Author: Sven Boemer <sbomer@gmail.com> Date: Wed Sep 27 09:52:31 2023 -0700 Add illink analyzer support for field/property initializers (#92600) The dataflow analyzer was exiting early for cases where the owning symbol was not an `IMethodSymbol`. This meant we weren't running dataflow analysis for field and property initializers. This fixes it by allowing through cases where the owning symbol is not an `IMethodSymbol`, and adding testcases to validate that we don't hit asserts in the code paths that only light up for methods. commit 273db667b3162792714a05b4bd1c5d328f33e5af Author: Jan Vorlicek <janvorli@microsoft.com> Date: Wed Sep 27 18:48:48 2023 +0200 Fix arm64 fragment unwinding (#92678) A bug in the Windows arm64 unwinder that existed a long time ago has caused problems with unwinding in functions split in multiple fragments in case the location in the function was in a secondary fragment. At that time, it was not discovered that it was a bug in the unwinder and it got "fixed" in the runtime by always using the first fragment unwind info. However, now it turned out that was actually incorrect in some cases. Checking the current state of the Windows unwinder revealed that a bug was fixed there that was causing the problem we were seeing. Effectively ignoring all the shadow prolog unwind info in the secondary fragments. This change reverts the old fix after the unwinder was updated. commit cf978fdaf0726b57d76bc91e802adab0c9b8dc8f Author: Egor Bogatov <egorbo@gmail.com> Date: Wed Sep 27 18:48:24 2023 +0200 Change order of loads in LowerMemcmp (#92704) commit 954e0b898e39ccfaf557429a430f4f05aca7362d Author: Alexander Köplinger <alex.koeplinger@outlook.com> Date: Wed Sep 27 18:38:29 2023 +0200 Fix LLVMAOT Mono runtime variant official build to produce correctly named runtime packs (#92712) In https://github.com/dotnet/runtime/commit/75ee623b8f0350a4b4be86fa71745a74beb059d1 the condition in `src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.props` got changed from checking `MonoBundleLLVMOptimizer` to `MonoAOTEnableLLVM` but we weren't setting that property in runtime-official.yml so both jobs produced runtime packs with the same suffix, resulting in the artifact uploads randomly overwriting each other. commit a707e940e6982b04b2f2832e9850e17e0f8dcfac Author: Ivan Diaz Sanchez <ivdiazsa@microsoft.com> Date: Wed Sep 27 08:52:01 2023 -0700 Fix Excessive Encoding in Test Logs (#92286) * Removed special encoding that was rendering the test logs near impossible to read properly. * Adjusted the offending test to print the invalid character's hex code instead, and fixed it alongside its sibling test because they didn't handle all correct/incorrect cases properly. * Added special handling for illegal XML characters in the test results' XML logs. * Simplified the sanitizing algorithm to one pass, as per Dan's feedback. commit e500dad300c739a35eb88edb3605f71eca18a4ac Author: Lakshan Fernando <lakshanf@hotmail.com> Date: Wed Sep 27 07:51:05 2023 -0700 Switch to etw python script (#92508) * initial work with hacks to switch to EtwProvider python script * move to generated scripts * Fixes for some link issues * fix link issue * adding private etw callback to enable GC events * Fix x86 build break * fixing Linux build break * fixing gcpriv.h * making minimal typedefs * FB * Fix for posix break commit 3db080c12ff2bf6fd4acc09109edeaee7c087dbb Author: Aaron Robinson <arobins@microsoft.com> Date: Wed Sep 27 06:30:23 2023 -0700 Add tests for `UnsafeAccessor` on fields on generic types (#92657) * Add tests for field access on generics The tests are currently disabled. * Fix ILC to compile UnsafeAccessorsTests UnsafeAccessorsTests passes on NAOT. commit d6c28d40954435cfacf3dbbeeaf6f7d41da213f5 Author: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com> Date: Wed Sep 27 13:38:22 2023 +0200 JIT: Handle remainder accesses more precisely in physical promotion liveness (#92651) The liveness pass in physical promotion will currently handle any struct LCL_FLD access of a physically promoted struct as accessing the remainder. However, if the LCL_FLD only touches promoted fields then the remainder is not actually used. There was a TODO around this which this PR fixes as I stumbled upon a case this would improve. commit 374188723ce4853d827b44bbd17c96742da28d7a Author: Zoltan Varga <vargaz@gmail.com> Date: Wed Sep 27 07:35:12 2023 -0400 [mono] Implement Vector128.Shuffle () for llvm on x64. (#92656) commit ca8d6f0420096831766ec11c7d400e4f7ccc7a34 Author: Jan Dupej <109523496+jandupej@users.noreply.github.com> Date: Wed Sep 27 10:25:53 2023 +0200 [mono][aot] Type load checks do not fail at compile time but produce a runtime exception (#91261) * Enable tests. * When AOTing, type checks do not fail compilation but create a runtime exception. * Cleaned up type load error cleaning. TypeLoadException icall now has a message with type name. * Removed another instance of indiscriminate exception clearing. * Fixed build warning. * Using class const instead of string const. Reverted some compile to runtime errors that were not necessary for the unit tests. * White space. * Fixed build warning. * Trying to fix weird AOT errors, fixed type load throw function. * Fixed build error. * Special handling for classes that are NULL. * Providing for a null klass when generating exception. * Removed flow control directive from macro. * Fixed stack corruption. * Attempt to push the correct type onto the stack. * Fixing uninitialized ins. * Fixing ro_type. * Initializing ins. * Complex cases with type load failures replace method body with a throw. * Cleaning up superfluous code changes. * Restored sizeof cosntant on failed types. commit d1d6a6b8910e23696ce27635da62086763b08785 Author: Michal Strehovský <MichalStrehovsky@users.noreply.github.com> Date: Wed Sep 27 15:34:38 2023 +0900 Make it possible to preinitialize HW intrinsic IsSupported (#92666) * Move the IL rewriting for HW intrinsics `IsSuported` calls to `ILProvider` from `RyuJitCompilation` * Also rewrite constant true/false commit 43f236d9e9fba323a55d27b3ba097f24ade16ef1 Author: Michal Strehovský <MichalStrehovsky@users.noreply.github.com> Date: Wed Sep 27 15:05:07 2023 +0900 Extend preinitialization interpreter (#92470) Things that I added: * Support for `typeof(T) == typeof(Bar)` (this will be useful later, we'll eventually be able to also freeze these). * Support static interface method calls * Constrained method calls on valuetypes * More `ReadOnlySpan` construction patterns, `.Length` * More indirect load/store support Contributes to #78681. To full resolve this, we need to fix up things so we can answer `Sse2.IsSupported`. commit 8e760396b1be0e90946…
- Loading branch information