qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [Qemu-devel] [PATCH 28/32] ppc: Avoid double translation


From: Richard Henderson
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH 28/32] ppc: Avoid double translation for lvx/lvxl/stvx/stvxl
Date: Fri, 29 Jul 2016 18:00:16 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 07/29/2016 12:26 PM, Benjamin Herrenschmidt wrote:
So I can't do something like set TCG_CALL_NO_RWG (nor TCG_CALL_NO_WG)
on something like dcbz because it can take an exception, correct ?

You can't set NO_RWG, but you can say NO_WG. It "reads" the registers via the exception (and it certainly has side effects). But it doesn't write to the registers (along the normal return path; a loophole I've used elsewhere).


r~



reply via email to

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