summaryrefslogtreecommitdiff
path: root/src/jit/emit.h
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2018-04-30 16:03:11 -0700
committerBrian Sullivan <briansul@microsoft.com>2018-04-30 16:03:11 -0700
commit94aee98c2acf2a59f52684f7062172d21e0c582c (patch)
treeca57ce7291bf5a79f32ebb106f2a908256b76355 /src/jit/emit.h
parent829ca543d5c42e6e4782498f5971ea3325e25c32 (diff)
downloadcoreclr-94aee98c2acf2a59f52684f7062172d21e0c582c.tar.gz
coreclr-94aee98c2acf2a59f52684f7062172d21e0c582c.tar.bz2
coreclr-94aee98c2acf2a59f52684f7062172d21e0c582c.zip
ARM64 like ARM32 also needs a much larger instruction group size
because the prolog can be quite large.
Diffstat (limited to 'src/jit/emit.h')
-rw-r--r--src/jit/emit.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jit/emit.h b/src/jit/emit.h
index 0d27948359..337ab1b665 100644
--- a/src/jit/emit.h
+++ b/src/jit/emit.h
@@ -1741,18 +1741,18 @@ private:
/* The logic that creates and keeps track of instruction groups */
/************************************************************************/
-#ifdef _TARGET_ARM_
+#ifdef _TARGET_ARMARCH_
// The only place where this limited instruction group size is a problem is
// in the prolog, where we only support a single instruction group. We should really fix that.
-// ARM can require a bigger prolog instruction group. One scenario is where a
-// function uses all the incoming integer and single-precision floating-point arguments,
+// ARM32 and ARM64 both can require a bigger prolog instruction group. One scenario is where
+// a function uses all the incoming integer and single-precision floating-point arguments,
// and must store them all to the frame on entry. If the frame is very large, we generate
// ugly code like "movw r10, 0x488; add r10, sp; vstr s0, [r10]" for each store, which
// eats up our insGroup buffer.
#define SC_IG_BUFFER_SIZE (100 * sizeof(instrDesc) + 14 * TINY_IDSC_SIZE)
-#else // !_TARGET_ARM_
+#else // !_TARGET_ARMARCH_
#define SC_IG_BUFFER_SIZE (50 * sizeof(instrDesc) + 14 * TINY_IDSC_SIZE)
-#endif // !_TARGET_ARM_
+#endif // !_TARGET_ARMARCH_
size_t emitIGbuffSize;