summaryrefslogtreecommitdiff
path: root/src/jit/target.h
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2018-03-27 14:12:56 -0700
committerEgor Chesakov <Egor.Chesakov@microsoft.com>2018-03-28 10:33:33 -0700
commit4585d5ab0cb0cda434be6cfcb89bd1252d2703b3 (patch)
treea6ecc3bb1ffd54b0d3b109ea0933ae51bb4c0b86 /src/jit/target.h
parentdb3bb4314c95d4c18f234267c113d461aaa88f70 (diff)
downloadcoreclr-4585d5ab0cb0cda434be6cfcb89bd1252d2703b3.tar.gz
coreclr-4585d5ab0cb0cda434be6cfcb89bd1252d2703b3.tar.bz2
coreclr-4585d5ab0cb0cda434be6cfcb89bd1252d2703b3.zip
Add crossbitness support to ClrJit:
* Add FEATURE_CROSSBITNESS in crosscomponents.cmake * Exclude mscordaccore mscordbi sos from CLR_CROSS_COMPONENTS_LIST when FEATURE_CROSSBITNESS is defined in crosscomponents.cmake * Introduce target_size_t in src/jit/target.h * Use size_t value in genMov32RelocatableImmediate in src/jit/codegen.h src/jit/codegencommon.cpp * Fix definition/declaration inconsistency for emitter::emitIns_R_I in emitarm.cpp * Zero HiVal when GetTree::SetOper GenTreeLngCon->GetTreeIntCon in src/jit/compiler.hpp * Explicity specify roundUp(expr, TARGET_POINTER_SIZE) * Use target_size_t* target in emitOutputDataSec in src/jit/emit.cpp
Diffstat (limited to 'src/jit/target.h')
-rw-r--r--src/jit/target.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jit/target.h b/src/jit/target.h
index 453f8f9e6c..397ecbdb00 100644
--- a/src/jit/target.h
+++ b/src/jit/target.h
@@ -2394,6 +2394,14 @@ C_ASSERT((RBM_INT_CALLEE_SAVED & RBM_FPBASE) == RBM_NONE);
#endif
/*****************************************************************************/
+#ifdef _TARGET_64BIT_
+typedef unsigned __int64 target_size_t;
+#else
+typedef unsigned int target_size_t;
+#endif
+
+C_ASSERT(sizeof(target_size_t) == TARGET_POINTER_SIZE);
+
/*****************************************************************************/
#endif // _TARGET_H_
/*****************************************************************************/