This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFC: Optimization to write_register_bytes()
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: RFC: Optimization to write_register_bytes()
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 04 May 2000 14:58:21 -0400
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <39117943.9609EB0C@cygnus.com> <391198C4.ABC15EEE@cygnus.com>
Andrew Cagney wrote:
>
> Fernando Nasser wrote:
> >
> > We can save some time (and fix a problem I have) if we make a simple assumption in
> > write_register_bytes().
>
> Would the problem go away if the problematic code didn't use
> write_register_bytes?
>
It would. But this is exactly the only case where it's use is justifiable.
These are registers that are aliased to a portion of another register.
(The Pentium MMX registers are aliased to the mantissa of the floating point
registers)
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299