Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Joel Soete <soete.joel@tiscali.be>
Cc: parisc-linux@parisc-linux.org
Subject: Re: [parisc-linux] flush_tlb_all_local:
Date: Sun, 12 Oct 2003 21:12:58 -0600	[thread overview]
Message-ID: <20031013031258.GC2467@colo.lackof.org> (raw)
In-Reply-To: <3F897C56.800@tiscali.be>

On Sun, Oct 12, 2003 at 04:07:50PM +0000, Joel Soete wrote:
>         ldo     R%REAL_MODE_PSW(%r1), %r1
>         mtctl   %r1, %cr22
>         mtctl   %r0, %cr17
>         mtctl   %r0, %cr17
> [...]
> 
> Why twice 'mtctl   %r0, %cr17'?

Good question. No clue. Looks like a brain fart since clearing it
 once should work unless there's a weird bug. I'll remove it.

> and also:
> [...]
> fitmanymiddle:                                  /* Loop if LOOP >= 2 */
>         ADDIB>          -1,%r31,fitmanymiddle   /* Adjusted inner loop 
> decr */
>         pitlbe          0(%sr1,%r28)
>         pitlbe,m        %arg1(%sr1,%r28)        /* Last pitlbe and addr 
> adjust */
> 
> Typicaly the function name is flush_..., so why do we 'purge' here?

AFAICT, because purge is sufficient.
It doesn't look like parisc even provides a FITBLE instruction.

thanks,
grant

  reply	other threads:[~2003-10-13  3:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 16:07 [parisc-linux] flush_tlb_all_local: Joel Soete
2003-10-13  3:12 ` Grant Grundler [this message]
2003-10-13  4:14   ` Grant Grundler
2003-10-13 18:57     ` John David Anglin
2003-10-13 19:44       ` Matthew Wilcox

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=20031013031258.GC2467@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=parisc-linux@parisc-linux.org \
    --cc=soete.joel@tiscali.be \
    /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