qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] tcg: improve MAX_CODE_GEN_BUFFER_SIZE for arm
@ 2015-12-08  2:43 TeLeMan
  2015-12-08 10:39 ` Aurelien Jarno
  0 siblings, 1 reply; 5+ messages in thread
From: TeLeMan @ 2015-12-08  2:43 UTC (permalink / raw)
  To: Richard Henderson; +Cc: qemu-devel, Aurelien Jarno

I know MAX_CODE_GEN_BUFFER_SIZE is limited by the host direct branch
instructions.But the arm's MAX_CODE_GEN_BUFFER_SIZE is so small.I
tried improving MAX_CODE_GEN_BUFFER_SIZE.I wrote some check codes for
the overflow offset in tcg_out_b(), tcg_out_bl(),
tcg_out_blx_imm(),reloc_pc24(). But I didn't catch any overflow case
when tb_size and MAX_CODE_GEN_BUFFER_SIZE were larger than 32MB. After
the generated code size was larger than 32MB, qemu crashed.

Any suggest for this issue?

--
SUN OF A BEACH

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-09  1:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-08  2:43 [Qemu-devel] tcg: improve MAX_CODE_GEN_BUFFER_SIZE for arm TeLeMan
2015-12-08 10:39 ` Aurelien Jarno
2015-12-08 10:51   ` Laurent Desnogues
2015-12-08 11:21     ` Aurelien Jarno
2015-12-09  1:14       ` TeLeMan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).