Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hndon-0005bW-BY for qemu-devel@nongnu.org; Mon, 14 May 2007 12:54:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hndol-0005ZD-8R for qemu-devel@nongnu.org; Mon, 14 May 2007 12:54:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hndok-0005Yt-PN for qemu-devel@nongnu.org; Mon, 14 May 2007 12:54:38 -0400 Received: from web32507.mail.mud.yahoo.com ([68.142.207.217]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hndgx-0003NZ-VL for qemu-devel@nongnu.org; Mon, 14 May 2007 12:46:36 -0400 Date: Mon, 14 May 2007 09:46:34 -0700 (PDT) From: divya arora MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <716704.3494.qm@web32507.mail.mud.yahoo.com> Subject: [Qemu-devel] micro-instruction size 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 Hi, I want to instrument call instruction so that my tracking function is called on each call instruction. >From what I understand, I should a) change target-i386/translate.c case 0xe8 to generate my own microinstruction, say gen_op_mycall() b) Add functionality of op_mycall() to target-i386/op.c c) Add this new micro-instruction in i386-softmmu/opc.h. Is the above correct? If yes, I am not sure how to determine the microinstructions size which is required in DEF(s, n, copy_size). Thanks, Divya ____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/