Commit Graph
131786 Commits
Author SHA1 Message Date
Michal Strehovský 3a71efaf36 Delete Windows ARM32 support (#97686)
Continuation of #86065.
2024-01-30 10:23:56 +01:00
Michal Strehovský d47f040521 Delete gcdump.cpp and related headers (#97684)
Last time we built these files was in .NET Native. There is similar functionality in CoreCLR VM if needed in the future.
2024-01-30 10:23:36 +01:00
Andy Ayers 79cd2ae909 JIT: don't ask for all write barrer helpers for AOT (#97677)
Fixes an issue introduced by #97535. AOT hosts don't support all the
possible write barriers and blow things up if the JIT asks for ones
they don't support.

Also add back the initial semicolon to the metrics line
2024-01-30 10:21:17 +01:00
Ilona Tomkowicz 7caed53f1b [browser][MT] Enable DerivedCancellationTokenSource, AbandonExisting (#97545)
* Try repro on CI.

* enabling - passes
2024-01-30 09:55:41 +01:00
Dong-Heon Jung fe51bd72fb [RISC-V] Fix errors in crosgen2 for risc-v (#97368)
* [RISC-V] Fix crossgen2

* [RISC-V] Fix typo in codegen

* [RISC-V] Update assert to support all rel insts

* [RISC-V] Fix helper function call

* [RISC-V] Update GetRISCV64PassStructInRegisterFlags

* [RISC-V] Fix int arg reg passing for float type

A failure during crossgen2 SPC.dll
`System.Diagnostics.Tracing.NativeRuntimeEventSource:LogThreadPoolWorkerThreadAdjustmentStats(double,double,double,double,double,double,double,double,double,ushort,ushort)`

* [RISC-V] Update EPILOG_WITH_TRANSITION_BLOCK_RETURN

* [RISC-V] Update indentation in dump

* [RISC-V] Fix stubs

* [RISC-V] Fix virtualcallstubcpu

* [RISC-V] Update a comment

* [RISC-V] Update RO data block

* [RISC-V] Fix data overwrites

* [RISC-V] Fix typo

* [RISC-V] Fix register number of A3

* [RISC-V] Code Formatting

* [RISC-V] Fix format and typos

* Revert "[RISC-V] Fix int arg reg passing for float type"

This reverts commit 381858cb2335782d66e8a6439db9c6f053adff21.

* [RISC-V] Fix a typo in a comment

* [RISC-V] Fix error when arg type and arg reg mismatch

* [RISC-V] Rename according to review

* [LoongArch64] Remove LA64 specific handling for unspilling
2024-01-30 07:22:39 +01:00
Filip Navara 5e80e3e5a2 [NativeAOT] ARM: Implement the EABI (#97604)
* ObjWriter/ARM: Emit EABI attributes section

* Initial implementation of ARM EHABI

* Add VPOP unwinding and optimized POP codes

* Handle edge cases, add comments

* Claim conformance with the Version5 EABI

* Use array pool instead of direct allocation

* Remove unused code

* ARM: Produce unwind sections for each code section
2024-01-29 20:46:29 -08:00
Jeremy Koritzinsky a258bb9101 Enable Windows runs of AddressSanitizer (#95758) 2024-01-29 20:32:30 -08:00
Stephen Toub 027e2a8591 Fix stability of OrderByDescending.Last (#97672) 2024-01-29 20:45:15 -05:00
Stephen Toub 247e826998 Vectorize TensorPrimitives shift and rotate operators (#97361)
* Vectorize TensorPrimitives shift and rotate operators

This adds a new IStatefulUnaryOperator interface, which differs from IUnaryOperator simply in that its Invoke members are instance rather than static. It then copies the existing InvokeSpanIntoSpan into a new helper that's then tweaked to accept an instance of an IStatefulUnaryOperator, calling its instance members instead of its static.

That helper is then used to implement new ShiftLeftOperator, ShiftRightLogicalOperator, ShiftRightArithmeticOperator, RotateLeftOperator, and RotateRightOperator, which utilize methods on VectorXx to accelerate their implementation.

It also adds ScaleBOperator, RootNOperator, and RoundOperator implementations used with the same helper, but these currently only have scalar implementations.

* Address PR feedback

* Address PR feedback

* Add more special value tests

* Address PR feedback
2024-01-29 20:44:29 -05:00
Jeremy Koritzinsky 80e51255be Clarify comments around VT_INT and VT_UINT (#97671) 2024-01-29 15:55:39 -08:00
Aaron Robinson f225a4775f Add diagnostics to CODEOWNERS for libunwind (#97673)
Add notification for diag team about changes to the libunwind dependency.
2024-01-29 15:24:39 -08:00
Elinor Fung 2d49c2f6f1 Switch WindowsSpecificBehavior host tests to pre-built assets (#97586)
- Combine TestWindowsOsShimsApp and PortableAppWithLongPaths into one WindowsSpecific app
- Make WindowsSpecificBehavior test use pre-built asset
2024-01-29 14:27:53 -08:00
Michal Strehovský ac411ed8f5 Split FeatureSwitchManager (#97626)
I had this refactor in a branch I ended up not using. The refactor itself is a good change.

`FeatureSwitchManager` does two things:

* Read and parse ILLink substitutions on a per-assembly basis as needed
* Actually substitute the IL

The responsibilities are pretty cleanly separated, so put these in different classes and files. It's possible we'll eventually get rid of the one that substitutes IL if/when RyuJIT becomes the scanner.
2024-01-29 23:09:56 +01:00
Kevin Jones 92999f4a47 Replace SPKI hashing with a managed implementation 2024-01-29 16:10:26 -05:00
hrrrrusticandStephen Toub 8b082e10aa StreamOnSqlBytes Read/Write on Spans (#86674)
* Implement span overloads

* Add StreamOnBytes tests

* small tests update

* Reroute single byte read/write to span version

* Remove _rgbWorkBuf

* Add WriteInternal

* Internal -> NoValidation

* Swap arguments

* Swap methods

* One more method swap

---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
2024-01-29 14:07:44 -05:00
Zoltan Varga 027a43b92b [mono][jit] Reenable branch optimizations when running with llvm. (#97189)
* [mono][jit] Reenable branch optimizations when running with llvm.

* [mono][llvm] Fix the return type of OP_SSE2_PACKUS.

This is supposed to return a 16xi8 so there is no need to cast it.
This only worked by accident because the phi handling code casted it
to the right type most of the time.

* Disable moving out of line bblocks to the end of code when using llvm.

* Fix a crash in OP_SETRET.
2024-01-29 13:34:49 -05:00
Tom 69f4f85540 Enhance OSX's ProcessManager to extract process names from their paths (#96287)
* Obtain ProcessName from proc_pidpath on OSX

* Improve ProcessName retrieval without elevation on OSX

* Use the ProcessName from pbi_comm if proc_pidpath fails on OSX
2024-01-29 12:30:33 -06:00
joegoldman2 5acfe60b87 Add missing space in PeriodicTimer.cs (#97658) 2024-01-29 13:27:09 -05:00
Egor Bogatov 9025846174 Call String.Contains(char) from String.Contains(string) for single-char literals (#97632) 2024-01-29 18:25:32 +01:00
Filip Navara 3eabd9a59a [NativeAOT] Remove dead ASM code (#97636)
* [NativeAOT] Remove dead ASM code

* [NativeAOT] Remove more dead ASM code
2024-01-29 09:14:48 -08:00
Egor Bogatov 34bf05ff02 Late cast expansion: more improvements #2 (#97480) 2024-01-29 17:47:18 +01:00
kzrnm 9bbfa9a4f9 Optimize BigInteger.CompareTo() (#96835)
* Improve BigInteger.CompareTo()

* Add test cases

* Safe

* Remove unused usings

* Update assertion
2024-01-29 08:38:41 -08:00
kzrnm 678ae31d0e Optimize threshold of BigInteger.Parse (#97101)
* Update threshold of BigInteger.Parse

* Set threshold to 1233

* Add comment
2024-01-29 08:35:01 -08:00
Ken Dale 0fce8320ee Update "type-" to "type-safe" (#97107) 2024-01-29 08:32:34 -08:00
dotnet-maestro[bot]anddotnet-maestro[bot] e3f0898588 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240125.1 (#97642)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24072.5 -> To Version 9.0.0-alpha.1.24075.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-01-29 10:20:49 -06:00