From: Richard Henderson <rth@twiddle.net>
To: Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] best way to implement a "memclear" type instruction in TCG?
Date: Wed, 22 Jan 2014 11:06:49 -0800 [thread overview]
Message-ID: <52E016C9.3010608@twiddle.net> (raw)
In-Reply-To: <CAFEAcA8vZqRw6gH2GBaTtAzhrpbPjCK9oF6z51rSd-0nwd+_3w@mail.gmail.com>
On 01/22/2014 10:58 AM, Peter Maydell wrote:
> In theory we could just find the pointer to the memory QEMU is backing
> the guest RAM with and call memset on it...
That's more or less what we do for the s390 insn XC.
See mem_helper.c, especially mvc_fast_memset.
r~
next prev parent reply other threads:[~2014-01-22 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 18:58 [Qemu-devel] best way to implement a "memclear" type instruction in TCG? Peter Maydell
2014-01-22 19:06 ` Richard Henderson [this message]
2014-01-22 19:24 ` Xin Tong
2014-01-22 19:30 ` Peter Maydell
2014-02-27 16:23 ` Peter Maydell
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=52E016C9.3010608@twiddle.net \
--to=rth@twiddle.net \
--cc=peter.maydell@linaro.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.