This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: Optimization to write_register_bytes()


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]