1. 19 1月, 2023 25 次提交
  2. 18 1月, 2023 15 次提交
    • E
      7392fb7c
    • E
    • V
      [mono][interp] Add 16 byte default alignment to interp frames (#80700) · 5a17537f
      Vlad Brezae 提交于
      * [mono][interp] Remove MINT_VT_ALIGNMENT
      
      It serves no purpose nowadays. All vars are aligned to MINT_STACK_SLOT_SIZE.
      
      * [mono][interp] Add 16 byte default alignment to optimized code
      
      This will enable us to control alignment of Vector128 vars at compile time.
      
      * [mono][interp] Add stack alignment for unoptimized code
      
      For normal calls, we introduce a new opcode before the call that will move all the arguments to aligned stack location. When emitting the code for the call, we emit directly the aligned call args offset instead. Unoptimized code has its own opcodes that do moving of param, we tweak them to copy them into aligned location.
      5a17537f
    • Z
    • S
      efc07a00
    • Z
      [wasm] Enable dedup by default. (#80260) · f3af6765
      Zoltan Varga 提交于
      * [wasm] Enable dedup by default.
      
      * [wasm] Enable symbol map for AOT tests too
      
      * MonoAOTCompiler: Fix up the path for the output items if they had been
      
      .. copied to `aot-in` for the compilation step.
      
      Example:
      - when using WasmDedup=true, we get the main assemblies in `publish`
      directory after linking, but `aot-instances.dll` is in different directory.
      - this causes `MonoAOTCompiler` to copy all of them to a temporary `aot-in` dir for compiling with `mono-aot-cross`.
      - And when the output items are set, we get:
      
      ```
       Output Item(s):
           _WasmAssembliesInternal=
               obj/Debug/net8.0/browser-wasm/wasm/for-publish/aot-in/Debug_u4nbxx3i.gc5.dll
                       LlvmBitcodeFile=obj/Debug/net8.0/browser-wasm/wasm/for-publish/Debug_u4nbxx3i.gc5.dll.bc
      ```
      
      - here the `ItemSpec` is incorrectly set to the temporary `aot-in` path
      - which can cause build failures in the following build steps
      
      * WBT: remove redundant case
      Co-authored-by: NAnkit Jain <radical@gmail.com>
      f3af6765
    • J
      JIT: Add a stress mode that poisons implicit byrefs (#80691) · 559aa0e3
      Jakob Botsch Nielsen 提交于
      This stress mode poisons all implicit byrefs before returns from the
      method. GC pointers are nulled out and other parts of the structs are
      filled with 0xcd bytes.
      
      This should help expose incorrectly elided copies in the recently added
      last-use copy elision optimization.
      559aa0e3
    • J
      6962fc23
    • J
      JIT: Fix GC hole for Armv8.1 Atomics (#80740) · 1df21ed6
      Jakob Botsch Nielsen 提交于
      Unlike seemingly all other ARM instructions, the set of instructions
      marked by this PR actually write their result in the second operand
      register instead of the first. This means we were incorrectly updating
      GC info when emitting these instructions.
      
      Fix #79431
      Fix #80582
      Fix #80584
      Fix #80585
      Fix #80586
      Fix #80587
      Fix #80588
      1df21ed6
    • A
      786099bb
    • V
      Set AssemblyName.ProcessorArchitecture for compatibility. (#80581) · 69045adc
      Vladimir Sadov 提交于
      * Set AssemblyName.ProcessorArchitecture for compatibility.
      
      * Simplified ProcArch computation.
      69045adc
    • D
      [main] Update dependencies from dotnet/arcade (#80547) · 19fc478d
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/arcade build 20230111.1
      
      Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.23053.5 -> To Version 8.0.0-beta.23061.1
      
      * Update dependencies from https://github.com/dotnet/arcade build 20230112.3
      
      Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.23059.1 -> To Version 8.0.0-beta.23062.3
      
      * Update dependencies from https://github.com/dotnet/arcade build 20230113.7
      
      Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.23059.1 -> To Version 8.0.0-beta.23063.7
      
      * Update dependencies from https://github.com/dotnet/arcade build 20230116.1
      
      Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.23059.1 -> To Version 8.0.0-beta.23066.1
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: NLarry Ewing <lewing@microsoft.com>
      19fc478d
    • D
      Update dependencies from https://github.com/dotnet/linker build 20230114.1 (#80655) · b84fef9e
      dotnet-maestro[bot] 提交于
      Microsoft.NET.ILLink.Tasks
       From Version 8.0.100-1.23062.1 -> To Version 8.0.100-1.23064.1
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      b84fef9e
    • W
      3b39c7cf
    • J
      Default to ILC host architecture that matches OS architecture on Windows (#80752) · 7b7da67a
      Jan Kotas 提交于
      It allows compilation using msbuild.exe that is x86 by default
      7b7da67a