From: Andrew Cagney <ac131313@cygnus.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Add support for fpscr for Power / PowerPC targets
Date: Thu, 11 Apr 2002 13:08:00 -0000 [thread overview]
Message-ID: <3CB5ED4D.8030603@cygnus.com> (raw)
In-Reply-To: <1020411191706.ZM3109@localhost.localdomain>
> tdep->ppc_xer_regnum = 69;
> if (v->mach == bfd_mach_ppc_601)
> tdep->ppc_mq_regnum = 124;
> - else
> + else if (power)
> tdep->ppc_mq_regnum = 70;
> + else
> + tdep->ppc_mq_regnum = -1;
> + tdep->ppc_fpscr_regnum = power ? 71 : 70;
>
> For PowerPC, the fpscr regnum is 70, which was an unused slot. For
> Power, I chose to use the first available slot (71). The other change
> that this patch makes is to make MQ unavailable for all PowerPC
> targets except for the 601 processors (which is as it should be).
Kevin, is there any reason to not just use the same slot for both POWER
and PowerPC?
Andrew
next prev parent reply other threads:[~2002-04-11 20:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-11 12:17 Kevin Buettner
2002-04-11 12:25 ` Daniel Jacobowitz
2002-04-11 13:10 ` Kevin Buettner
2002-04-11 13:31 ` Daniel Jacobowitz
2002-04-11 13:08 ` Andrew Cagney [this message]
2002-04-11 13:39 ` Kevin Buettner
2002-04-14 14:52 ` Andrew Cagney
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=3CB5ED4D.8030603@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kevinb@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