Skip to content

Commit

Permalink
[jit] Add an #ifdef around MONO_CPU_WASM_SIMD. (dotnet#32014)
Browse files Browse the repository at this point in the history
Co-authored-by: Zoltan Varga <[email protected]>
  • Loading branch information
monojenkins and vargaz authored Feb 12, 2020
1 parent bc384e2 commit 451f57b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mono/mono/mini/mini.h
Original file line number Diff line number Diff line change
Expand Up @@ -2856,7 +2856,9 @@ typedef enum {
MONO_CPU_X86_FMA_COMBINED = MONO_CPU_X86_AVX_COMBINED | MONO_CPU_X86_POPCNT | MONO_CPU_X86_FMA,
MONO_CPU_X86_FULL_SSEAVX_COMBINED = MONO_CPU_X86_FMA_COMBINED | MONO_CPU_X86_AVX2,
#endif
#ifdef TARGET_WASM
MONO_CPU_WASM_SIMD = 1 << 1,
#endif
} MonoCPUFeatures;

G_ENUM_FUNCTIONS (MonoCPUFeatures)
Expand Down

0 comments on commit 451f57b

Please sign in to comment.