linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sylvain Munaut <tnt@246tNt.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: Strange code in head.S
Date: Fri, 05 Mar 2004 14:23:47 +0100	[thread overview]
Message-ID: <40487F63.6030703@246tNt.com> (raw)


Hello,

While looking at head.S, I noticed that in the FTR Section
CPU_FTR_HAS_HIGH_BATS, the register used during all the mtspr
SPRN_DBATxx,r20 is r20.
But shouldn't it be r10 ?
In the 2.4 version it was r20 but for all the preceding code of
clear_bat, it has been replaced with r10 but not in the FTR ...

Maybe I'm wrong, I'm not working on an arch that uses it. It's just
seems strange to me ...

Sylvain Munaut


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2004-03-05 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05 13:23 Sylvain Munaut [this message]
2004-03-06  0:02 ` Strange code in head.S Benjamin Herrenschmidt

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=40487F63.6030703@246tNt.com \
    --to=tnt@246tnt.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).