You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/native/minipal/cpufeatures.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
// Should match the constants defined in the compiler in HardwareIntrinsicHelpers.cs
9
9
//
10
10
11
-
#if defined(TARGET_X86) || defined(TARGET_AMD64)
11
+
#if defined(HOST_X86) || defined(HOST_AMD64)
12
12
enumXArchIntrinsicConstants
13
13
{
14
14
XArchIntrinsicConstants_Aes=0x0001,
@@ -41,9 +41,9 @@ enum XArchIntrinsicConstants
41
41
XArchIntrinsicConstants_VectorT256=0x8000000,
42
42
XArchIntrinsicConstants_VectorT512=0x10000000,
43
43
};
44
-
#endif// TARGET_X86 || TARGET_AMD64
44
+
#endif// HOST_X86 || HOST_AMD64
45
45
46
-
#if defined(TARGET_ARM64)
46
+
#if defined(HOST_ARM64)
47
47
enumARM64IntrinsicConstants
48
48
{
49
49
ARM64IntrinsicConstants_AdvSimd=0x0001,
@@ -65,7 +65,7 @@ enum ARM64IntrinsicConstants
65
65
#defineARM64_ATOMICS_FEATURE_FLAG_BIT 7
66
66
static_assert((1 << ARM64_ATOMICS_FEATURE_FLAG_BIT) ==ARM64IntrinsicConstants_Atomics, "ARM64_ATOMICS_FEATURE_FLAG_BIT must match with ARM64IntrinsicConstants_Atomics");
0 commit comments