1. 18 6月, 2021 14 次提交
    • M
      14012029
    • T
      fix MsQuicStream counting on failure (#54249) · 472f11c1
      Tomas Weinfurt 提交于
      472f11c1
    • T
      Implement NativeMemory (#54006) · f721cf41
      Tanner Gooding 提交于
      * Implement NativeMemory
      
      * Exposing additional APIs as approved
      
      * Ensure we have a test covering alignment and size being less than sizeof(void*)
      
      * Update src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.Unix.cs
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      
      * Responding to PR feedback
      
      * Adding additional alignment test coverage for 1 to 16384
      
      * Add coverage for 65k and 1/2/4MB alignments
      
      * Fixing the Native\Unix\System.Native\CMakeLists.txt
      
      * Update src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeMemory.Unix.cs
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      
      * Don't call Buffer.Memmove in NativeMemory.AlignedRealloc if ptr is null
      
      * Updating NativeMemory.AlignedRealloc to correctly copy only the size of the last allocation
      
      * Ensure check_symbol_exists(HAVE_ALIGNED_ALLOC) is under the non-apple paths
      
      * Check for malloc_usable_size in malloc_np for FreeBSD and ensure tests compile
      
      * Fix the ReallocSmallerToLargerTest test
      
      * Handle that posix_memalign differs from aligned_alloc for size == 0
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      f721cf41
    • L
      Fix casing (#54384) · d764cb5e
      Larry Ewing 提交于
      d764cb5e
    • L
      Only include Microsoft.NET.Runtime.RuntimeConfigParser.Task on mobile (#54361) · 98be10a3
      Larry Ewing 提交于
      * Only include Microsoft.NET.Runtime.RuntimeConfigParser.Task on mobile
      
      * Add maccatalyst target imports per request
      98be10a3
    • S
      Lazy-allocate ValidationState.CurPos (#54346) · 61e250a1
      Stephen Toub 提交于
      The array is only used for a subset of validators; no point in paying for this array for every ValidationState instance even if it's not going to be used.
      61e250a1
    • S
    • F
    • M
      Codesign apphosts on Mac (#53913) · 64942392
      Mateo Torres-Ruiz 提交于
      * Add CodeSign to HostWriter
      
      * Fix test
      
      * PR feedback
      
      * Add EnableMacOSCodeSign to CreateAppHost
      Add tests
      
      * Check that OSPlatform is OSX before running codesign.
      
      * Guard from filepaths containing spaces
      
      * Move apphost exceptions to a single file
      Modify apphost exceptions inheritance
      
      * Move AppHostUpdateException
      
      * Apply suggestions from code review
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      
      * Add exit code to AppHostSigningException
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      64942392
    • B
      Update superpmi_setup.py script with more exclusions (#54309) · 72a26f92
      Bruce Forstall 提交于
      I noticed a bunch of failures trying to run crossgen2 on these binaries
      in one of our collections.
      
      Also, make the checking case-insensitive: I saw that we were failing to
      match "corerun.exe" against "CoreRun.exe" that was in the exclusion list.
      72a26f92
    • V
      Add a test for Expression.Property and its handling of property accessors (#54279) · 1306b036
      Vitek Karas 提交于
      * Add a test for Expression.Property and its handling of property accessors
      
      This mostly a linker test as this effectively validates linker feature from https://github.com/mono/linker/pull/1880.
      
      But having a clean trimming tests here is better validation for this specific case.
      
      * Add one more test case as per feedback
      
      * Remove debugging leftover
      1306b036
    • I
      [mono] Enable more HardwareIntrinsics tests and fix more amd64 intrinsics bugs (#54127) · eb7b3db7
      imhameed 提交于
      Enables nearly all disabled `JIT/HardwareIntrinsics` tests.
      `StoreNonTemporal_{r,ro}` and `Sse42.X64/Crc32_{r,ro}` remain disabled due to
      issues that are out of scope for this PR.
      
      Changes:
      
      * Enable `pclmul` and `aes` when AOT compiling runtime tests.
      
      
      * Add a `immediate_unroll_unreachable_default`, used to mark the default case
        in an unrolled immediate switch as unreachable.
      
      
      * Fix `OP_MULX_HL{32,64}`: the low-word address is sometimes an integer produced
        by ptrtoint
      
        Fixes compilation of `JIT/HardwareIntrinsics/X86/Bmi2/Bmi2_{r,ro}/**`
        and `JIT/HardwareIntrinsics/X86/Bmi2.X64/Bmi2.X64_{r,o}/**`.
      
      
      * Implement immediate unrolling for `Ssse3.AlignRight`
      
        Fixes `JIT/HardwareIntrinsics/X86/Ssse3/Ssse3_{r,ro}/**`.
      
      
      * Implement the 3-argument overload of `Bmi1.BitFieldExtract`
      
        Fixes `JIT/HardwareIntrinsics/X86/Bmi1/Bmi1_{r,ro}/**` and
        `JIT/HardwareIntrinsics/X86/Bmi1.X64/Bmi1.X64_{r,ro}/**`.
      
      
      * Implement immediate unrolling for `Aes.KeygenAssist`
      
        Fixes `JIT/HardwareIntrinsics/X86/Aes/Aes_{r,ro}/**`.
      
      
      * Implement immediate unrolling for `Sse41.MultipleSumAbsoluteDifferences`
      
        Fixes
        `JIT/HardwareIntrinsics/X86/Sse41/MultipleSumAbsoluteDifferences_{r,ro}/**`.
      
      
      * Mask vector selection index in `OP_XEXTRACT_*` and `OP_XINSERT_*`
      
        LLVM `insertelement` and `extractelement` yield poison values for lane
        indices that are out of bounds, but the underlying instructions on amd64 only
        care about the lower few bits in the immediate octet and the
        `Extract.UInt64.129` etc. tests in
        `JIT/HardwareIntrinsics/X86/Sse41.X64/Sse41.X64_r` test for this.
      
        Also, rename `OP_SSE41_INSERT` to `OP_SSE41_INSERTPS` and specialize this to
        the `insertps` overload of `Sse41.Insert`.
      
        Implement immediate unrolling for `OP_SSE41_INSERTPS`.
      
        Fixes `JIT/HardwareIntrinsics/X86/Sse41.X64/Sse41.X64_{r,ro}/**` and .
        `JIT/HardwareIntrinsics/X86/Sse41/Sse41_{r,ro}/**`.
      
      
      * Copy the upper lanes over to the destination in `OP_SSE_CMPSS` and `OP_SSE2_CMPSD`
      
        Also fix the overloaded types associated with SSE saturating arithmetic LLVM
        intrinsic functions.
      
        Fixes `JIT/HardwareIntrinsics/X86/Sse2/Sse2_{r,ro}/**` and
        `JIT/HardwareIntrinsics/X86/Sse/Sse_{r,ro}/**`.
      
      
      * Implement immediate unrolling for `Pclmulqdq.CarrylessMultiply`
      
        Fixes `JIT/HardwareIntrinsics/X86/Pclmulqdq/Pclmulqdq_{r,ro}`.
      eb7b3db7
    • B
      Fix SuperPMI handling of resolveVirtualMethod (#54315) · 71542302
      Bruce Forstall 提交于
      Change #53567 introduced new functionality to the JIT-EE
      resolveVirtualMethod() API. This fixes the SuperPMI implementation
      in the case where the API returns `false`, where some data fields
      are not initialized.
      
      Fixes crossgen2 SuperPMI collections.
      
      Fixes #54310
      71542302
    • T
      Fix Activity last tag deletion (#54306) · 5e63c789
      Tarek Mahmoud Sayed 提交于
      5e63c789
  2. 17 6月, 2021 24 次提交
  3. 16 6月, 2021 2 次提交