qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Consult] About SPRs information


From: Chen Gang
Subject: Re: [Qemu-devel] [Consult] About SPRs information
Date: Wed, 29 Apr 2015 04:19:14 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 4/28/15 06:04, Richard Henderson wrote:
> On 04/27/2015 02:12 PM, Chen Gang wrote:
>> Now, I am blocked at SPRs: "mtspr SPR_CMPEXCH_VALUE %r12", and trying to
>> solve it.
> 
> SPR_CMPEXCH_VALUE should be present in your cpu structure, should be a TCGv
> like all of your other registers, and this expands to a simple move.
> 
> You will probably need to dispatch on the SPR number.  Some of these will be
> normal moves to special register slots.  Some of these may require a function
> call in order to handle the side effects.
> 

OK, thank you very much.

-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed



reply via email to

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