From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16907 invoked by alias); 23 May 2009 04:04:23 -0000 Received: (qmail 16899 invoked by uid 22791); 23 May 2009 04:04:22 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.251) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 23 May 2009 04:04:17 +0000 Received: by rv-out-0708.google.com with SMTP id k29so711602rvb.48 for ; Fri, 22 May 2009 21:04:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.43.20 with SMTP id q20mr127327tiq.58.1243051454699; Fri, 22 May 2009 21:04:14 -0700 (PDT) In-Reply-To: <133334.94940.qm@web36207.mail.mud.yahoo.com> References: <133334.94940.qm@web36207.mail.mud.yahoo.com> Date: Sat, 23 May 2009 04:04:00 -0000 Message-ID: Subject: Re: push and pop of FPU stack ; record st registers From: Hui Zhu To: paawan oza Cc: gdb ml Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00155.txt.bz2 You cannot record st0 to st7? Hui On Fri, May 22, 2009 at 23:43, paawan oza wrote: > > 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. > > > >