summaryrefslogtreecommitdiff
path: root/src/jit/utils.cpp
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2016-05-17 16:48:15 -0700
committerCarol Eidt <carol.eidt@microsoft.com>2016-05-27 10:44:16 -0700
commit41057591615c9ed32567de5936bf72de29c5118c (patch)
treebe8e812468988813ff88ac9160793b42ccf9adb4 /src/jit/utils.cpp
parentb671a720e48e5a1e5c5fe839bb6d959460f6c82e (diff)
downloadcoreclr-41057591615c9ed32567de5936bf72de29c5118c.tar.gz
coreclr-41057591615c9ed32567de5936bf72de29c5118c.tar.bz2
coreclr-41057591615c9ed32567de5936bf72de29c5118c.zip
Use JitFuncInfoLogFile to check if SIMD intrinsics are recognized.
Although COMPlus_JitFuncInfoLogFile was enabled as a "RETAIL" variable, it was only opening the file (and not writing to it) in non-DEBUG. In order to use it, we need to also enable eeGetMethodFullName in release, which in turn requires type names. Also, _wfsopen() is not supported in the PAL layer. However, it appears to work fine without the sharing option, on both Windows and Linux. Add a utility class to use the log file to check whether a method has been compiled. Use it to test that the SIMD intrinsics are not compiled when they are enabled. Add dir.props to the SIMD test directory to set the COMPlus_JitFuncInfoLogFile environment variable, and to delete the log file before each test. Fix #2554
Diffstat (limited to 'src/jit/utils.cpp')
-rw-r--r--src/jit/utils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jit/utils.cpp b/src/jit/utils.cpp
index cf7d4c61f8..37164c9913 100644
--- a/src/jit/utils.cpp
+++ b/src/jit/utils.cpp
@@ -99,7 +99,6 @@ const BYTE opcodeArgKinds[] =
};
#endif
-#if defined(DEBUG) || defined(FEATURE_JIT_METHOD_PERF)
/*****************************************************************************/
const char * varTypeName(var_types vt)
@@ -116,7 +115,6 @@ const char * varTypeName(var_types vt)
return varTypeNames[vt];
}
-#endif // DEBUG || FEATURE_JIT_METHOD_PERF
#if defined(DEBUG) || defined(LATE_DISASM)
/*****************************************************************************