public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Doug Evans <dje@transmeta.com>
Cc: cgen@sources.redhat.com
Subject: Re: exposed pipeline patch (long!)
Date: Thu, 09 Jan 2003 19:14:00 -0000	[thread overview]
Message-ID: <o5bs2qb0gx.fsf@toenail.toronto.redhat.com> (raw)
In-Reply-To: <15901.49440.723598.323574@casey.transmeta.com>


dje wrote:

> [...]
> First, we need to separate architecture description from application usage.
> RTL is all about abstract description.

Right.

> What are the ports in question?
> Can I see the rtl where the new `delay' is used?  (Are they checked in?)

Hmm, that's an oversight.  There are indeed a couple of ports that
haven't been released yet.  Here is a generic example:

NEW:  (if (test) (set (delay 1 foo) bar))
OLD:  (delay 1 (if (test) (set foo bar)))

The new meaning makes "delay" a property of an lvalue being assigned
to as a future time (== enqueuing position).  The old one relates
"delay" of a generic bunch of computation.  The former definition is
sufficient to model ordinary branch delay slots, or functional units
that expose taking their sweet time.  The latter was never actually
implemented in a way a reader may expect: there is no delay in the
"if" or anything associated with foo or bar; there is no use of the
"1" value.


> I'm guessing the difference is that the existing delay specifies when
> an assignment happens (more or less) 

(Well, less - no actual deferred computation mechanism had existed in
cgen or the runtimes.)

> and the new delay specifies when an operand is ready. 

Right.

> [...] for the ports that need this patch, are the delays ISA related [...]

These are ISA defined.
That's what makes the pipelines exposed to the asm programmer.


- FChE

  reply	other threads:[~2003-01-09 19:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-09  3:27 Ben Elliston
2003-01-09  6:41 ` Doug Evans
2003-01-09 17:55   ` Frank Ch. Eigler
2003-01-09 18:36     ` Doug Evans
2003-01-09 19:14       ` Frank Ch. Eigler [this message]
2003-01-12 17:05         ` Doug Evans
2003-01-09 19:12     ` graydon hoare
2003-01-12 17:21       ` Doug Evans
2003-01-09  6:55 ` Doug Evans
2003-01-09  7:24 ` Doug Evans
2003-01-09 17:17   ` Frank Ch. Eigler
2003-01-12 17:54 ` Doug Evans

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=o5bs2qb0gx.fsf@toenail.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=cgen@sources.redhat.com \
    --cc=dje@transmeta.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).