Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Draft] AccelerateHalf with FP16 ISA#122649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
anthonycanino wants to merge15 commits intodotnet:main
base:main
Choose a base branch
Loading
fromanthonycanino:half-xmm-struct-abi

Conversation

@anthonycanino
Copy link
Contributor

Draft PR for in-progress work to accelerateSystem.Half with FP16 ISA.

Current work done:

  1. Add aTYP_HALF to the .NET runtime, which is treated like aTYP_SIMDXX, but with some notable differences. Namely, aTYP_HALF is passed around via the xmm registers, and while it will pass avarTypeIsStruct test, it must be treated as a primitive in other places.

  2. AccelerateSystem.Half operations with theTYP_HALF and some FP16 intrinsics. Not every possible function has been accelerated yet.

For discussion:

  1. I have currently worked around some checks to makeTYP_HALF behave like a struct and a primitive. It's very ad-hoc at the moment.

  2. Much of the work to transform the namedSystem.Half intrinsics into a sequence of intrinsic nodes is done inimportcall.cpp and might want to be moved up into some of thegtNewSimdXX nodes.

@github-actionsgithub-actionsbot added the area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labelDec 18, 2025
@anthonycanino
Copy link
ContributorAuthor

@tannergooding@jakobbotsch please take a look when you get a chance.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIcommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@anthonycanino

[8]ページ先頭

©2009-2025 Movatter.jp