public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: brolley@redhat.com (Dave Brolley)
Cc: sid@sources.redhat.com, cgen@sources.redhat.com
Subject: Re: [patch][rfa]: Decoding (not-so) ambiguous insns in sid/sim
Date: Wed, 02 Jan 2002 20:34:00 -0000	[thread overview]
Message-ID: <o58zbgf3x9.fsf@tooth.toronto.redhat.com> (raw)
In-Reply-To: <3C3391D7.6050301.cygnus.project.sid@redhat.com>


brolley wrote:

> [...]  This situation occurs when one insn is a specialization of
> another. This patch adds the same capability to the decoders used by
> the cgen-based simulators in the sim and sid source trees. [...]

Thanks for this authoritative and exhaustive study of the issue.  It
makes fine sense.


> [...]
>       (list->vector
>        (map (lambda (p0 p1)
>   	    (logit 4 p0 "/" p1 " ")
> ! 	    ; (sqrt (+ p0 p1 (* p0 p1))) ; funny function - nice curve
> ! 	    (sqrt (* p0 p1))) ; geometric mean
>   	  (vector->list 0-population) (vector->list 1-population))))

By the way, have you tried the "funny function" above?  It would have
the property of separating the 0/0 and 0/N cases like your new
ordering function does, and is monotonic in p0 & p1, so it should not
change the relative order of existing decoders.

- FChE

       reply	other threads:[~2002-01-03  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3C3391D7.6050301.cygnus.project.sid@redhat.com>
2002-01-02 20:34 ` Frank Ch. Eigler [this message]
2002-01-03  8:20   ` Dave Brolley
2002-01-03  8:32     ` Frank Ch. Eigler
2002-01-03  8:47       ` Dave Brolley
2002-01-02 15:03 Dave Brolley
2002-01-03 10:47 ` Dave Brolley

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=o58zbgf3x9.fsf@tooth.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=brolley@redhat.com \
    --cc=cgen@sources.redhat.com \
    --cc=sid@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).