Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruihan-Yin committed Aug 28, 2024
1 parent b998cdf commit 3446e28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class AsmOffsets

#if TARGET_AMD64
#if TARGET_UNIX
public const int SIZEOF__PAL_LIMITED_CONTEXT = 0xc20;
public const int SIZEOF__PAL_LIMITED_CONTEXT = 0xca0;
#else // TARGET_UNIX
public const int SIZEOF__PAL_LIMITED_CONTEXT = 0x4d0;
#endif // TARGET_UNIX
Expand Down
2 changes: 1 addition & 1 deletion src/native/minipal/cpufeatures.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ int minipal_getcpufeatures(void)

if (IsApxEnabled() && apxStateSupport())
{
if ((cpuidInfo[CPUID_EDX] & (1 << 19)) != 0) // Apx
if ((cpuidInfo[CPUID_EDX] & (1 << 21)) != 0) // Apx
{
result |= XArchIntrinsicConstants_Apx;
}
Expand Down

0 comments on commit 3446e28

Please sign in to comment.