summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFei Peng <fei.peng@intel.com>2018-01-19 22:08:03 -0800
committerFei Peng <fei.peng@intel.com>2018-01-19 22:08:03 -0800
commit5c94055501c7dbe98fbc9b05304c7f5f13a7d8fe (patch)
tree83f7009d0af59c0cb552a8a8132bd25edd9cd4af
parenta4af006ff55af59ac5d28f0b4faffdc1806dc89a (diff)
downloadcoreclr-5c94055501c7dbe98fbc9b05304c7f5f13a7d8fe.tar.gz
coreclr-5c94055501c7dbe98fbc9b05304c7f5f13a7d8fe.tar.bz2
coreclr-5c94055501c7dbe98fbc9b05304c7f5f13a7d8fe.zip
#if defined(_TARGET_XARCH_) || defined(_TARGET_ARM64_)
-rw-r--r--src/jit/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/compiler.h b/src/jit/compiler.h
index 9cc119a0fd..dd112315f9 100644
--- a/src/jit/compiler.h
+++ b/src/jit/compiler.h
@@ -7979,7 +7979,7 @@ private:
bool compSupports(InstructionSet isa) const
{
-#if defined(_TARGET_XARCH_) | defined(_TARGET_ARM64_)
+#if defined(_TARGET_XARCH_) || defined(_TARGET_ARM64_)
return (opts.compSupportsISA & (1ULL << isa)) != 0;
#else
return false;
@@ -8105,7 +8105,7 @@ public:
bool compCanUseSSE4; // Allow CodeGen to use SSE3, SSSE3, SSE4.1 and SSE4.2 instructions
#endif // _TARGET_XARCH_
-#if defined(_TARGET_XARCH_) | defined(_TARGET_ARM64_)
+#if defined(_TARGET_XARCH_) || defined(_TARGET_ARM64_)
uint64_t compSupportsISA;
void setSupportedISA(InstructionSet isa)
{