We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2128e01 commit 9da2fecCopy full SHA for 9da2fec
qemu/include/tcg/tcg.h
@@ -276,7 +276,14 @@ typedef struct TCGPool {
276
277
#define TCG_POOL_CHUNK_SIZE 32768
278
279
+#if HOST_LONG_BITS == 32
280
+// Unicorn: On 32 bits targets, our instrumentation uses extra temps and
281
+// thus could exhaust the max temps and cause segment fault.
282
+// Double the limit on 32 bits targets to avoid this.
283
+#define TCG_MAX_TEMPS 1024
284
+#else
285
#define TCG_MAX_TEMPS 512
286
+#endif
287
#define TCG_MAX_INSNS 512
288
289
/* when the size of the arguments of a called function is smaller than
0 commit comments