dotnet/runtime

Updating the RMW flags for HWIntrinsic nodes

Open

#9907 aperta il 9 mar 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-CodeGen-coreclrenhancementhelp wanted

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

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

Guida contributor