- 27 4月, 2023 2 次提交
-
-
由 Carlos Sánchez López 提交于
-
由 Buyaa Namnan 提交于
* Initial custom attributes handling * Pseudo custom attributes handling and tests * Use ReadOnlySpan for CustomAttribute binaryData * Update some pseudo attributes handling and apply feedback * Add one more pseudo attribute and a few small changes * Move pseudo attributes handling * Remove type loading logic from CustomAttributes parsing, use constants for some values * Add MarshalAsAttribute handling and apply other feedbacks --------- Co-authored-by: NAaron Robinson <arobins@microsoft.com>
-
- 26 4月, 2023 38 次提交
-
-
由 Zoltan Varga 提交于
Enable it by default on WASM. In this mode, all gshared methods get an mrgctx, which means they can access their data using a simple load from the mrgctx instead of having to call a rgctx fetch trampoline. Upsides: - much simpler. - faster access to gshared data - smaller code and data size in the AOT case - if enabled by default on all platforms, large amount of gshared code can be removed Downsides: - the methods have to initialize their mrgctx in their prolog - on non-wasm platforms, indirect calls to gshared methods (like virtual calls) will need to use rgctx trampolines more often to pass the mrgctx.
-
由 Pavel Savara 提交于
-
由 Ivan Diaz Sanchez 提交于
Fixes #81141. In PR #80164, the build scripts were updated to always require and/or convert the MSBuild `TargetOS` property to lowercase. However, the _helixpublishwitharcade.proj_ file was not included in these efforts, which led to some confusing behavior and misplaced files, as described in issue #81141. This PR addresses and fixes that.
-
由 Pavel Savara 提交于
Co-authored-by: NMarek Fišera <mara@neptuo.com>
-
由 Jan Dupej 提交于
* [mono][jit] Adding Vector128.ConvertXX as intrinsic on arm64. * Changed rounding model on f->i conversion. * Disabled f32->i32 casting test. * Disabled all of failing JIT tests.
-
由 Will Smith 提交于
-
由 Jan Dupej 提交于
* [mono][jit] Add Vector128.WithElement as intrinsic on arm64. * Fixed store opcode mismatch. * Optimize the nonconstant case only for Vector128 in mini.
-
由 Pavel Savara 提交于
-
由 Egor Bogatov 提交于
-
由 Jakob Botsch Nielsen 提交于
* Introduce GT_JTEST to replace GTF_JCMP_TEST * Stop encoding JCMP conditions in GenTreeFlags by switching GT_JCMP to a GenTreeOpCC node. This removes GTF_JCMP_EQ and the LoongArch64/RISC-V specific mechanism to communicate condition codes to the backend via gtFlags.
-
由 Egor Bogatov 提交于
-
由 Egor Bogatov 提交于
Co-authored-by: NJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
-
由 Will Smith 提交于
* Fixed regressions for 'GT_NEG' containment on ARM64 * Containing NEG is only valid for EQ and NE. * Update codegenarm64.cpp * Formatting
-
由 Vlad-Alexandru Ionescu 提交于
JIT delegates do not depend on the target method and an call is used --------- Signed-off-by: NVlad - Alexandru Ionescu <vlad-alexandruionescu@Vlads-MacBook-Pro-2.local> Co-authored-by: NVlad - Alexandru Ionescu <vlad-alexandruionescu@Vlads-MacBook-Pro-5.local>
-
由 Egor Bogatov 提交于
-
由 Aleksey Kliger (λgeek) 提交于
The naming is `Microsoft.NETCore.App.Runtime.Mono.{variant}.{rid}.{version}.nupkg` Fixes local WBT builds for non-default runtime variants (eg: build with `/p:MonoWasmBuildVariant=multithread` then run WBT)
-
由 Michal Strehovský 提交于
Works around https://github.com/dotnet/fsharp/issues/15140 and it's also just good hygiene.
-
由 Sven Boemer 提交于
-
由 Aleksey Kliger (λgeek) 提交于
* [hot_reload] remove unneeded assertion `is_addition` is already defined as `token_index-1 >= delta_info->count[token_table].prev_gen_rows` so: 1. the assertion as written is wrong for cumulative updates that add new properties or events 2. the assertion would be trivially true if it was updated to use `delta_info->count[token_table].prev_gen_rows`. Fixes the ability to cumulatively add new properties * Update generation on MonoClassMetadataUpdateInfo when adding members Give recompute_ginst_update_info something to work with. * assert that generic instances don't call hot_reload_get_property token-based lookup should only happen for class defs or GTDs * update regression test
-
由 Andy Ayers 提交于
If the loop test block has multiple predecessors we will not do proper profile updates. This can lead to downstream problems with block layout (say leaving a cold block in a loop). Fix by changing how we compute the amount of profile that should remain in the test block. Fixes #84319.
-
由 Andy Ayers 提交于
RBO triggered a morph opt that cloned an SSA local, throwing off the SSA accounting. Fix by invoking the accounting helper after the morph expansion. Closes #85226.
-
由 Tom Deseyn 提交于
-
由 Eric StJohn 提交于
-
由 Stephen Toub 提交于
- Consistently null check the Timer stored in the state object - Complete the a task canceled due to the CancellationToken with the CancellationToken - Avoid an unnecessary closure in Delay - Make TimeProvider.System.CreateTimer use Timer's ctor that takes duration/period rather than making a separate call to Change
-
由 Marek Fišera 提交于
[wasm] Disable `Wasm.Build.Tests.Blazor.BuildPublishTests.BugRegression_60479_WithRazorClassLib` (#85356) * Add active issue on blazor lazy load test * Add active issue on blazor lazy load test
-
由 Stephen Toub 提交于
* Use CollectionsMarshal.SetCount in LINQ to deduplicate ToArray/ToList implementations * Fix BinaryFormatter test The test was implemented using ToList, and `List<T>` serialization serializes out its version field. As a result, because we're now optimizing creation and not incrementing the version as much in ToList, the blob didn't match.
-
由 Sven Boemer 提交于
Unblocks dotnet-optimization flow and https://github.com/dotnet/runtime/issues/84711. Includes a dotnet-optimization update to confirm this it avoids the issue discussed in https://github.com/dotnet/runtime/pull/84635. This fixes that issue by preventing R2R for any Avx2 helpers which assume they are called with Avx2 enabled.
-
由 Tom Deseyn 提交于
-
由 Filip Navara 提交于
Fixes #82389 - Fixes build of System.Globalization.Native for iOS-like, browser, and wasi platforms - Removes ICU shim from static builds of Mono runtime and builds it as part of libs.native subset - Switches browser/wasi to use the static libraries Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
-
由 Jakob Botsch Nielsen 提交于
This code could create IR shapes like COMMA struct ... ASG struct dst src After liveness that would sometimes result in COMMA struct ... NOP void which could confuse optimization phases when JitOptRepeat was enabled. The more canonical shape for these side-effecting GT_COMMA nodes has them TYP_VOID typed as shown by gtExtractSideEffList, so do the same in block morph. Fix #85037
-
由 Tanner Gooding 提交于
* Expose various Convert intrinsics for Avx512F and Avx512DQ * Expose various integer conversion APIs for Avx512F and Avx512BW * Ensure special instructions are handled in codegen * Apply formatting patch * Ensure the AVX512F_VL variant is picked for simdSize=16/32 * Ensure conversion instructions are handled in PERFSCORE * Ensure instructions use the right tuple type * Removing an invalid API and fix more PERFSCORE entries * Resolve additional failures masked by #85056 * Ensure TieredCompilation=0 is also passing * Apply formatting patch * Fixing some more test edge cases * Ensure uint64->double and uint64->Float masks the input
-
由 Jakob Botsch Nielsen 提交于
We always try to upload the collections for the tests, even on failures, so we should also add the authed feed on failures.
-
由 mikelle-rogers 提交于
* EnC non-functional changes - Update inappropriate naming - Update many logging statements - Remove unused code * EnC support for fields on generic types * EnC support for methods on generic types * Fix use after free introduced in EnC breakpoint. Fix off by one for string logging. * update new feature capabilities, JIT GUID * Fix non-enc build * Fix EnCFieldIndex check * Remove IsFdPrivate assert --------- Co-authored-by: NAaron R Robinson <arobins@microsoft.com> Co-authored-by: NJuan Hoyos <19413848+hoyosjs@users.noreply.github.com> Co-authored-by: NTom McDonald <tommcdon@microsoft.com>
-
由 Austin Wise 提交于
-
由 Krzysztof Wicher 提交于
* Populating JSON properties support * apply review feedback * Attempt to fix build by reducing stack frame * Fix docs * Remove unnecessary properties from ReadStackFrame. * Move source gen tests to the source gen test project. * Improve test helper method name. * Add argument validation to JsonPropertyInfo.ObjectCreationHandling & extend unit testing for the new metadata APIs. * Add test coverage for invalid attribute annotations. --------- Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com>
-
由 Ivan Povazan 提交于
* Do not strip exported symbols from executables when explicitly specified * Add '_' prefix to StripFlag internal project property
-
由 Stephen Toub 提交于
To help mono cope with the genericized implementation. This method is only used when Ssse3 or AdvSimd.Arm64 are not supported, or when formatting the rarely-used "X" format, but currently mono AOT without LLVM doesn't enable those intrinsics.
-
由 Stephen Toub 提交于
The compat implementation behind Random just casts a double to a float to produce the result of NextSingle. Some double values close to 1.0 might round up to 1.0f, which is out of range for NextSingle. In that case, reject it and retry. This approach is consistent with how fairness is handled elsewhere in the implementation, and avoids changing the sequence of values returned for a fixed seed in cases where an illegal value wasn't being returned.
-