qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/6 v2] target-tilegx: Firstly add to qemu with


From: Chris Metcalf
Subject: Re: [Qemu-devel] [PATCH 1/6 v2] target-tilegx: Firstly add to qemu with minimized features
Date: Mon, 16 Feb 2015 19:28:35 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2/16/2015 5:51 PM, Chen Gang S wrote:

And excuse me, I still want to know, is there a real world register as a
PC register for tile (e.g. just like 'rip' for x86_64) which can be used
by software programer? (is it in SPR?)

There is no register you can read that holds the current PC.  You can
issue a "lnk REG" instruction to load the address of the following register
into register REG.  And if you have interrupted the machine execution
with an interrupt or fault, you will find the interrupted address in an SPR.
But the current PC is not otherwise accessible.

--
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com




reply via email to

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