Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-21Exposing IRootFunctions.Hypot and IRootFunctions.Root (#71010)Tanner Gooding
* Exposing IRootFunctions.Hypot and IRootFunctions.Root * Adding tests for IRootFunctions.Hypot and IRootFunctions.Root
2022-06-13Remove unused code (#70624)Aaron Robinson
* Remove unused AllowZeroAllocator and DefaultAllocator. * Remove static_assert_n. * Remove the native Regex implementation and replace with a minimal version from TPOP. Add attribution in third party notices.
2022-05-19Adding Int128 and UInt128 with a base software implementation (#69204)Tanner Gooding
* Adding barebones Int128 and UInt128 structs * Special case Int128 and UInt128 alignment on x64 Unix and Arm64 * Implementing Int128 and UInt128 * Adding tests for Int128 and UInt128 * Updating Int128/UInt128 to respect the System V ABI ordering * Fixing an issue with UInt128->BigInteger setting the wrong sign * Don't use Unsafe.As in the Int128/UInt128 hex parsing logic * Adding Int128 P/Invoke tests and ensure R2R correctly sets the packing * Fixing some issues with the Int128 interop test for non-Windows * Ensure that floating-point conversions exist for Int128 and UInt128 * Fixing the casing of a couple fields * Revert "Don't use Unsafe.As in the Int128/UInt128 hex parsing logic" This reverts commit 09e8bfc52d5b1b7f7b341f318bf1046b19768dd3. * Adjusting the Int128/UInt128 generic math tests to have consistent ordering * Responding to PR feedback * Ensure that pNativeLayoutInfo alignment is initialized for Int128/UInt128 * Don't use Unsafe.As in the Int128/UInt128 hex parsing logic * Skip the Interop/PInvoke/Int128 tests on Mono
2022-05-11"[QUIC] Adopted msquic generated interop (#68288)" attempt no 2 (#69009)Marie Píchová
* Revert "Revert "[QUIC] Adopted msquic generated interop (#68288)" (#68940)" This reverts commit 4820674a4471872d742c380f38e766b80dc79385. * Exclude S.N.Quic from Mono AOT * Fix #68954
2022-05-06Revert "[QUIC] Adopted msquic generated interop (#68288)" (#68940)Jan Kotas
This reverts commit 992b395a72d161bb2346258a726fb93b10f0d7e7.
2022-05-05[QUIC] Adopted msquic generated interop (#68288)Marie Píchová
* MsQuicApi adjusted * QuicParamHelper adjusted * MsQuicConfiguration adjusted * Added MsQuicException * MsQuicConnection adjusted * MsQuicListener adjusted * MsQuicStream adjusted * It compiles! * Some test fixes * Fixed stream read event handling * Re-enabled IPv6 tests * latest greatest * Update src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicListener.cs * MsQuic interop enum names * 3rd Party notice, version check * SafeHandleType * Replaced AlpnHelpers with MsQuicBuffers generic QUIC_BUFFER* helper * Sealed exception class * Feedback MsQuicBuffers * NativeMemory use * Newest msquic interop * Buffers feedback * Remove MemoryHandle pooling * Buffers feedback * Logging feedback
2022-04-08VS4Mac crash reports on MacOS v12 (Monterey) are missing native stack ↵Mike McLaughlin
frames. (#67713) Can not properly triage VS4Mac failures. The amd64 frameless compact encoding is being used now in MacOS version 12 and needed to be implemented. Issue: https://github.com/dotnet/diagnostics/issues/2924
2022-03-11Updating Unicode files to use 14.0.0 (#66362)Jose Perez Rodriguez
2022-02-08Including FastFloat in parsing process (#62301)Carl Verret
* Including FastFloat in parsing process * PR step 1 - adjusting code in regards to received comments. * DigitsToUInt64 : Parsing batches of 8 digits with SWAR * Update src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs Co-authored-by: Günther Foidl <gue@korporal.at> * Update src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs Co-authored-by: Günther Foidl <gue@korporal.at> * MaxMantissaFastPath fix * merge problem... * Revert "merge problem..." This reverts commit 1b5fd5136a5396c6439ffd47ef46d0c8b3134693. * removing an extra comparison for fast path. * According to PR review, all requested changes are in this commit. * According to new serie of comments on this PR. * Fixing formatting. * fixing sentence ending in comments * Update THIRD-PARTY-NOTICES.TXT Adding license notice for FastFloat algorithm * Update src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs Co-authored-by: Tanner Gooding <tagoo@outlook.com> * Identation of power of 5 table * some adjustements according to reviewer's requests. * Unnecessary assignment of a value to 'exponent' * removing excedent path for total digits < 7 * removing path for totaldigits <7 * getting rid of unused power of 10 table * Renaming FastFloat specific values Specifying infinitePower param as hexa * renaming some variables and adjusting comments. * Handle endianness swapping for BigEndian systems. Co-authored-by: Günther Foidl <gue@korporal.at> Co-authored-by: Tanner Gooding <tagoo@outlook.com>
2022-01-25Faster IndexOf for substrings (#63285)Egor Bogatov
* Improve "lastChar == firstChar" case, also, use IndexOf directly if value.Length == 1 * Try plain IndexOf first, to optimize cases where even first char of value is never met * add 1-byte implementation * copyrights * fix copy-paste mistake * Initial LastIndexOf impl * More efficient LastIndexOf * fix bug in Char version (we need two clear two lowest bits in the mask) & temporarily remove AdvSimd impl * use ResetLowestSetBit * Fix bug * Add two-byte LastIndexOf * Fix build * Minor optimizations * optimize cases with two-byte/two-char values * Remove gotos, fix build * fix bug in LastIndexOf * Make sure String.LastIndexOf is optimized * Use xplat simd helpers - implicit ARM support * fix arm * Delete \ * Use Vector128.IsHardwareAccelerated * Fix build * Use IsAllZero * Address feedback * Address feedback * micro-optimization, do-while is better here since mask is guaranteed to be non-zero * Address feedabc * Use clever trick I borrowed from IndexOfAny for trailing elements * give up on +1 bump for SequenceCompare * Clean up * Clean up * fix build * Add debug asserts * Clean up: give up on the unrolled trick - too little value from code bloat * Add a test * Fix build * Add byte-specific test * Fix build * Update IndexOfSequence.byte.cs
2021-09-18- reimplementation of BrowserWebSocket (#58199)Pavel Savara
- CC0 notice for JavaScript queue - feedback
2021-09-08Update both TPN files with missing notices (#57300)Adeel Mujahid
2021-08-12Remove unnecessary Sun license (#57258)Dan Moseley
2021-06-22More Parse tests for double, single and Half (#50394)Prashanth Govindarajan
* Test ibm-fpgen locally for validation * sq
2021-06-18Implement NativeMemory (#54006)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: Jan 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: Jan 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: Jan Kotas <jkotas@microsoft.com>
2021-05-18Faster unsigned division by constants (#52893)Pent Ploompuu
* Faster unsigned division by constants * Fix Arm build and add some tests. * Improve register allocation * Fix ARM64 codegen * Fix MULHI flags * Remove ARM32 codegen * Widen 32bit UDIV to 64bit MULHI when possible. Improve register allocation. * Always widen 32bit UDIV to 64bit MUL/MULHI * Cleanup * Final optimization * Fix typo * Rebase and use inst_Mov instead of inst_RV_RV(INS_mov) * Fix formatting (1 space)
2021-05-18Revert "Faster unsigned division by constants (#49585)" (#52885)Aaron Robinson
This reverts commit e4b4807e2fae2164d9116fbcdd49ba9044461e7e.
2021-05-18Faster unsigned division by constants (#49585)Pent Ploompuu
* Faster unsigned division by constants * Fix Arm build and add some tests. * Improve register allocation * Fix ARM64 codegen * Fix MULHI flags * Remove ARM32 codegen * Widen 32bit UDIV to 64bit MULHI when possible. Improve register allocation. * Always widen 32bit UDIV to 64bit MUL/MULHI * Cleanup * Final optimization * Fix typo
2021-05-01Use non-copyleft RNG implementation (#51448)Kevin Cathcart
Using xorshiro128** because it is already used in the project, and licensed under CC0.
2021-03-01Rename mention to master branch to main (#48824)Viktor Hofer
2021-01-26Added C# implementation of System.Math.ScaleB and System.MathF.ScaleB… ↵Alex Covington
(#42476) * Added C# implementation of System.Math.ScaleB and System.MathF.ScaleB, removed old bindings, added test cases. * Moved tests into System.Runtime.Extensions tests. * Removed unmanaged scalbn and scalbnf from pal and mono * Update src/libraries/System.Private.CoreLib/src/System/Math.cs Co-authored-by: Adeel Mujahid <adeelbm@outlook.com> * Styling changes. * Conditionally include ScaleB for Mono. * Update src/mono/mono/metadata/sysmath.c Tabs, not spaces. Co-authored-by: Adeel Mujahid <adeelbm@outlook.com> * Removing more scalb from PAL * Completely removed ScaleB from Mono * Cleaning up more scalbn * Added comments for ScaleB, updated licenses for musl and Sun * Fixed whitespace. * Removing old references, fixing double ScaleB definition that merge didn't resolve Co-authored-by: Adeel Mujahid <adeelbm@outlook.com>
2021-01-23Clean up `aspnetcore` casing in ref to that repo (#47347)Doug Bunting
- address difference I introduced in dotnet/aspnetcore#29511 and more - conflict detected in dotnet/aspnetcore#29520 - also s|aspnet/aspnetcore|dotnet/aspnetcore|
2020-10-02Update THIRD-PARTY-NOTICES file (#41851)Nikola Milosavljevic
* Introduce THIRD-PARTY-NOTICES file for deployment with shared host package * Update of THIRD-PARTY-NOTICES for .NET 5.0 release * Update src/installer/pkg/THIRD-PARTY-NOTICES.TXT Co-authored-by: Adeel Mujahid <adeelbm@outlook.com> * Update libunwind name in root TPN file to prevent regression in future updates * Update libunwind license * Updates based on review comments Co-authored-by: Adeel Mujahid <adeelbm@outlook.com>
2020-07-15Vxsort (#37159)Peter Sollich
* Initial snapshort of vxsort implementation incorporating source code from Dan Shechter. * Bug fix from Dan. * Use bigger mark list for experiments. * Give up if the mark list size is bigger than a reasonable fraction of the ephemeral space. * Latest version from Dan, disable for ARM64. * Fixes for Linux compile, ended up disabling vxsort for Linux for now. * Experimenting with 32-bit sort - the variation that gathers mark list entries pertaining to the local heap by reading the mark lists from all the heaps appears to be too slow and scales very badly with increasing number of heaps. * 32-bit sort - preserve failing case. * Do the pointer compression/decompression in place, to improve performance, optionally write mark lists and associated information to binary files for further analysis. * Introduce runtime check whether CPU supports AVX2 instruction set. * Implement mark list growth. * Integrate new version including AVX512 code path. * Implement runtime test for AVX512 support. * Move the files for the vectorized sort to their own directory, add stubs to call AVX2 or AVX512 flavor of the sort. * Get rid of unneeded #include statement in two files. * Address codereview feedback to specifically say AVX512F instead of just AVX512 as there are multiple subsets. * Fix CMakeLists.tx files for non-x64 non-Windows targets, introduce separate max mark list sizes for WKS, remove dead code from grow_mark_list, add #ifdef to AVX512 detection to make the other architectures build. * Instead of modifying the tool-generated header file corinfoinstructionset.h, modify InstructionSetDesc.txt that it is generated from, and run the tools that generates all the files from it. * Move AVX2/AVX512 instruction set detection to GC side. * Use vectorized packer, switch packed range from uint32_t to int32_t, because that makes the sorting a bit more efficient. * Add GCConfig setting to turn vectorized sorting off, streamline ISA detection (but require initialization), rename to IsSupportedInstructionSet. * Several small improvements: - Don't waste time sorting the mark list if background GC is running as we are not going to use it. - Use smaller max mark list size if we cannot use AVX2/AVX512 instruction sets - Fix mark list overflow detection for server GC. * Address codereview feedback - add constants for the thresholds above which we use AVX/AVX512F instruction sets. Add space before parameter lists as per GC codebase coding conventions. Improve some comments. * Add license headers and entry in THIRD-PARTY_NOTICES.TXT for Dan's vectorized sorting code. * Update license headers * Address code review feedback: - fix typo in comment in InitSupportedInstructionSet - move test for full GC to beginning of sort_mark_list - in WKS GC, we can use the tighter range shigh - slow for the surviving objects instead of the full ephemeral range. - make the description for the new config setting GCEnabledInstructionSets more explicit by enumerating the legal values and their meanings. * Snapshot for Linux changes * Add more definitions to immintrinh.h * Fix cmake warnings about mismatched endif clauses. * Disable Linux support for now due to multiple compile & link errors. * Address code review feedback: - add instructions to bitonic_gen.py - centralize range and instruction set checks in do_vxsort - add parentheses around expressions. - removed some printfs, converted others to dprintf - strengthened assert
2020-05-26Add SIMD acceleration for Matrix4x4.Invert #34394 (#36323)Erhan Atesoglu
* Add SIMD acceleration for Matrix4x4.Invert #34394 Fix for #34394. Added SIMD hardware acceleration support to the Matrix4x4.Invert function. * Add link to source and update THIRD-PARTY-NOTICES.TXT Added the link to Microsoft/DirectXMath source code and appended license to THIRD-PARTY-NOTICES.TXT * Add test for non-invertable matrix. Given a Matrix4x4 of only rank 3 test to see the matrix is non-invertable. * Typo fixed in new test case * Fixed formating for test matrix. * Fix for missing return statement. * Add suggested fixes to Matrix4x4.Invert Update containing all suggested fixes. * Added missing using statement Added missing using statement for Internal.Runtime.CompilerServices.Unknown static object. * Use abbreviated constructor for Vector128 * Moved implementations into local functions Moved the SSE implementation and SoftwareFallback to local functions of Invert.
2020-05-15Adding the support of reusing machine-wide credentials in the case where the ↵Jose Perez Rodriguez
machine is already domain-joined to the LDAP Server. (#36405) * Adding the support of reusing machine-wide credentials in the case where the machine is already domain-joined to the LDAP Server. Co-authored-by: Alexander Chermyanin <flamencist@mail.ru> * Addressing feedback and adding ldap4net to TPN Co-authored-by: Alexander Chermyanin <flamencist@mail.ru>
2020-03-28.NET Core to .NET branding changes (#33694)Jan Kotas
Contributes to #33680
2020-03-15Update .NET 5 Unicode data to version 13.0.0 (#33538)Levi Broderick
2019-11-15Add recently added entries for THIRD-PARTY-NOTICES (#54)Jan Kotas
- https://github.com/dotnet/coreclr/pull/27215 - https://github.com/dotnet/coreclr/pull/27299
2019-11-14Initial runtime repository structuredotnet-bot