dotnet/runtime

Updating the RMW flags for HWIntrinsic nodes

已關閉

#9,907 建立於 2018年3月9日

 (3 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-CodeGen-coreclrenhancementhelp wanted

倉庫指標

星標
 (17,886 顆星)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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

貢獻者指南