dotnet/runtime

Updating the RMW flags for HWIntrinsic nodes

Open

#9,907 opened on Mar 9, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-CodeGen-coreclrenhancementhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

At present, RMW semantics is tracked via a combination of the compiler support for VEX-encoded instructions and the NoRMWSemantics flag.

We should update this to instead be a combination of flags: RMWSemanticsSseOnly and RMWSemanticsAlways (or similar).

This will allow all scenarios to be table driven and for the check to be a positive case, rather than a negative case (which can sometimes lead to confusion).

category:implementation theme:hardware-intrinsics skill-level:intermediate cost:small

Contributor guide