Skip to content

Conversation

akoeplinger
Copy link
Member

Reverts #113286

It caused an issue on win-x86, see #113286 (comment)

@Copilot Copilot AI review requested due to automatic review settings April 6, 2025 10:09
@ghost ghost added the area-VM-coreclr label Apr 6, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 17 out of 21 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • src/coreclr/classlibnative/float/CMakeLists.txt: Language not supported
  • src/coreclr/nativeaot/System.Private.CoreLib/src/System.Private.CoreLib.csproj: Language not supported
  • src/coreclr/vm/i386/asmhelpers.asm: Language not supported
  • src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems: Language not supported

Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@akoeplinger
Copy link
Member Author

/ba-g wasm failures are unrelated

@akoeplinger akoeplinger merged commit 367e0a8 into main Apr 6, 2025
155 of 159 checks passed
@akoeplinger akoeplinger deleted the revert-113286-alternate_approach_to_removingHMF_for_arithmetic branch April 6, 2025 12:43
davidwrighton added a commit to davidwrighton/runtime that referenced this pull request Apr 7, 2025
davidwrighton added a commit that referenced this pull request Apr 9, 2025
…ide (take2) (#114352)

This is a combination of @am11's work in PR #109087 and some work to just rewrite the Windows X86 helpers in assembly.

For non 64-bit platforms, remove the helpers
For Unix platforms, rely on an implementation which uses an FCall to native code to invoke the various operations.
For Windows X86 on CoreCLR, rewrite the helpers in assembly with a tail-call approach for throwing.
Also it was noted that the existing helpers do a fair bit of unnecessary stack manipulation, and the manual rewrite avoids all of that. Maybe this will actually be faster. (Turns out it is about the same on performance. The real win would come from re-ordering the argument order, but that's a much more invasive change in the JIT, which I judge to be too risky)

Revert #114308  and fix the X86 NativeAOT build
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants