diff options
author | Fei Peng <fei.peng@intel.com> | 2018-12-06 17:42:17 -0800 |
---|---|---|
committer | Fei Peng <fei.peng@intel.com> | 2018-12-06 17:42:17 -0800 |
commit | 4c9b4f0537bfeb97c3f749bc0bd5c4560f090e9c (patch) | |
tree | 4d8f921b109d93a104b19e391357d52b1dc3bea2 | |
parent | e8d67d23b2edcb2200f2601ac74c421d98b6c97f (diff) | |
download | coreclr-4c9b4f0537bfeb97c3f749bc0bd5c4560f090e9c.tar.gz coreclr-4c9b4f0537bfeb97c3f749bc0bd5c4560f090e9c.tar.bz2 coreclr-4c9b4f0537bfeb97c3f749bc0bd5c4560f090e9c.zip |
Fix a bug that disabled Bmi1/2.X64
-rw-r--r-- | src/jit/compiler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jit/compiler.cpp b/src/jit/compiler.cpp index 86a85cec52..1e22c929d3 100644 --- a/src/jit/compiler.cpp +++ b/src/jit/compiler.cpp @@ -2567,6 +2567,9 @@ void Compiler::compSetProcessor() if (configEnableISA(InstructionSet_BMI1)) { opts.setSupportedISA(InstructionSet_BMI1); +#ifdef _TARGET_AMD64_ + opts.setSupportedISA(InstructionSet_BMI1_X64); +#endif } } if (jitFlags.IsSet(JitFlags::JIT_FLAG_USE_BMI2)) @@ -2574,6 +2577,9 @@ void Compiler::compSetProcessor() if (configEnableISA(InstructionSet_BMI2)) { opts.setSupportedISA(InstructionSet_BMI2); +#ifdef _TARGET_AMD64_ + opts.setSupportedISA(InstructionSet_BMI2_X64); +#endif } } } |