File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1518,11 +1518,13 @@ void EEJitManager::SetCpuInfo()
15181518
15191519    uint32_t  preferredVectorBitWidth = (CLRConfig::GetConfigValue (CLRConfig::EXTERNAL_PreferredVectorBitWidth) / 128 ) * 128 ;
15201520
1521+ #ifdef  FEATURE_INTERPRETER
15211522    if  (CLRConfig::GetConfigValue (CLRConfig::EXTERNAL_InterpMode) >= 2 )
15221523    {
15231524        //  Disable larger Vector<T> sizes when interpreter is enabled, and not compiling S.P.Corelib
15241525        preferredVectorBitWidth = 128 ;
15251526    }
1527+ #endif 
15261528
15271529    if  ((preferredVectorBitWidth == 0 ) && throttleVector512)
15281530    {
Original file line number Diff line number Diff line change @@ -454,6 +454,7 @@ HRESULT EEConfig::sync()
454454
455455    pReadyToRunExcludeList = NULL ;
456456
457+ #ifdef  FEATURE_INTERPRETER
457458#ifdef  FEATURE_JIT
458459    LPWSTR interpreterConfig;
459460    IfFailThrow (CLRConfig::GetConfigValue (CLRConfig::EXTERNAL_Interpreter, &interpreterConfig));
@@ -470,14 +471,17 @@ HRESULT EEConfig::sync()
470471    }
471472#else 
472473    enableInterpreter = true ;
473- #endif 
474+ #endif  //  FEATURE_JIT
475+ #endif  //  FEATURE_INTERPRETER
474476
475477    enableHWIntrinsic = CLRConfig::GetConfigValue (CLRConfig::EXTERNAL_EnableHWIntrinsic);
478+ #ifdef  FEATURE_INTERPRETER
476479    if  (CLRConfig::GetConfigValue (CLRConfig::EXTERNAL_InterpMode) >= 3 )
477480    {
478481        //  R2R mode 3 disables all hw intrinsics
479482        enableHWIntrinsic = 0 ;
480483    }
484+ #endif  //  FEATURE_INTERPRETER
481485
482486#if  defined(FEATURE_READYTORUN)
483487    fReadyToRun  = CLRConfig::GetConfigValue (CLRConfig::EXTERNAL_ReadyToRun);
Original file line number Diff line number Diff line change @@ -441,7 +441,9 @@ class EEConfig
441441
442442    bool     RuntimeAsync ()                 const  { LIMITED_METHOD_CONTRACT; return  runtimeAsync; }
443443
444+ #ifdef  FEATURE_INTERPRETER
444445    bool     EnableInterpreter ()            const  { LIMITED_METHOD_CONTRACT; return  enableInterpreter; }
446+ #endif 
445447    bool     EnableHWIntrinsic ()            const  { LIMITED_METHOD_CONTRACT; return  enableHWIntrinsic; }
446448
447449private:  // ----------------------------------------------------------------
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments