All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Zick" <mszick@goquest.com>
To: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Should I read SHR[DW] as SHRP[DW] in parisc2.p
Date: Fri, 13 Aug 2004 12:50:52 -0500	[thread overview]
Message-ID: <200408131250.52034.mszick@goquest.com> (raw)
In-Reply-To: <200408131520.i7DFKckH017219@hiauly1.hia.nrc.ca>

On Fri August 13 2004 10:20, John David Anglin wrote:
> > Time will show if gcc-inline assembly is that nice to we programmers.
> 
> The PA-RISC GNU assembler was never intended to be a general purpose
> assembler.  Features that GCC doesn't use are probably not that well
> tested ;)
> 
That is what I meant - we are on a 'feature discovery' trip here.

I did cheat a bit - I studied the pa.md file - figured that if what I was
interested in wasn't there, I need to be careful about using it.

Also discovered that software integer divide uses a similar bit-finder
to what I have proposed in the past. (Immediate, magic number,
bit masks).

But I have had that proposal turned down often enough - 
Even though it can be written to avoid register stalls; works
run-time, register size independent; does not dirty a d-cache
line and returns the bit-mask for the found bit 
(or the input mask modified by the found bit)
in addition to the index without additional instructions.
Which makes it ideal for all of those 'find next bit' loops.

Mike

> Dave
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2004-08-13 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 17:35 [parisc-linux] Should I read SHR[DW] as SHRP[DW] in parisc2.pdf? Joel Soete
2004-08-12 17:41 ` Jim Hull
2004-08-12 19:33   ` Michael S. Zick
2004-08-13 15:20     ` [parisc-linux] Should I read SHR[DW] as SHRP[DW] in parisc2.p John David Anglin
2004-08-13 17:50       ` Michael S. Zick [this message]
2004-08-13 22:54 ` [parisc-linux] Should I read SHR[DW] as SHRP[DW] in parisc2.pdf? Michael S. Zick
2004-08-14  0:27   ` [parisc-linux] Should I read SHR[DW] as SHRP[DW] in parisc2.p John David Anglin
2004-08-14  0:53     ` Michael S. Zick

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=200408131250.52034.mszick@goquest.com \
    --to=mszick@goquest.com \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.