From: Coekjan Yip <ycoekjan@gmail.com>
To: qemu-devel@nongnu.org
Subject: Inquiry About PC-Relative Code Generation in QEMU
Date: Sat, 2 Nov 2024 20:05:06 +0800 [thread overview]
Message-ID: <CA+Oymobc=DOOuy431LJHTq4sOPiLRjpxyTzFp-zRE+NXOCim2g@mail.gmail.com> (raw)
Dear QEMU Community,
I hope this message finds you well.
I recently started studying the QEMU TCG code, and I have noticed that QEMU
seems to support generating PC-Relative Code (`CF_PCREL`), but this feature
seems currently enabled only for System Emulation in version 9.1.0, while it
is not available for User Emulation. Could you please clarify if there are
specific functionality or performance considerations behind this decision?
Additionally, if this feature were to be enabled for User Emulation, could we
consider the code generated by QEMU as Position-Independent Code (PIC)?
Thank you for your assistance.
Best regards,
Yip Coekjan
next reply other threads:[~2024-11-02 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 12:05 Coekjan Yip [this message]
2024-11-04 12:51 ` Inquiry About PC-Relative Code Generation in QEMU Richard Henderson
2024-11-05 7:57 ` Yip Coekjan
-- strict thread matches above, loose matches on Subject: below --
2024-11-02 11:54 Yip Coekjan
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='CA+Oymobc=DOOuy431LJHTq4sOPiLRjpxyTzFp-zRE+NXOCim2g@mail.gmail.com' \
--to=ycoekjan@gmail.com \
--cc=qemu-devel@nongnu.org \
/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).