From: Andrew Cagney <ac131313@cygnus.com>
To: Richard.Earnshaw@arm.com
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb@sources.redhat.com
Subject: Re: read_register_byte can't work with pseudo-reg model
Date: Thu, 16 May 2002 15:29:00 -0000 [thread overview]
Message-ID: <3CE432BD.8050605@cygnus.com> (raw)
In-Reply-To: <200205161535.QAA09516@cam-mail2.cambridge.arm.com>
> The only assumption is that if this is defined, then pseudos do not need
> unique entries in the regcache (ie they always map onto physical
> registers), so we can copy the regcache simply by iterating over
> 0..NUM_REGS.
So the [0..NUM_REGS) space is mapped 1:1, sounds good.
Just resist the temptation to look under the following rock:
0..NUM_REGS will include hardware registers save/restoring that probably
isn't a good idea. Per other e-mail, it will eventually need to check
if the register should be saved/restored.
I think I'll tweak that branch to, when restoring the cache and
register_write_p, not call write_register_bytes().
> I need to re-baseline my testsuite runs, but the results look pretty
> encouraging compared to previous runs.
Andrew
next prev parent reply other threads:[~2002-05-16 22:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 9:52 Richard Earnshaw
2002-05-15 12:43 ` Andrew Cagney
2002-05-16 5:19 ` Richard Earnshaw
2002-05-16 6:41 ` Andrew Cagney
2002-05-16 6:48 ` Richard Earnshaw
2002-05-16 12:08 ` Andrew Cagney
2002-05-16 8:36 ` Richard Earnshaw
2002-05-16 15:29 ` Andrew Cagney [this message]
2002-05-17 6:14 ` Richard Earnshaw
2002-05-17 7:51 ` Richard Earnshaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CE432BD.8050605@cygnus.com \
--to=ac131313@cygnus.com \
--cc=Richard.Earnshaw@arm.com \
--cc=ezannoni@redhat.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox