From: TeLeMan <geleman@gmail.com>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel <qemu-devel@nongnu.org>,
Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] tcg: improve MAX_CODE_GEN_BUFFER_SIZE for arm
Date: Tue, 8 Dec 2015 10:43:35 +0800 [thread overview]
Message-ID: <CAETRQWmk7PtHdmA2i9fK42FYe0LW-+XfHmgOm0vvQcVkCZP1aQ@mail.gmail.com> (raw)
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
next reply other threads:[~2015-12-08 2:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 2:43 TeLeMan [this message]
2015-12-08 10:39 ` [Qemu-devel] tcg: improve MAX_CODE_GEN_BUFFER_SIZE for arm Aurelien Jarno
2015-12-08 10:51 ` Laurent Desnogues
2015-12-08 11:21 ` Aurelien Jarno
2015-12-09 1:14 ` TeLeMan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAETRQWmk7PtHdmA2i9fK42FYe0LW-+XfHmgOm0vvQcVkCZP1aQ@mail.gmail.com \
--to=geleman@gmail.com \
--cc=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).