From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29105 invoked by alias); 22 May 2009 15:43:43 -0000 Received: (qmail 29093 invoked by uid 22791); 22 May 2009 15:43:42 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from web36207.mail.mud.yahoo.com (HELO web36207.mail.mud.yahoo.com) (209.191.68.233) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 22 May 2009 15:43:36 +0000 Received: (qmail 96075 invoked by uid 60001); 22 May 2009 15:43:34 -0000 Message-ID: <133334.94940.qm@web36207.mail.mud.yahoo.com> Received: from [123.237.140.243] by web36207.mail.mud.yahoo.com via HTTP; Fri, 22 May 2009 08:43:33 PDT Date: Fri, 22 May 2009 15:43:00 -0000 From: paawan oza Subject: push and pop of FPU stack ; record st registers To: Hui Zhu Cc: gdb ml MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00147.txt.bz2 Hi, the instructions such as; fld1, which pushes fpu stack and insn faddp pops registers stack, we need to record all st0 to st7 registers. because all will be changed on push/pop. as pushing/popping changes all the registers, at such insns (which does push/pop) we record all st0 to st7 registers that may affect the performance. currently I can not think of any alternative (may be we cache registers all the time and we record only those which may change) but by doing that we only save memory. performance is still question :( Does anybody have any other suggestion ? Regards, Oza.