From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdbSe-0002DA-Ji for qemu-devel@nongnu.org; Mon, 16 Apr 2007 20:22:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdbSb-0002Bs-Ui for qemu-devel@nongnu.org; Mon, 16 Apr 2007 20:22:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdbSb-0002BZ-PN for qemu-devel@nongnu.org; Mon, 16 Apr 2007 20:22:17 -0400 Received: from an-out-0708.google.com ([209.85.132.246]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HdbNw-0001Uo-1c for qemu-devel@nongnu.org; Mon, 16 Apr 2007 20:17:28 -0400 Received: by an-out-0708.google.com with SMTP id d40so1179727and for ; Mon, 16 Apr 2007 17:17:26 -0700 (PDT) Message-ID: Date: Mon, 16 Apr 2007 19:17:26 -0500 From: "Atif Hashmi" Subject: Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU In-Reply-To: <83a4d4ca0704081514v584660e4h8a36e5d1aee16d82@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_51578_28615319.1176769046055" References: <83a4d4ca0704060515l172d6f9ep59b6467c6e49f250@mail.gmail.com> <83a4d4ca0704080713t596e4d83lbd1c495d92eda581@mail.gmail.com> <83a4d4ca0704081514v584660e4h8a36e5d1aee16d82@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_51578_28615319.1176769046055 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have another small question. Actually, I am implementing hardware transactional memory support in QEMU. I have implemented the following two helper functions functions in targer-i386/helper.c void helper_StartTransaction() void helper_CommitTransaction(); My application looks as follows. int main() { __asm_volatile("mov %al %al"); //is detected in translation.c and helper_StartTransaction is called } In case a transaction fails, I detect it inside the code for helper_CommitTransaction(), now I need to jump back to the place where On 4/8/07, Eduardo Felipe wrote: > > > I recommend: > > http://fabrice.bellard.free.fr/qemu/user-doc.html > > Regards, > Eduardo > ------=_Part_51578_28615319.1176769046055 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I have another small question. Actually, I am implementing hardware transactional memory support in QEMU. I have implemented the following two helper functions functions in targer-i386/helper.c

void helper_StartTransaction()
void helper_CommitTransaction();

My application looks as follows.
int main()
{
       __asm_volatile("mov %al %al"); //is detected in translation.c and helper_StartTransaction is called

}
In case a transaction fails, I detect it inside the code for helper_CommitTransaction(), now I need to jump back to the place where

On 4/8/07, Eduardo Felipe <edusaper@gmail.com> wrote:

I recommend:

http://fabrice.bellard.free.fr/qemu/user-doc.html

Regards,
Eduardo

------=_Part_51578_28615319.1176769046055--