Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Virtue is a relative term. -- Spock, "Friday's Child", stardate 3499.1


devel / comp.arch / Re: The old RISC-vs-CISC (was: Compact representation for common integer constants)

SubjectAuthor
* Re: The old RISC-vs-CISC (was: Compact representation for commonMichael S
`- Re: The old RISC-vs-CISC (was: Compact representation for common integer constanMichael S

1
Re: The old RISC-vs-CISC (was: Compact representation for common integer constants)

<3a5dc0c5-a31e-4a5b-a722-034198033eben@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16800&group=comp.arch#16800

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5fc2:: with SMTP id k2mr12201451qta.131.1621109495382;
Sat, 15 May 2021 13:11:35 -0700 (PDT)
X-Received: by 2002:a4a:952b:: with SMTP id m40mr41080095ooi.69.1621109495127;
Sat, 15 May 2021 13:11:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 15 May 2021 13:11:34 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=87.68.182.237; posting-account=ow8VOgoAAAAfiGNvoH__Y4ADRwQF1hZW
NNTP-Posting-Host: 87.68.182.237
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a5dc0c5-a31e-4a5b-a722-034198033eben@googlegroups.com>
Subject: Re: The old RISC-vs-CISC (was: Compact representation for common
integer constants)
From: already5...@yahoo.com (Michael S)
Injection-Date: Sat, 15 May 2021 20:11:35 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Michael S - Sat, 15 May 2021 20:11 UTC

On Tuesday, May 11, 2021 at 11:16:24 PM UTC+3, Ivan Godard wrote:
> On 5/11/2021 10:27 AM, Marcus wrote:
> > On 2021-05-10, MitchAlsup wrote:
> >> On Monday, May 10, 2021 at 3:53:45 PM UTC-5, robf...@gmail.com wrote:
> >>> ANY1 supports a 21 bit branch displacement for branching +/-1MB. It
> >>> may also store the return address in the target register allowing
> >>> conditional branch to subroutine.
> >> <
> >> How often do you find conditional branching to a subroutine to be
> >> effective ?
> >
> > I had conditional branch-and-link in my ISA at one point (probably
> > inspired by POWER or some such ISA), but then I realized that it
> > actually implied a conditional move to the link register, which
> > was something I wanted to avoid (plus the instructions ate up valuable
> > instruction encoding space) - so I removed those instructions.
> Doesn't have to require conditional move.
>
> In a belt machine, a call must update the belt in the same way whether
> taken or not, so Mill conditional calls drop null results if the call is
> untaken. Because of the availability of NaR as a metadata marker for
> invalid/missing data, the nulls are NaRs and so will poison any
> subsequent actual use of the value, but that's a QOI feature independent
> of the conditional call feature.
>
> In your case, you could have the link register unconditionally
> klobbered, either by the return address if taken, or a null if untaken.
> Or, if the return address can be meaningfully used whether taken or not,
> set the register unconditionally to what would be the return address if
> it had been taken. An untaken conditional call need not be totally free
> of side effects; it just must not enter the called address.

How is it different from any other premature use of destination register of avdanced load ?
To me it looks like a compiler bug rather than architecture bug.

Re: The old RISC-vs-CISC (was: Compact representation for common integer constants)

<852c8f5c-cf56-4b2f-a234-b1b532e12984n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16808&group=comp.arch#16808

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5308:: with SMTP id t8mr34716557qtn.254.1621160051079; Sun, 16 May 2021 03:14:11 -0700 (PDT)
X-Received: by 2002:aca:30cc:: with SMTP id w195mr39624587oiw.78.1621160050855; Sun, 16 May 2021 03:14:10 -0700 (PDT)
Path: i2pn2.org!rocksolid2!news.neodome.net!news.theuse.net!aioe.org!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sun, 16 May 2021 03:14:10 -0700 (PDT)
In-Reply-To: <3a5dc0c5-a31e-4a5b-a722-034198033eben@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=87.68.182.237; posting-account=ow8VOgoAAAAfiGNvoH__Y4ADRwQF1hZW
NNTP-Posting-Host: 87.68.182.237
References: <3a5dc0c5-a31e-4a5b-a722-034198033eben@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <852c8f5c-cf56-4b2f-a234-b1b532e12984n@googlegroups.com>
Subject: Re: The old RISC-vs-CISC (was: Compact representation for common integer constants)
From: already5...@yahoo.com (Michael S)
Injection-Date: Sun, 16 May 2021 10:14:11 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 36
 by: Michael S - Sun, 16 May 2021 10:14 UTC

On Saturday, May 15, 2021 at 11:11:36 PM UTC+3, Michael S wrote:
> On Tuesday, May 11, 2021 at 11:16:24 PM UTC+3, Ivan Godard wrote:
> > On 5/11/2021 10:27 AM, Marcus wrote:
> > > On 2021-05-10, MitchAlsup wrote:
> > >> On Monday, May 10, 2021 at 3:53:45 PM UTC-5, robf...@gmail.com wrote:
> > >>> ANY1 supports a 21 bit branch displacement for branching +/-1MB. It
> > >>> may also store the return address in the target register allowing
> > >>> conditional branch to subroutine.
> > >> <
> > >> How often do you find conditional branching to a subroutine to be
> > >> effective ?
> > >
> > > I had conditional branch-and-link in my ISA at one point (probably
> > > inspired by POWER or some such ISA), but then I realized that it
> > > actually implied a conditional move to the link register, which
> > > was something I wanted to avoid (plus the instructions ate up valuable
> > > instruction encoding space) - so I removed those instructions.
> > Doesn't have to require conditional move.
> >
> > In a belt machine, a call must update the belt in the same way whether
> > taken or not, so Mill conditional calls drop null results if the call is
> > untaken. Because of the availability of NaR as a metadata marker for
> > invalid/missing data, the nulls are NaRs and so will poison any
> > subsequent actual use of the value, but that's a QOI feature independent
> > of the conditional call feature.
> >
> > In your case, you could have the link register unconditionally
> > klobbered, either by the return address if taken, or a null if untaken.
> > Or, if the return address can be meaningfully used whether taken or not,
> > set the register unconditionally to what would be the return address if
> > it had been taken. An untaken conditional call need not be totally free
> > of side effects; it just must not enter the called address.
> How is it different from any other premature use of destination register of avdanced load ?
> To me it looks like a compiler bug rather than architecture bug.

A post went to wrong thread, sorry.
I am not sure if it was my own mistake or bug in google groups engine.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor