Skip to content

Commit

Permalink
Add back SIMD intrinsics support for X86Base.Pause
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang-mono committed Aug 8, 2022
1 parent 14bebaf commit 6a547af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mono/mono/mini/simd-intrinsics.c
Original file line number Diff line number Diff line change
Expand Up @@ -3296,6 +3296,7 @@ static SimdIntrinsic bmi2_methods [] = {
static SimdIntrinsic x86base_methods [] = {
{SN_BitScanForward},
{SN_BitScanReverse},
{SN_Pause, OP_XOP, INTRINS_SSE_PAUSE},
{SN_get_IsSupported}
};

Expand Down
1 change: 1 addition & 0 deletions src/mono/mono/mini/simd-methods.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ METHOD(ComputeCrc32C)
// X86Base
METHOD(BitScanForward)
METHOD(BitScanReverse)
METHOD(Pause)
// Crypto
METHOD(FixedRotate)
METHOD(HashUpdateChoose)
Expand Down

0 comments on commit 6a547af

Please sign in to comment.