This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: push and pop of FPU stack ; record st registers
- From: Hui Zhu <teawater at gmail dot com>
- To: paawan oza <paawan1982 at yahoo dot com>
- Cc: gdb ml <gdb at sourceware dot org>
- Date: Sat, 23 May 2009 12:04:14 +0800
- Subject: Re: push and pop of FPU stack ; record st registers
- References: <133334.94940.qm@web36207.mail.mud.yahoo.com>
You cannot record st0 to st7?
Hui
On Fri, May 22, 2009 at 23:43, paawan oza <paawan1982@yahoo.com> 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.
>
>
>
>