From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] sh-tdep.*: Rename DSP bank registers
Date: Tue, 17 Feb 2004 16:04:00 -0000 [thread overview]
Message-ID: <20040217160432.GA30632@cygbert.vinschen.de> (raw)
In-Reply-To: <16434.10422.944771.777608@localhost.redhat.com>
On Feb 17 09:44, Elena Zannoni wrote:
> Corinna Vinschen writes:
> > I'd like to propose the below patch, which renames the used enum
> > values from R0_BANK_REGNUM and R7_BANK_REGNUM to DSP_R0_BANK_REGNUM
> > and DSP_R7_BANK_REGNUM respectively. IMHO, that's less confusing
> > and allows to use the register bank numbering scheme of non-dsp
> > CPUs at a later point.
>
> Interesting, this is what it was originally before your change:
> - if (nr >= DSP_R0_BANK_REGNUM && nr <= DSP_R7_BANK_REGNUM)
> - return nr - DSP_R0_BANK_REGNUM + SIM_SH_R0_BANK_REGNUM;
> + if (nr >= R0_BANK_REGNUM && nr <= R7_BANK_REGNUM)
> + return nr - R0_BANK_REGNUM + SIM_SH_R0_BANK_REGNUM;
Half a year ago it seemed to be right. Well... the world keeps turning.
Thanks, applied,
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
prev parent reply other threads:[~2004-02-17 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-16 15:41 Corinna Vinschen
2004-02-17 14:48 ` Elena Zannoni
2004-02-17 16:04 ` Corinna Vinschen [this message]
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=20040217160432.GA30632@cygbert.vinschen.de \
--to=vinschen@redhat.com \
--cc=gdb-patches@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