qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] best way to implement a "memclear" type instruction in


From: Xin Tong
Subject: Re: [Qemu-devel] best way to implement a "memclear" type instruction in TCG?
Date: Wed, 22 Jan 2014 13:24:06 -0600

would there be any memory ordering issue ? what if the host processor
has a more relaxed memory ordering then the guest. maybe memset with
membarriers in between.

Xin

On Wed, Jan 22, 2014 at 1:06 PM, Richard Henderson <address@hidden> wrote:
> 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~
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]