Age | Commit message (Collapse) | Author |
|
* Exposing IRootFunctions.Hypot and IRootFunctions.Root
* Adding tests for IRootFunctions.Hypot and IRootFunctions.Root
|
|
* 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.
|
|
* 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
|
|
* Revert "Revert "[QUIC] Adopted msquic generated interop (#68288)" (#68940)"
This reverts commit 4820674a4471872d742c380f38e766b80dc79385.
* Exclude S.N.Quic from Mono AOT
* Fix #68954
|
|
This reverts commit 992b395a72d161bb2346258a726fb93b10f0d7e7.
|
|
* 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
|
|
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
|
|
|
|
* 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>
|
|
* 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
|
|
- CC0 notice for JavaScript queue
- feedback
|
|
|
|
|
|
* Test ibm-fpgen locally for validation
* sq
|
|
* 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>
|
|
* 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)
|
|
This reverts commit e4b4807e2fae2164d9116fbcdd49ba9044461e7e.
|
|
* 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
|
|
Using xorshiro128** because it is already used in the project, and licensed under CC0.
|
|
|
|
(#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>
|
|
- address difference I introduced in dotnet/aspnetcore#29511 and more
- conflict detected in dotnet/aspnetcore#29520
- also s|aspnet/aspnetcore|dotnet/aspnetcore|
|
|
* 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>
|
|
* 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
|
|
* 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.
|
|
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>
|
|
Contributes to #33680
|
|
|
|
- https://github.com/dotnet/coreclr/pull/27215
- https://github.com/dotnet/coreclr/pull/27299
|
|
|