Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching CompareExchange and similar intrinsics to have self-referring implementations. #86915

Open
VSadov opened this issue May 30, 2023 · 4 comments
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@VSadov
Copy link
Member

VSadov commented May 30, 2023

For more info see: #86842 (comment)

Note: when intrinsic is not implemented on all platforms, it would need #ifdef`d native implementation. Ideally there will be very few of those.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 30, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 30, 2023
@MichalPetryka
Copy link
Contributor

IIRC this will be problematic on RISC-V since it lacks simple instructions for most atomics even with the extension.

@ghost
Copy link

ghost commented Jun 1, 2023

Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics
See info in area-owners.md if you want to be subscribed.

Issue Details

For more info see: #86842 (comment)

Note: when intrinsic is not implemented on all platforms, it would need #ifdef`d native implementation. Ideally there will be very few of those.

Author: VSadov
Assignees: -
Labels:

area-System.Runtime.Intrinsics, untriaged, needs-area-label

Milestone: -

@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 3, 2023
@tannergooding tannergooding added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-System.Runtime.Intrinsics labels Jul 21, 2023
@ghost
Copy link

ghost commented Jul 21, 2023

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

Issue Details

For more info see: #86842 (comment)

Note: when intrinsic is not implemented on all platforms, it would need #ifdef`d native implementation. Ideally there will be very few of those.

Author: VSadov
Assignees: -
Labels:

area-CodeGen-coreclr, untriaged

Milestone: -

@tannergooding
Copy link
Member

Moving to codegen-coreclr. This would require JIT work to happen and simplifying the managed API can be trivially done if/when that happens.

@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone Jul 21, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 21, 2023
@JulieLeeMSFT JulieLeeMSFT modified the milestones: 9.0.0, Future May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

No branches or pull requests

7 participants