Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Logic doesn't apply to the real world. -- Marvin Minsky


devel / comp.arch / Re: Solving the Floating-Point Conundrum

SubjectAuthor
* Solving the Floating-Point ConundrumQuadibloc
+* Re: Solving the Floating-Point ConundrumStephen Fuld
|+* Re: Solving the Floating-Point ConundrumQuadibloc
||+- Re: Solving the Floating-Point ConundrumJohn Levine
||`- Re: Solving the Floating-Point ConundrumStephen Fuld
|`* Re: Solving the Floating-Point Conundrummac
| `- Re: Solving the Floating-Point ConundrumThomas Koenig
+* Re: Solving the Floating-Point ConundrumMitchAlsup
|+* Re: Solving the Floating-Point ConundrumQuadibloc
||+* Re: Solving the Floating-Point ConundrumMitchAlsup
|||`* Re: Solving the Floating-Point ConundrumQuadibloc
||| `* Re: Solving the Floating-Point ConundrumMitchAlsup
|||  `- Re: Solving the Floating-Point ConundrumQuadibloc
||`- Re: Solving the Floating-Point ConundrumJohn Dallman
|+- Re: Solving the Floating-Point ConundrumScott Lurndal
|`* Re: Solving the Floating-Point ConundrumQuadibloc
| +* Re: Solving the Floating-Point ConundrumMitchAlsup
| |`* Re: Solving the Floating-Point ConundrumBGB
| | +* Re: Solving the Floating-Point ConundrumScott Lurndal
| | |+* Re: Solving the Floating-Point ConundrumQuadibloc
| | ||+* Re: Solving the Floating-Point ConundrumMitchAlsup
| | |||`- Re: Solving the Floating-Point ConundrumTerje Mathisen
| | ||`* Re: Solving the Floating-Point ConundrumBGB
| | || `* Re: Solving the Floating-Point ConundrumStephen Fuld
| | ||  `* Re: Solving the Floating-Point ConundrumScott Lurndal
| | ||   `- Re: Solving the Floating-Point ConundrumMitchAlsup
| | |`* Re: Solving the Floating-Point ConundrumThomas Koenig
| | | `* Re: memory speeds, Solving the Floating-Point ConundrumJohn Levine
| | |  +- Re: memory speeds, Solving the Floating-Point ConundrumQuadibloc
| | |  +* Re: memory speeds, Solving the Floating-Point ConundrumScott Lurndal
| | |  |+* Re: memory speeds, Solving the Floating-Point ConundrumMitchAlsup
| | |  ||+* Re: memory speeds, Solving the Floating-Point ConundrumEricP
| | |  |||+* Re: memory speeds, Solving the Floating-Point ConundrumScott Lurndal
| | |  ||||`* Re: memory speeds, Solving the Floating-Point ConundrumEricP
| | |  |||| `- Re: memory speeds, Solving the Floating-Point ConundrumScott Lurndal
| | |  |||+- Re: memory speeds, Solving the Floating-Point ConundrumQuadibloc
| | |  |||+* Re: memory speeds, Solving the Floating-Point ConundrumJohn Levine
| | |  ||||`* Re: memory speeds, Solving the Floating-Point ConundrumEricP
| | |  |||| `- Re: memory speeds, Solving the Floating-Point ConundrumMitchAlsup
| | |  |||+- Re: memory speeds, Solving the Floating-Point ConundrumMitchAlsup
| | |  |||`- Re: memory speeds, Solving the Floating-Point ConundrumMitchAlsup
| | |  ||`* Re: memory speeds, Solving the Floating-Point ConundrumTimothy McCaffrey
| | |  || `- Re: memory speeds, Solving the Floating-Point ConundrumMitchAlsup
| | |  |`* Re: memory speeds, Solving the Floating-Point ConundrumQuadibloc
| | |  | +- Re: memory speeds, Solving the Floating-Point ConundrumMitchAlsup
| | |  | `- Re: memory speeds, Solving the Floating-Point Conundrummoi
| | |  `* Re: memory speeds, Solving the Floating-Point ConundrumAnton Ertl
| | |   +* Re: memory speeds, Solving the Floating-Point ConundrumMichael S
| | |   |+* Re: memory speeds, Solving the Floating-Point ConundrumJohn Levine
| | |   ||+- Re: memory speeds, Solving the Floating-Point ConundrumLynn Wheeler
| | |   ||`* Re: memory speeds, Solving the Floating-Point ConundrumAnton Ertl
| | |   || +- Re: memory speeds, Solving the Floating-Point ConundrumEricP
| | |   || `- Re: memory speeds, Solving the Floating-Point ConundrumJohn Levine
| | |   |`* Re: memory speeds, Solving the Floating-Point ConundrumAnton Ertl
| | |   | `- Re: memory speeds, Solving the Floating-Point ConundrumStephen Fuld
| | |   `* Re: memory speeds, Solving the Floating-Point ConundrumThomas Koenig
| | |    `- Re: memory speeds, Solving the Floating-Point ConundrumAnton Ertl
| | +* Re: Solving the Floating-Point ConundrumQuadibloc
| | |`* Re: Solving the Floating-Point ConundrumBGB
| | | `- Re: Solving the Floating-Point ConundrumStephen Fuld
| | +- Re: Solving the Floating-Point ConundrumMitchAlsup
| | `- Re: Solving the Floating-Point ConundrumMitchAlsup
| +* Re: Solving the Floating-Point ConundrumQuadibloc
| |`* Re: Solving the Floating-Point ConundrumQuadibloc
| | `* Re: Solving the Floating-Point ConundrumBGB
| |  `- Re: Solving the Floating-Point ConundrumScott Lurndal
| `* Re: Solving the Floating-Point ConundrumTimothy McCaffrey
|  +- Re: Solving the Floating-Point ConundrumScott Lurndal
|  +- Re: Solving the Floating-Point ConundrumStephen Fuld
|  +* Re: Solving the Floating-Point ConundrumQuadibloc
|  |`* Re: Solving the Floating-Point ConundrumQuadibloc
|  | +* Re: Solving the Floating-Point ConundrumQuadibloc
|  | |`* Re: Solving the Floating-Point ConundrumThomas Koenig
|  | | `* Re: Solving the Floating-Point ConundrumQuadibloc
|  | |  `* Re: Solving the Floating-Point ConundrumThomas Koenig
|  | |   `* Re: Solving the Floating-Point ConundrumQuadibloc
|  | |    `- Re: Solving the Floating-Point ConundrumThomas Koenig
|  | +* Re: Solving the Floating-Point ConundrumMitchAlsup
|  | |+- Re: Solving the Floating-Point ConundrumTerje Mathisen
|  | |`* Re: Solving the Floating-Point ConundrumQuadibloc
|  | | +* Re: Solving the Floating-Point ConundrumThomas Koenig
|  | | |+* Re: Solving the Floating-Point ConundrumJohn Dallman
|  | | ||+- Re: Solving the Floating-Point ConundrumQuadibloc
|  | | ||+* Re: Solving the Floating-Point ConundrumQuadibloc
|  | | |||+* Re: Solving the Floating-Point ConundrumMichael S
|  | | ||||+* Re: Solving the Floating-Point ConundrumMitchAlsup
|  | | |||||`- Re: Solving the Floating-Point ConundrumQuadibloc
|  | | ||||`- Re: Solving the Floating-Point ConundrumQuadibloc
|  | | |||+* Re: Solving the Floating-Point ConundrumMitchAlsup
|  | | ||||`- Re: Solving the Floating-Point ConundrumQuadibloc
|  | | |||`* Re: Solving the Floating-Point ConundrumTerje Mathisen
|  | | ||| `* Re: Solving the Floating-Point ConundrumMitchAlsup
|  | | |||  +* Re: Solving the Floating-Point Conundrumrobf...@gmail.com
|  | | |||  |+- Re: Solving the Floating-Point ConundrumScott Lurndal
|  | | |||  |+* Re: Solving the Floating-Point ConundrumMitchAlsup
|  | | |||  ||`- Re: Solving the Floating-Point ConundrumGeorge Neuner
|  | | |||  |+- Re: Solving the Floating-Point ConundrumThomas Koenig
|  | | |||  |`* Re: Solving the Floating-Point ConundrumTerje Mathisen
|  | | |||  | `- Re: Solving the Floating-Point ConundrumBGB
|  | | |||  `* Re: Solving the Floating-Point ConundrumTerje Mathisen
|  | | |||   +* Re: Solving the Floating-Point Conundrumcomp.arch
|  | | |||   `* Re: Solving the Floating-Point ConundrumMitchAlsup
|  | | ||`* Re: Solving the Floating-Point ConundrumQuadibloc
|  | | |`* Re: Solving the Floating-Point ConundrumJohn Levine
|  | | `- Re: Solving the Floating-Point ConundrumMitchAlsup
|  | +- Re: Solving the Floating-Point ConundrumQuadibloc
|  | `* Re: Solving the Floating-Point ConundrumStefan Monnier
|  +* Re: Solving the Floating-Point ConundrumBGB
|  `- Re: Solving the Floating-Point ConundrumThomas Koenig
+* Re: Solving the Floating-Point ConundrumMitchAlsup
`- Re: Solving the Floating-Point ConundrumQuadibloc

Pages:12345678910
Re: memory speeds, Solving the Floating-Point Conundrum

<9fb00843-3920-4be4-82f2-c9e665b63ecfn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34057&group=comp.arch#34057

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:4c1a:b0:656:1eb8:8faf with SMTP id qh26-20020a0562144c1a00b006561eb88fafmr64651qvb.5.1694814135849;
Fri, 15 Sep 2023 14:42:15 -0700 (PDT)
X-Received: by 2002:a4a:2557:0:b0:571:9ccb:f90a with SMTP id
v23-20020a4a2557000000b005719ccbf90amr1726463ooe.1.1694814135573; Fri, 15 Sep
2023 14:42:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Fri, 15 Sep 2023 14:42:15 -0700 (PDT)
In-Reply-To: <2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.230.96.169; posting-account=ujX_IwoAAACu0_cef9hMHeR8g0ZYDNHh
NNTP-Posting-Host: 71.230.96.169
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udspsq$27b0q$1@dont-email.me> <qrmMM.7$5jrd.6@fx06.iad> <udu7us$3v2e2$1@newsreader4.netcologne.de>
<ue0esp$ps2$1@gal.iecc.com> <TG_MM.3194$H0Ge.3155@fx05.iad> <2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9fb00843-3920-4be4-82f2-c9e665b63ecfn@googlegroups.com>
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
From: timcaffrey@aol.com (Timothy McCaffrey)
Injection-Date: Fri, 15 Sep 2023 21:42:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3261
 by: Timothy McCaffrey - Fri, 15 Sep 2023 21:42 UTC

On Friday, September 15, 2023 at 12:45:01 PM UTC-4, MitchAlsup wrote:
> On Friday, September 15, 2023 at 10:24:40 AM UTC-5, Scott Lurndal wrote:
> > John Levine <jo...@taugh.com> writes:
> > >According to Thomas Koenig <tko...@netcologne.de>:
> > >>Reading about this (I am too old to have used core memory computers
> > >>myself), I found it interesting that there was a time when CPUs
> > >>were bound by core memory speeds. Caches helped then, but were
> > >>very expensive.
> > >
> > >Caches arrived too late to help much.
> > >
> > >Core memory was invented in the early 1950s (by multiple people
> > >leading to lengthy and expensive patent fights) and was used
> > >commercially in the IBM 704 in 1954. It was the dominant kind
> > >of RAM until the early 1970s when MOS DRAM replaced it.
> > >
> > >The first computer with a cache was the 360/85, announced in early
> > >1968 but not shipped until the end of 1969.
> <
> CDC 6600 had a small loop buffer (like four 60-bit loop registers)
> CDC 7600 greatly expanded this buffer.
> <
> > I'm pretty sure that the B5500 had some form of small cache at
> > that point.

The CDC 6600 loop buffer (called, confusingly, "the stack") was something like
8 words IIRC, the 6400 had one too, but it was only one or two words.
The Cyber 170/750 had a 12 word loop buffer, so probably the 7600 was the same.
(There was a lot in common between those two systems). Yes, I coded one
or two loops by hand trying to get it to fit in that 12 word buffer....

The 6000 series used 32 banks of memory, the Cyber 170/750 was down to 8 (even
though it used semiconductor memory, probably SRAM). The 7600 I think had 16 banks,
but I'm not sure about that.

- Tim

Re: memory speeds, Solving the Floating-Point Conundrum

<2333daa0-dafe-41ff-894a-f16bf352ba67n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34059&group=comp.arch#34059

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:b94:b0:656:28b6:cca7 with SMTP id fe20-20020a0562140b9400b0065628b6cca7mr65622qvb.10.1694816307697;
Fri, 15 Sep 2023 15:18:27 -0700 (PDT)
X-Received: by 2002:a05:6870:7d07:b0:1d6:7a57:b48e with SMTP id
os7-20020a0568707d0700b001d67a57b48emr660770oab.6.1694816307371; Fri, 15 Sep
2023 15:18:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Fri, 15 Sep 2023 15:18:27 -0700 (PDT)
In-Reply-To: <9fb00843-3920-4be4-82f2-c9e665b63ecfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:4d5f:e2b1:6f40:1cb8;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:4d5f:e2b1:6f40:1cb8
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udspsq$27b0q$1@dont-email.me> <qrmMM.7$5jrd.6@fx06.iad> <udu7us$3v2e2$1@newsreader4.netcologne.de>
<ue0esp$ps2$1@gal.iecc.com> <TG_MM.3194$H0Ge.3155@fx05.iad>
<2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com> <9fb00843-3920-4be4-82f2-c9e665b63ecfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2333daa0-dafe-41ff-894a-f16bf352ba67n@googlegroups.com>
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Fri, 15 Sep 2023 22:18:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3691
 by: MitchAlsup - Fri, 15 Sep 2023 22:18 UTC

On Friday, September 15, 2023 at 4:42:17 PM UTC-5, Timothy McCaffrey wrote:
> On Friday, September 15, 2023 at 12:45:01 PM UTC-4, MitchAlsup wrote:
> > On Friday, September 15, 2023 at 10:24:40 AM UTC-5, Scott Lurndal wrote:
> > > John Levine <jo...@taugh.com> writes:
> > > >According to Thomas Koenig <tko...@netcologne.de>:
> > > >>Reading about this (I am too old to have used core memory computers
> > > >>myself), I found it interesting that there was a time when CPUs
> > > >>were bound by core memory speeds. Caches helped then, but were
> > > >>very expensive.
> > > >
> > > >Caches arrived too late to help much.
> > > >
> > > >Core memory was invented in the early 1950s (by multiple people
> > > >leading to lengthy and expensive patent fights) and was used
> > > >commercially in the IBM 704 in 1954. It was the dominant kind
> > > >of RAM until the early 1970s when MOS DRAM replaced it.
> > > >
> > > >The first computer with a cache was the 360/85, announced in early
> > > >1968 but not shipped until the end of 1969.
> > <
> > CDC 6600 had a small loop buffer (like four 60-bit loop registers)
> > CDC 7600 greatly expanded this buffer.
> > <
> > > I'm pretty sure that the B5500 had some form of small cache at
> > > that point.
> The CDC 6600 loop buffer (called, confusingly, "the stack") was something like
> 8 words IIRC, the 6400 had one too, but it was only one or two words.
<
The 6600 "stack" allowed for 30-bit instructions to span stack entries,
the 6400 stack did not. "Design of a computer" Thornton 1970.
<
> The Cyber 170/750 had a 12 word loop buffer, so probably the 7600 was the same.
> (There was a lot in common between those two systems). Yes, I coded one
> or two loops by hand trying to get it to fit in that 12 word buffer....
>
> The 6000 series used 32 banks of memory, the Cyber 170/750 was down to 8 (even
> though it used semiconductor memory, probably SRAM). The 7600 I think had 16 banks,
> but I'm not sure about that.
>
> - Tim

Re: memory speeds, Solving the Floating-Point Conundrum

<4676d59c-d446-418a-82e7-301b0c5a9b5fn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34061&group=comp.arch#34061

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:7f3:b0:656:2ff6:c592 with SMTP id bp19-20020a05621407f300b006562ff6c592mr83238qvb.8.1694823446139;
Fri, 15 Sep 2023 17:17:26 -0700 (PDT)
X-Received: by 2002:a05:6870:5a98:b0:1d6:3381:dfea with SMTP id
dt24-20020a0568705a9800b001d63381dfeamr1030847oab.1.1694823445904; Fri, 15
Sep 2023 17:17:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Fri, 15 Sep 2023 17:17:25 -0700 (PDT)
In-Reply-To: <TG_MM.3194$H0Ge.3155@fx05.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa34:c000:896b:a378:dc45:7f1d;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa34:c000:896b:a378:dc45:7f1d
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udspsq$27b0q$1@dont-email.me> <qrmMM.7$5jrd.6@fx06.iad> <udu7us$3v2e2$1@newsreader4.netcologne.de>
<ue0esp$ps2$1@gal.iecc.com> <TG_MM.3194$H0Ge.3155@fx05.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4676d59c-d446-418a-82e7-301b0c5a9b5fn@googlegroups.com>
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
From: jsavard@ecn.ab.ca (Quadibloc)
Injection-Date: Sat, 16 Sep 2023 00:17:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2036
 by: Quadibloc - Sat, 16 Sep 2023 00:17 UTC

On Friday, September 15, 2023 at 9:24:40 AM UTC-6, Scott Lurndal wrote:
> John Levine <jo...@taugh.com> writes:

> >The first computer with a cache was the 360/85, announced in early
> >1968 but not shipped until the end of 1969.

> I'm pretty sure that the B5500 had some form of small cache at
> that point.

Many computers, prior to the IBM System/360 Model 85, had small,
fast, scratchpad memories that they could use to speed up computation.

What originated with the model 85 was cache memory as we know it
today: a fast memory in which recently-used memory locations were
copied invisibly to the programmer.

John Savard

Re: memory speeds, Solving the Floating-Point Conundrum

<5af5dc9e-e4c1-4f83-9a11-94c96d547452n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34062&group=comp.arch#34062

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:5904:0:b0:650:304:5137 with SMTP id ez4-20020ad45904000000b0065003045137mr73446qvb.12.1694824103694;
Fri, 15 Sep 2023 17:28:23 -0700 (PDT)
X-Received: by 2002:a05:6830:606:b0:6b7:5382:4802 with SMTP id
w6-20020a056830060600b006b753824802mr843980oti.4.1694824103407; Fri, 15 Sep
2023 17:28:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Fri, 15 Sep 2023 17:28:23 -0700 (PDT)
In-Reply-To: <4676d59c-d446-418a-82e7-301b0c5a9b5fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:4d5f:e2b1:6f40:1cb8;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:4d5f:e2b1:6f40:1cb8
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udspsq$27b0q$1@dont-email.me> <qrmMM.7$5jrd.6@fx06.iad> <udu7us$3v2e2$1@newsreader4.netcologne.de>
<ue0esp$ps2$1@gal.iecc.com> <TG_MM.3194$H0Ge.3155@fx05.iad> <4676d59c-d446-418a-82e7-301b0c5a9b5fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5af5dc9e-e4c1-4f83-9a11-94c96d547452n@googlegroups.com>
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sat, 16 Sep 2023 00:28:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2560
 by: MitchAlsup - Sat, 16 Sep 2023 00:28 UTC

On Friday, September 15, 2023 at 7:17:28 PM UTC-5, Quadibloc wrote:
> On Friday, September 15, 2023 at 9:24:40 AM UTC-6, Scott Lurndal wrote:
> > John Levine <jo...@taugh.com> writes:
> > >The first computer with a cache was the 360/85, announced in early
> > >1968 but not shipped until the end of 1969.
>
> > I'm pretty sure that the B5500 had some form of small cache at
> > that point.
> Many computers, prior to the IBM System/360 Model 85, had small,
> fast, scratchpad memories that they could use to speed up computation.
>
> What originated with the model 85 was cache memory as we know it
> today: a fast memory in which recently-used memory locations were
> copied invisibly to the programmer.
<
The cache of the /85 combined with the pipeline of the /91 made for a machine
which was 2× as fast as the /91. That is: the /85 was the first machine that did
for the LDs/STs what the earlier buffers did for FETCH.
>
> John Savard

Re: memory speeds, Solving the Floating-Point Conundrum

<kmkc2mFubdjU2@mid.individual.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34064&group=comp.arch#34064

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: findlaybill@blueyonder.co.uk (moi)
Newsgroups: comp.arch
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
Date: Sat, 16 Sep 2023 01:44:06 +0100
Lines: 29
Message-ID: <kmkc2mFubdjU2@mid.individual.net>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udspsq$27b0q$1@dont-email.me> <qrmMM.7$5jrd.6@fx06.iad>
<udu7us$3v2e2$1@newsreader4.netcologne.de> <ue0esp$ps2$1@gal.iecc.com>
<TG_MM.3194$H0Ge.3155@fx05.iad>
<4676d59c-d446-418a-82e7-301b0c5a9b5fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net lGJiOXcY3k4E+6tj0dRHDwpVoynUVRRAruD1M7WlzxJrpF7TWn
Cancel-Lock: sha1:l19hi+t59tCkbVhJ2DtWpZMzVZY= sha256:/qsjufYHX0YCcod7Yvehg2ZAYSyEAnfNQ3sPyJv4ySg=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <4676d59c-d446-418a-82e7-301b0c5a9b5fn@googlegroups.com>
 by: moi - Sat, 16 Sep 2023 00:44 UTC

On 16/09/2023 01:17, Quadibloc wrote:
> On Friday, September 15, 2023 at 9:24:40 AM UTC-6, Scott Lurndal wrote:
>> John Levine <jo...@taugh.com> writes:
>
>>> The first computer with a cache was the 360/85, announced in early
>>> 1968 but not shipped until the end of 1969.
>
>> I'm pretty sure that the B5500 had some form of small cache at
>> that point.
>
> Many computers, prior to the IBM System/360 Model 85, had small,
> fast, scratchpad memories that they could use to speed up computation.
>
> What originated with the model 85 was cache memory as we know it
> today: a fast memory in which recently-used memory locations were
> copied invisibly to the programmer.
>
> John Savard

The IBM Stretch had a cache, called the 'virtual memory'!

BTW I much prefer the 360/85's original term: 'buffer'
to the now customary 'cache', since the ordinary meaning
of the latter is a hidden quantity, whereas the purpose
in a computer is the opposite -- to make something more,
not less, accessible.
--
Bill F.

Re: memory speeds, Solving the Floating-Point Conundrum

<75b47ceb-27b6-4e46-87df-76fe933843f9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34065&group=comp.arch#34065

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:2619:b0:76d:9ee4:2b2b with SMTP id z25-20020a05620a261900b0076d9ee42b2bmr75631qko.15.1694828347029;
Fri, 15 Sep 2023 18:39:07 -0700 (PDT)
X-Received: by 2002:a05:6808:1a19:b0:3a8:8729:8b9a with SMTP id
bk25-20020a0568081a1900b003a887298b9amr1420586oib.4.1694828346831; Fri, 15
Sep 2023 18:39:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Fri, 15 Sep 2023 18:39:06 -0700 (PDT)
In-Reply-To: <DQ0NM.794$AfZe.536@fx45.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa34:c000:896b:a378:dc45:7f1d;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa34:c000:896b:a378:dc45:7f1d
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udspsq$27b0q$1@dont-email.me> <qrmMM.7$5jrd.6@fx06.iad> <udu7us$3v2e2$1@newsreader4.netcologne.de>
<ue0esp$ps2$1@gal.iecc.com> <TG_MM.3194$H0Ge.3155@fx05.iad>
<2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com> <DQ0NM.794$AfZe.536@fx45.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75b47ceb-27b6-4e46-87df-76fe933843f9n@googlegroups.com>
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
From: jsavard@ecn.ab.ca (Quadibloc)
Injection-Date: Sat, 16 Sep 2023 01:39:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2570
 by: Quadibloc - Sat, 16 Sep 2023 01:39 UTC

On Friday, September 15, 2023 at 11:51:36 AM UTC-6, EricP wrote:

> I tracked the cache concept back as far as this
> 1962 paper from The National Cash Register Company.
>
> Considerations in the design of a computer with high
> logic-to-memory speed ratio 1962
> https://archive.computerhistory.org/resources/access/text/2020/10/102714096-05-01-acc.pdf
>
> "Look-aside consists of a set of logic speed registers, which are invisible
> to the programmer as they are never addressed and are not addressable by
> the programmer. Thus, they are, philosophically, part of the main memory.
> The conventional memory in this system will henceforth be called the
> "store" and the entire memory, including look-aside, will be referred
> to as "main memory".

Thank you! I did a search for references to that paper, and it appears this is
indeed where the cache memory concept originated.

I've updated one part of my web page where the Model 85 is mentioned in
order to reflect this and give credit where credit is due.

John Savard

Re: memory speeds, Solving the Floating-Point Conundrum

<ue36n4$2d1u$1@gal.iecc.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34066&group=comp.arch#34066

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.arch
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
Date: Sat, 16 Sep 2023 03:16:53 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <ue36n4$2d1u$1@gal.iecc.com>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com> <TG_MM.3194$H0Ge.3155@fx05.iad> <2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com> <DQ0NM.794$AfZe.536@fx45.iad>
Injection-Date: Sat, 16 Sep 2023 03:16:53 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="78910"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com> <TG_MM.3194$H0Ge.3155@fx05.iad> <2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com> <DQ0NM.794$AfZe.536@fx45.iad>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sat, 16 Sep 2023 03:16 UTC

According to EricP <ThatWouldBeTelling@thevillage.com>:
>I tracked the cache concept back as far as this
>1962 paper from The National Cash Register Company.
>
>Considerations in the design of a computer with high
>logic-to-memory speed ratio 1962
>https://archive.computerhistory.org/resources/access/text/2020/10/102714096-05-01-acc.pdf

Interesting paper, thanks for digging it up. I liked the way it did
LRU replacement using the charge on a capacitor to remember how old an
entry is.

But it looks like this was a paper design with a very small cache, 7
48=bit words in their example, that they never built. The /85's cache
was 16K bytes, expandable to 32K, and it definitely worked.

There were lots of buffers that acted sort of like caches. The 360/91
had am 8 word instruction fetch buffer, and could recognize when a
backward branch created a loop that fit entirely in the buffer, at
which point it entered "loop mode" and ran the loop with no further
instruction fetches. For some kinds of loops it was worth twiddling
your assmebler code to get the loop aligned right so it fit in
the buffer.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: Solving the Floating-Point Conundrum

<ue3kke$2irv$1@newsreader4.netcologne.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34068&group=comp.arch#34068

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-2885-0-fbe7-e863-e355-e146.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sat, 16 Sep 2023 07:14:22 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <ue3kke$2irv$1@newsreader4.netcologne.de>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com>
<5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Sep 2023 07:14:22 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-2885-0-fbe7-e863-e355-e146.ipv6dyn.netcologne.de:2001:4dd7:2885:0:fbe7:e863:e355:e146";
logging-data="84863"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sat, 16 Sep 2023 07:14 UTC

Timothy McCaffrey <timcaffrey@aol.com> schrieb:
> On Wednesday, September 13, 2023 at 10:02:45 AM UTC-4, Quadibloc wrote:
>> On Tuesday, September 12, 2023 at 1:09:38 PM UTC-6, MitchAlsup wrote:
>> > On Tuesday, September 12, 2023 at 12:32:41 AM UTC-5, Quadibloc wrote:
>>
>> > > Instead, have 36 bit floats by having a 36-bit word and 9-bit bytes.
>>
>> > Well that only took 2 years longer than it should have.
>> A number of the solutions I proposed to using variables of odd lengths
>> would work with reasonable efficiency, such as using a 12-bit unit and
>> simply using standard techniques for supporting access of unaligned
>> operands in memory - basically, use dual-channel memory, and everything
>> works just fine, with only a small overhead.
>
> I always thought 48 bit was a good length for FP,

The designers of the original ACS-1 (a supercomputer project by IBM)
would have agreed with you:

https://people.computing.clemson.edu/~mark/acs.html

Ironically, it was Gene Amdahl who shot down the 48-bit architecture in
favor of compatibility with /360, and then management decided that the
resulting computer would have been too fast. Amdahl left IBM (again)
and the rest is history.

Re: Solving the Floating-Point Conundrum

<e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34074&group=comp.arch#34074

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:162e:b0:63c:e916:a2cf with SMTP id e14-20020a056214162e00b0063ce916a2cfmr97294qvw.6.1694866619971;
Sat, 16 Sep 2023 05:16:59 -0700 (PDT)
X-Received: by 2002:a4a:45cc:0:b0:573:52fc:48fe with SMTP id
y195-20020a4a45cc000000b0057352fc48femr1416329ooa.1.1694866619712; Sat, 16
Sep 2023 05:16:59 -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, 16 Sep 2023 05:16:59 -0700 (PDT)
In-Reply-To: <43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa34:c000:dde4:2014:8bea:5b39;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa34:c000:dde4:2014:8bea:5b39
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com> <edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: jsavard@ecn.ab.ca (Quadibloc)
Injection-Date: Sat, 16 Sep 2023 12:16:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Quadibloc - Sat, 16 Sep 2023 12:16 UTC

On Thursday, September 14, 2023 at 11:06:36 PM UTC-6, Quadibloc wrote:

> So perhaps the option that needs to be taken is to allow 48-bit numbers
> to be saved either in vector form, or in scalar form, where scalar form is
> a 54-bit cell with six bits of unused space!

Further thought leads me to the conclusion that the architecture would need:

- scalar instructions for dealing with 48-bit FP, which would be stored in 54-bit
locations;
- the ability to move 54-bit floats either into the vector registers truncated to 48
bits, or expanded to 72 bits, and back again to memory
- a 144-bit temporary real format, and an extended precision built from two of them

John Savard

Re: Solving the Floating-Point Conundrum

<ue4c93$31ji$2@newsreader4.netcologne.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34076&group=comp.arch#34076

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-2885-0-fbe7-e863-e355-e146.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sat, 16 Sep 2023 13:57:55 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <ue4c93$31ji$2@newsreader4.netcologne.de>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com>
<5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com>
<edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
<e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Sep 2023 13:57:55 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-2885-0-fbe7-e863-e355-e146.ipv6dyn.netcologne.de:2001:4dd7:2885:0:fbe7:e863:e355:e146";
logging-data="99954"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sat, 16 Sep 2023 13:57 UTC

Quadibloc <jsavard@ecn.ab.ca> schrieb:
> On Thursday, September 14, 2023 at 11:06:36 PM UTC-6, Quadibloc wrote:
>
>> So perhaps the option that needs to be taken is to allow 48-bit numbers
>> to be saved either in vector form, or in scalar form, where scalar form is
>> a 54-bit cell with six bits of unused space!
>
> Further thought leads me to the conclusion that the architecture would need:
>
> - scalar instructions for dealing with 48-bit FP, which would be stored in 54-bit
> locations;
> - the ability to move 54-bit floats either into the vector registers truncated to 48
> bits, or expanded to 72 bits, and back again to memory
> - a 144-bit temporary real format, and an extended precision built from two of them

Far too complicated. Look at the ACS-1: 24 or 48 bit instructions
(where the 24-bit instructions have a 24-bit immediate), 48-bit
registers, 48 or 96 bits for floating point.

I think they did halfword (24 bit) or word loads. Presumably,
today one would use loads at byte offsets.

24 bits is enough to put in three-register instructions, and 24
bits is a fairly big size for offsets.

Probably more than 95% of existing software would break due to
hardwired assumptions about bit sizes of integers, though :-)

Re: memory speeds, Solving the Floating-Point Conundrum

<n2kNM.25917$hmAd.8194@fx12.iad>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34077&group=comp.arch#34077

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
From: ThatWouldBeTelling@thevillage.com (EricP)
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
Newsgroups: comp.arch
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com> <TG_MM.3194$H0Ge.3155@fx05.iad> <2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com> <DQ0NM.794$AfZe.536@fx45.iad> <ue36n4$2d1u$1@gal.iecc.com>
In-Reply-To: <ue36n4$2d1u$1@gal.iecc.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 47
Message-ID: <n2kNM.25917$hmAd.8194@fx12.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Sat, 16 Sep 2023 15:43:15 UTC
Date: Sat, 16 Sep 2023 11:42:50 -0400
X-Received-Bytes: 2694
 by: EricP - Sat, 16 Sep 2023 15:42 UTC

John Levine wrote:
> According to EricP <ThatWouldBeTelling@thevillage.com>:
>> I tracked the cache concept back as far as this
>> 1962 paper from The National Cash Register Company.
>>
>> Considerations in the design of a computer with high
>> logic-to-memory speed ratio 1962
>> https://archive.computerhistory.org/resources/access/text/2020/10/102714096-05-01-acc.pdf
>
> Interesting paper, thanks for digging it up. I liked the way it did
> LRU replacement using the charge on a capacitor to remember how old an
> entry is.

It also has an "eventual address register" :-)

> But it looks like this was a paper design with a very small cache, 7
> 48=bit words in their example, that they never built.

That design was also fully associative, and would have been built
from discrete transistors so each entry would have been fairly bulky.

To be useful it needs much higher density,
which the 360/85 gets from its custom memory chips (see below).

> The /85's cache
> was 16K bytes, expandable to 32K, and it definitely worked.
>
> There were lots of buffers that acted sort of like caches. The 360/91
> had am 8 word instruction fetch buffer, and could recognize when a
> backward branch created a loop that fit entirely in the buffer, at
> which point it entered "loop mode" and ran the loop with no further
> instruction fetches. For some kinds of loops it was worth twiddling
> your assmebler code to get the loop aligned right so it fit in
> the buffer.
>

I found some details for the 360/85 cache design.
It used IBM designed 64-bit bipolar memory chips,
mounted two in a 1/2 inch sq module.
Speed was 7 ns read, 12 ns write.

The cache line is 64B, and appears to be direct mapped.
Cache read access takes 2 cycles, one for tag one for data, pipelined.

360/85 had 80 ns cycle. Main memory was 1 us cores, 4 way interlieved.

Re: memory speeds, Solving the Floating-Point Conundrum

<30aa8381-ab3f-4964-9273-180665c7ae19n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34078&group=comp.arch#34078

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:4e31:0:b0:63d:b79:43ab with SMTP id dm17-20020ad44e31000000b0063d0b7943abmr137609qvb.4.1694882263771;
Sat, 16 Sep 2023 09:37:43 -0700 (PDT)
X-Received: by 2002:a05:6808:ec4:b0:3a8:41a7:eafc with SMTP id
q4-20020a0568080ec400b003a841a7eafcmr1939526oiv.7.1694882263551; Sat, 16 Sep
2023 09:37:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 16 Sep 2023 09:37:43 -0700 (PDT)
In-Reply-To: <n2kNM.25917$hmAd.8194@fx12.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:8d7f:9d67:a88a:b912;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:8d7f:9d67:a88a:b912
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<TG_MM.3194$H0Ge.3155@fx05.iad> <2332d098-8ff4-496c-85cb-502ddf501054n@googlegroups.com>
<DQ0NM.794$AfZe.536@fx45.iad> <ue36n4$2d1u$1@gal.iecc.com> <n2kNM.25917$hmAd.8194@fx12.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <30aa8381-ab3f-4964-9273-180665c7ae19n@googlegroups.com>
Subject: Re: memory speeds, Solving the Floating-Point Conundrum
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sat, 16 Sep 2023 16:37:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3743
 by: MitchAlsup - Sat, 16 Sep 2023 16:37 UTC

On Saturday, September 16, 2023 at 10:43:19 AM UTC-5, EricP wrote:
> John Levine wrote:
> > According to EricP <ThatWould...@thevillage.com>:
> >> I tracked the cache concept back as far as this
> >> 1962 paper from The National Cash Register Company.
> >>
> >> Considerations in the design of a computer with high
> >> logic-to-memory speed ratio 1962
> >> https://archive.computerhistory.org/resources/access/text/2020/10/102714096-05-01-acc.pdf
> >
> > Interesting paper, thanks for digging it up. I liked the way it did
> > LRU replacement using the charge on a capacitor to remember how old an
> > entry is.
> It also has an "eventual address register" :-)
> > But it looks like this was a paper design with a very small cache, 7
> > 48=bit words in their example, that they never built.
> That design was also fully associative, and would have been built
> from discrete transistors so each entry would have been fairly bulky.
>
> To be useful it needs much higher density,
> which the 360/85 gets from its custom memory chips (see below).
<
Counter point: Mc 88020 had a 256-byte ICache with ~70% hit ratio.
This was just big enough so that Data references and instruction
references seldom conflicted on the external bus. I would call this
"useful".
<
> > The /85's cache
> > was 16K bytes, expandable to 32K, and it definitely worked.
> >
> > There were lots of buffers that acted sort of like caches. The 360/91
> > had am 8 word instruction fetch buffer, and could recognize when a
> > backward branch created a loop that fit entirely in the buffer, at
> > which point it entered "loop mode" and ran the loop with no further
> > instruction fetches. For some kinds of loops it was worth twiddling
> > your assmebler code to get the loop aligned right so it fit in
> > the buffer.
> >
> I found some details for the 360/85 cache design.
> It used IBM designed 64-bit bipolar memory chips,
> mounted two in a 1/2 inch sq module.
> Speed was 7 ns read, 12 ns write.
>
> The cache line is 64B, and appears to be direct mapped.
> Cache read access takes 2 cycles, one for tag one for data, pipelined.
>
> 360/85 had 80 ns cycle. Main memory was 1 us cores, 4 way interlieved.

Re: Solving the Floating-Point Conundrum

<8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34084&group=comp.arch#34084

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:4383:b0:76d:7267:2582 with SMTP id a3-20020a05620a438300b0076d72672582mr106081qkp.7.1694895050363;
Sat, 16 Sep 2023 13:10:50 -0700 (PDT)
X-Received: by 2002:a05:6808:198a:b0:3a1:f295:3e with SMTP id
bj10-20020a056808198a00b003a1f295003emr2112451oib.1.1694895050063; Sat, 16
Sep 2023 13:10:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.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: Sat, 16 Sep 2023 13:10:49 -0700 (PDT)
In-Reply-To: <43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:8d7f:9d67:a88a:b912;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:8d7f:9d67:a88a:b912
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com> <edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sat, 16 Sep 2023 20:10:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 73
 by: MitchAlsup - Sat, 16 Sep 2023 20:10 UTC

On Friday, September 15, 2023 at 12:06:36 AM UTC-5, Quadibloc wrote:
> On Thursday, September 14, 2023 at 9:59:13 AM UTC-6, Quadibloc wrote:
>
> > But I included a 48-bit precision, designed to give 11 bits of precision and
> > an exponent range that included that of a pocket calculator - 10 ^ +/- 99.
<
> Intermediate precision touches on what remains unsolved.
<
COBOL had it solved for fixed point arithmetic, and to some extent PL/1.
<
IEEE 754 has it solved at a handwaving level between rounding:: Things are
computed as if with infinite accuracy and then rounded to fit the defined
container.
<
The COBOL-PL/1 has too much specificity on the intermediate results that
only numerical methods people are happy. IEEE has too little specificity
that only hardware designers are challenged.
<
Neither seems to be acceptable for programming languages to expose
intermediate results to programmers.
>
> Changing from 36 bits and 60 bits to 36 bits and 72 bits gets to a conventional
> architecture, where there is no need for complications in addressing or memory
> structure to handle the single and double precision types.
>
> A 54-bit intermediate precision can easily be addressed - and handling scalars
> is simple enough on any system that can support unaligned operands. That
> basically just requires dual channel memory and appropriate shifting circuitry
> in the memory access path.
>
> But that only works for scalars. What about vectors of intermediate precision
> quantities?
<
Quires (Posit) work for reduction operations (at considerable expense)
>
> One can have a vector register composed of a number of 72-bit registers,
> and one can have it handle twice as many 36-bit values by having one in
> each half of the register. That would make for rapid transfers to and from
> memory that are simple conceptually.
>
> If one does it that way, one could handle intermediate precision by doubling
> the width of the individual portions of the vector register - so that it's made
> up of 144-bit registers that can hold two double-precision numbers or four
> single-precision numbers. That could also hold three intermediate precision
> numbers... that are 48 bits in length.
>
> Putting numbers like that in memory, though, makes for very complicated
> addressing.
>
> So perhaps the option that needs to be taken is to allow 48-bit numbers
> to be saved either in vector form, or in scalar form, where scalar form is
> a 54-bit cell with six bits of unused space!
>
> John Savard

Re: Solving the Floating-Point Conundrum

<ddab17fe-901c-4199-b1cb-3ee46dc6ee27n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34085&group=comp.arch#34085

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:4f86:0:b0:63c:f62c:45dd with SMTP id em6-20020ad44f86000000b0063cf62c45ddmr150243qvb.5.1694897762238;
Sat, 16 Sep 2023 13:56:02 -0700 (PDT)
X-Received: by 2002:a05:6808:bcd:b0:3ab:9bb9:2399 with SMTP id
o13-20020a0568080bcd00b003ab9bb92399mr2207368oik.10.1694897762054; Sat, 16
Sep 2023 13:56:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.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: Sat, 16 Sep 2023 13:56:01 -0700 (PDT)
In-Reply-To: <udspsq$27b0q$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:8d7f:9d67:a88a:b912;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:8d7f:9d67:a88a:b912
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<093b4223-81e2-4a15-bd70-b5ecb3264e30n@googlegroups.com> <udspsq$27b0q$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ddab17fe-901c-4199-b1cb-3ee46dc6ee27n@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sat, 16 Sep 2023 20:56:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 53
 by: MitchAlsup - Sat, 16 Sep 2023 20:56 UTC

On Wednesday, September 13, 2023 at 12:01:18 PM UTC-5, BGB wrote:
> On 9/13/2023 10:43 AM, MitchAlsup wrote:
> > On Wednesday, September 13, 2023 at 9:02:45 AM UTC-5, Quadibloc wrote:
> >> On Tuesday, September 12, 2023 at 1:09:38 PM UTC-6, MitchAlsup wrote:
> >>> On Tuesday, September 12, 2023 at 12:32:41 AM UTC-5, Quadibloc wrote:
> >>
> >>>> Instead, have 36 bit floats by having a 36-bit word and 9-bit bytes.
> >>
> >>> Well that only took 2 years longer than it should have.
> > <
> >> A number of the solutions I proposed to using variables of odd lengths
> >> would work with reasonable efficiency, such as using a 12-bit unit and
> >> simply using standard techniques for supporting access of unaligned
> >> operands in memory - basically, use dual-channel memory, and everything
> >> works just fine, with only a small overhead.
> >>
> >> But I wasn't satisfied since my goal is a blazingly-fast vector architecture,
> > <
> > I should note: almost all computers known in their day as being blazingly fast
> > were extremely simple......
> > <
> Yeah.
>
> Early on, maximizing clock speed seemed to be the ideal.
> More MHz, more instructions per second, more fast.
> The "More MHz" part being achieved by minimizing unnecessary logic.
>
The 100ns CDC 6600 was around 2× faster than IBM 360/65 at 60ns.....
Concurrency beats pipelining at least for scientific computing.
>
> But, when there is an upper limit to MHz, it may become more practical
> not to try to build a race car, and instead build a dump-truck.
<
A GPU with thousands of shader cores at 1ns beats a chip full of x86-64s
at 0.2ns...........................for embarrassingly parallel workloads.
>
> Like, the race-car might be able to drive around faster, but the
> dump-truck can haul far more than the race-car could ever hope to manage.
<
You should be comparing a number of WEC cars against 1 dump truck with the
same total loaded weight. WEC cars are less than 2000 pounds whereas a dump
truck is 80,000 pounds loaded, so 40 race cars versus 1 dump truck--which is
pretty much like a GPU against a CPU.
<

Re: Solving the Floating-Point Conundrum

<0c08d0a3-863d-4c07-be52-16476ad930ddn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34086&group=comp.arch#34086

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:58e8:0:b0:655:baed:c94b with SMTP id di8-20020ad458e8000000b00655baedc94bmr160930qvb.0.1694898289803; Sat, 16 Sep 2023 14:04:49 -0700 (PDT)
X-Received: by 2002:a05:6870:5aa6:b0:1c0:eac2:979c with SMTP id dt38-20020a0568705aa600b001c0eac2979cmr1985943oab.3.1694898289492; Sat, 16 Sep 2023 14:04:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.18.MISMATCH!border-1.nntp.ord.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: Sat, 16 Sep 2023 14:04:49 -0700 (PDT)
In-Reply-To: <ue4c93$31ji$2@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa34:c000:2845:deba:48ac:d8ef; posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa34:c000:2845:deba:48ac:d8ef
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com> <a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com> <c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com> <edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com> <43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com> <e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com> <ue4c93$31ji$2@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0c08d0a3-863d-4c07-be52-16476ad930ddn@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: jsavard@ecn.ab.ca (Quadibloc)
Injection-Date: Sat, 16 Sep 2023 21:04:49 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 19
 by: Quadibloc - Sat, 16 Sep 2023 21:04 UTC

On Saturday, September 16, 2023 at 7:57:59 AM UTC-6, Thomas Koenig wrote:

> Far too complicated. Look at the ACS-1: 24 or 48 bit instructions
> (where the 24-bit instructions have a 24-bit immediate), 48-bit
> registers, 48 or 96 bits for floating point.

_That_ isn't an option.

The _simple_ part is: 36 bit single precision, 72 bit double precision. Just
like today's machines with 32 bit single precision and 64 bit double precision,
just longer.

Intermediate precision is allowed to be complicated by having both 48 bit
and 54 bit lengths to avoid accomodating it by introducing the complicated
memory organization I tried to avoid. It is a lower priority.

John Savard

Re: Solving the Floating-Point Conundrum

<ue55t2$3kj4$1@newsreader4.netcologne.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34087&group=comp.arch#34087

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-2885-0-fbe7-e863-e355-e146.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sat, 16 Sep 2023 21:15:14 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <ue55t2$3kj4$1@newsreader4.netcologne.de>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com>
<5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com>
<edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
<e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com>
<ue4c93$31ji$2@newsreader4.netcologne.de>
<0c08d0a3-863d-4c07-be52-16476ad930ddn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Sep 2023 21:15:14 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-2885-0-fbe7-e863-e355-e146.ipv6dyn.netcologne.de:2001:4dd7:2885:0:fbe7:e863:e355:e146";
logging-data="119396"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sat, 16 Sep 2023 21:15 UTC

Quadibloc <jsavard@ecn.ab.ca> schrieb:
> On Saturday, September 16, 2023 at 7:57:59 AM UTC-6, Thomas Koenig wrote:
>
>> Far too complicated. Look at the ACS-1: 24 or 48 bit instructions
>> (where the 24-bit instructions have a 24-bit immediate), 48-bit
>> registers, 48 or 96 bits for floating point.
>
> _That_ isn't an option.

Why not?

Re: Solving the Floating-Point Conundrum

<1979525822.716594753.744215.acolvin-efunct.com@news.eternal-september.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34088&group=comp.arch#34088

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: acolvin@efunct.com (mac)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sat, 16 Sep 2023 23:34:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <1979525822.716594753.744215.acolvin-efunct.com@news.eternal-september.org>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udouas$1eb11$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Sep 2023 23:34:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="58a35493ad78735372b83fc4994cc5d2";
logging-data="60908"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hef/kOBoXXOu+AQLv1mhj"
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:MgcKq/XpJ7jVK68XE6djjdLgw6M=
sha1:eSm1EoW3eMW3zjchVdsnGdJuH/k=
 by: mac - Sat, 16 Sep 2023 23:34 UTC

>> Instead, have 36 bit floats by having a 36-bit word and 9-bit bytes.
>> That double-precision numbers are 72 bits long

> Congratulations! You have reinvented the Univac 1108! :-)

GE 635, Honeywell 6000s

The One True byte width

Re: Solving the Floating-Point Conundrum

<c3630355-f262-44c5-9658-30c3243b0778n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34091&group=comp.arch#34091

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5e0b:0:b0:411:f5f6:4ac1 with SMTP id h11-20020ac85e0b000000b00411f5f64ac1mr103860qtx.11.1694929231731;
Sat, 16 Sep 2023 22:40:31 -0700 (PDT)
X-Received: by 2002:a05:6870:98a6:b0:1d6:d2c7:5eb with SMTP id
eg38-20020a05687098a600b001d6d2c705ebmr721126oab.7.1694929231552; Sat, 16 Sep
2023 22:40:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 16 Sep 2023 22:40:31 -0700 (PDT)
In-Reply-To: <ue55t2$3kj4$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa34:c000:2845:deba:48ac:d8ef;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa34:c000:2845:deba:48ac:d8ef
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com> <edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com> <e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com>
<ue4c93$31ji$2@newsreader4.netcologne.de> <0c08d0a3-863d-4c07-be52-16476ad930ddn@googlegroups.com>
<ue55t2$3kj4$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c3630355-f262-44c5-9658-30c3243b0778n@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: jsavard@ecn.ab.ca (Quadibloc)
Injection-Date: Sun, 17 Sep 2023 05:40:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2980
 by: Quadibloc - Sun, 17 Sep 2023 05:40 UTC

On Saturday, September 16, 2023 at 3:15:17 PM UTC-6, Thomas Koenig wrote:
> Quadibloc <jsa...@ecn.ab.ca> schrieb:
> > On Saturday, September 16, 2023 at 7:57:59 AM UTC-6, Thomas Koenig wrote:
> >
> >> Far too complicated. Look at the ACS-1: 24 or 48 bit instructions
> >> (where the 24-bit instructions have a 24-bit immediate), 48-bit
> >> registers, 48 or 96 bits for floating point.
> >
> > _That_ isn't an option.
> Why not?

I thought that was explained in what followed. My primary goal
was to extend and improve on the current convention - single precision
32 bits, double precision 64 bits - by going to 36 bits for single
precision, as that was found adequate for many applications back
in the days of the 7090.

Adding intermediate precision is useful - because that precision
seems to correspond to what was considered the reasonablel
standard for precise scientific computations for quite some time -
but it's still secondary to the types which fill the standard single and
double precision.

And the other goal of the design is to avoid having to do things like
divide by three to address any variable in physical memory. So the
word size has to be designed around 36 bits, not anything else.

John Savard

Re: Solving the Floating-Point Conundrum

<ue69re$4ahb$1@newsreader4.netcologne.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34092&group=comp.arch#34092

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-2885-0-832c-f82f-4466-67fc.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sun, 17 Sep 2023 07:28:46 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <ue69re$4ahb$1@newsreader4.netcologne.de>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com>
<5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com>
<edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
<e1306733-9b2b-4bb9-9e30-f691eaa490d7n@googlegroups.com>
<ue4c93$31ji$2@newsreader4.netcologne.de>
<0c08d0a3-863d-4c07-be52-16476ad930ddn@googlegroups.com>
<ue55t2$3kj4$1@newsreader4.netcologne.de>
<c3630355-f262-44c5-9658-30c3243b0778n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 17 Sep 2023 07:28:46 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-2885-0-832c-f82f-4466-67fc.ipv6dyn.netcologne.de:2001:4dd7:2885:0:832c:f82f:4466:67fc";
logging-data="141867"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sun, 17 Sep 2023 07:28 UTC

Quadibloc <jsavard@ecn.ab.ca> schrieb:
> On Saturday, September 16, 2023 at 3:15:17 PM UTC-6, Thomas Koenig wrote:
>> Quadibloc <jsa...@ecn.ab.ca> schrieb:
>> > On Saturday, September 16, 2023 at 7:57:59 AM UTC-6, Thomas Koenig wrote:
>> >
>> >> Far too complicated. Look at the ACS-1: 24 or 48 bit instructions
>> >> (where the 24-bit instructions have a 24-bit immediate), 48-bit
>> >> registers, 48 or 96 bits for floating point.
>> >
>> > _That_ isn't an option.
>> Why not?
>
> I thought that was explained in what followed. My primary goal
> was to extend and improve on the current convention - single precision
> 32 bits, double precision 64 bits - by going to 36 bits for single
> precision, as that was found adequate for many applications back
> in the days of the 7090.

So, and improvement, but not too much of an improvement :-)

However, anything that is not a multiple of eight bits will not
fly - just try porting binutils to such an architecture.

In that case, it is probably better to go to an IEEE-like system
with 40 bits (eight bit exponent, one sign bit, leading bit always
1 - you can also do arithmetic using 32-bit instructions then).
If you want to look towards the past, the IBM 1130 had a format
like that.

For double precision, use the established 80-bit format used by
the 80x87.

Re: Solving the Floating-Point Conundrum

<ue6a46$4ahb$2@newsreader4.netcologne.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34093&group=comp.arch#34093

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-2885-0-832c-f82f-4466-67fc.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sun, 17 Sep 2023 07:33:26 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <ue6a46$4ahb$2@newsreader4.netcologne.de>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<udouas$1eb11$1@dont-email.me>
<1979525822.716594753.744215.acolvin-efunct.com@news.eternal-september.org>
Injection-Date: Sun, 17 Sep 2023 07:33:26 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-2885-0-832c-f82f-4466-67fc.ipv6dyn.netcologne.de:2001:4dd7:2885:0:832c:f82f:4466:67fc";
logging-data="141867"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sun, 17 Sep 2023 07:33 UTC

mac <acolvin@efunct.com> schrieb:
>>> Instead, have 36 bit floats by having a 36-bit word and 9-bit bytes.
>>> That double-precision numbers are 72 bits long
>
>> Congratulations! You have reinvented the Univac 1108! :-)
>
> GE 635, Honeywell 6000s
>
> The One True byte width

According to Wikipedia, they had either six or nine bits.
Which one do you mean?
>

Re: Solving the Floating-Point Conundrum

<ue6s4n$cgaq$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34097&group=comp.arch#34097

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.mathisen@tmsw.no (Terje Mathisen)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sun, 17 Sep 2023 14:40:55 +0200
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <ue6s4n$cgaq$1@dont-email.me>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com>
<5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com>
<edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
<8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 17 Sep 2023 12:40:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="58078478c3917e2b277789236d194109";
logging-data="409946"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184mls75z8znttMLtfDs+HYspxB66EK85wYHOwuuQ1zTw=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.17
Cancel-Lock: sha1:45RGHQv99NvPPqCjkehLMY2DI94=
In-Reply-To: <8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>
 by: Terje Mathisen - Sun, 17 Sep 2023 12:40 UTC

MitchAlsup wrote:
> On Friday, September 15, 2023 at 12:06:36 AM UTC-5, Quadibloc wrote:
>> On Thursday, September 14, 2023 at 9:59:13 AM UTC-6, Quadibloc wrote:
>>
>>> But I included a 48-bit precision, designed to give 11 bits of precision and
>>> an exponent range that included that of a pocket calculator - 10 ^ +/- 99.
> <
>> Intermediate precision touches on what remains unsolved.
> <
> COBOL had it solved for fixed point arithmetic, and to some extent PL/1.
> <
> IEEE 754 has it solved at a handwaving level between rounding:: Things are
> computed as if with infinite accuracy and then rounded to fit the defined
> container.
> <
> The COBOL-PL/1 has too much specificity on the intermediate results that
> only numerical methods people are happy. IEEE has too little specificity
> that only hardware designers are challenged.
> <
> Neither seems to be acceptable for programming languages to expose
> intermediate results to programmers.

I think the idea from the very beginning was that you would do
intermediate calculations in the next size up (i.e. float->double->quad)
and then do a final rounding to the target presision.

Only when the target precision is high enough that intermediate
cancellations/roundings doesn't matter and/or the algorithm is always
very well-behaved, like a NR iteration that doubles the precision for
every stage, should you expect to be able to do all calculation in the
same format.

The main problem here is of course that double is fast on pretty much
all architectures these days, while quad is either missing or much
(sometimes much, much) slower.

Secondarily, SIMD ops work very poorly or not at all with double-wide
intermediates.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: Solving the Floating-Point Conundrum

<f097448b-e691-424b-b121-eab931c61d87n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34099&group=comp.arch#34099

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:59d2:0:b0:63d:a43:7b06 with SMTP id el18-20020ad459d2000000b0063d0a437b06mr152416qvb.9.1694965570911;
Sun, 17 Sep 2023 08:46:10 -0700 (PDT)
X-Received: by 2002:a05:6830:1bc5:b0:6bd:749:f5cf with SMTP id
v5-20020a0568301bc500b006bd0749f5cfmr1811926ota.5.1694965570573; Sun, 17 Sep
2023 08:46:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sun, 17 Sep 2023 08:46:10 -0700 (PDT)
In-Reply-To: <8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa34:c000:8984:7a7a:51ae:dc9a;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa34:c000:8984:7a7a:51ae:dc9a
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com> <edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com> <8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f097448b-e691-424b-b121-eab931c61d87n@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: jsavard@ecn.ab.ca (Quadibloc)
Injection-Date: Sun, 17 Sep 2023 15:46:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2277
 by: Quadibloc - Sun, 17 Sep 2023 15:46 UTC

On Saturday, September 16, 2023 at 2:10:52 PM UTC-6, MitchAlsup wrote:
> On Friday, September 15, 2023 at 12:06:36 AM UTC-5, Quadibloc wrote:

> > Intermediate precision touches on what remains unsolved.
> <
> COBOL had it solved for fixed point arithmetic, and to some extent PL/1.

By "intermediate precision" I mean 48-bit or 54-bit floating-point on the computer
which is built around a 36-bit word in order to provide 36-bit and 72-bit floats.

That's not a power-of-two length, so how do I keep using these numbers both
efficient and simple?

I wasn't referring to something for intermediate results, like the temporary
real of the 8087.

John Savard

Re: Solving the Floating-Point Conundrum

<ue788u$4u5l$1@newsreader4.netcologne.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34100&group=comp.arch#34100

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd6-397b-0-6a4d-af66-9329-622a.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sun, 17 Sep 2023 16:07:58 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <ue788u$4u5l$1@newsreader4.netcologne.de>
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com>
<a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com>
<5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com>
<c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com>
<edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com>
<43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com>
<8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com>
<f097448b-e691-424b-b121-eab931c61d87n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 17 Sep 2023 16:07:58 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd6-397b-0-6a4d-af66-9329-622a.ipv6dyn.netcologne.de:2001:4dd6:397b:0:6a4d:af66:9329:622a";
logging-data="161973"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sun, 17 Sep 2023 16:07 UTC

Quadibloc <jsavard@ecn.ab.ca> schrieb:
> On Saturday, September 16, 2023 at 2:10:52 PM UTC-6, MitchAlsup wrote:
>> On Friday, September 15, 2023 at 12:06:36 AM UTC-5, Quadibloc wrote:
>
>> > Intermediate precision touches on what remains unsolved.
>> <
>> COBOL had it solved for fixed point arithmetic, and to some extent PL/1.
>
> By "intermediate precision" I mean 48-bit or 54-bit floating-point on the computer
> which is built around a 36-bit word in order to provide 36-bit and 72-bit floats.
>
> That's not a power-of-two length, so how do I keep using these numbers both
> efficient and simple?

Make the architecture byte-addressable, with another width for the
bytes; possible choices are 6 and 9.

Six bits has the problem of not having being able to process ASCII,
so nine bits per byte is a logical choice. This also has the
advantage that the number of bytes per word is a power of two,
so no gaps in addressing, and a classic C loop over a string has
a chance of being implemented efficiently.

Then make your architecture capable of misaligned loads and stores
and an extra floating point format, maybe 45 bits, with 9 bits
exponent and 36 bits of significand.

If you start out with word-addressable machines, like all the old
IBM 704/UNIVAC 1100/GE 6xx/PDP-10 machines, you end up causing a
lot of hassle and/or wasting a lot of space.

Re: Solving the Floating-Point Conundrum

<84114966-a386-4398-93b6-26cfd1022c4bn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34102&group=comp.arch#34102

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:415:b0:649:7b86:8aaa with SMTP id z21-20020a056214041500b006497b868aaamr470675qvx.0.1694973264336; Sun, 17 Sep 2023 10:54:24 -0700 (PDT)
X-Received: by 2002:a05:6870:3a2f:b0:1d5:8e96:7d85 with SMTP id du47-20020a0568703a2f00b001d58e967d85mr2685457oab.1.1694973263998; Sun, 17 Sep 2023 10:54:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.14.MISMATCH!border-1.nntp.ord.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, 17 Sep 2023 10:54:23 -0700 (PDT)
In-Reply-To: <f097448b-e691-424b-b121-eab931c61d87n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:bc30:160b:97b3:1ffb; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:bc30:160b:97b3:1ffb
References: <57c5e077-ac71-486c-8afa-edd6802cf6b1n@googlegroups.com> <a0dd4fb4-d708-48ae-9764-3ce5e24aec0cn@googlegroups.com> <5fa92a78-d27c-4dff-a3dc-35ee7b43cbfan@googlegroups.com> <c9131381-2e9b-4008-bc43-d4df4d4d8ab4n@googlegroups.com> <edb0d2c4-1689-44b4-ae81-5ab1ef234f8en@googlegroups.com> <43901a10-4859-43d7-b500-70030047c8b2n@googlegroups.com> <8a5563da-3be8-40f7-bfb9-39eb5e889c8an@googlegroups.com> <f097448b-e691-424b-b121-eab931c61d87n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <84114966-a386-4398-93b6-26cfd1022c4bn@googlegroups.com>
Subject: Re: Solving the Floating-Point Conundrum
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sun, 17 Sep 2023 17:54:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: MitchAlsup - Sun, 17 Sep 2023 17:54 UTC

On Sunday, September 17, 2023 at 10:46:12 AM UTC-5, Quadibloc wrote:
> On Saturday, September 16, 2023 at 2:10:52 PM UTC-6, MitchAlsup wrote:
> > On Friday, September 15, 2023 at 12:06:36 AM UTC-5, Quadibloc wrote:
>
> > > Intermediate precision touches on what remains unsolved.
> > <
> > COBOL had it solved for fixed point arithmetic, and to some extent PL/1..
<
> By "intermediate precision" I mean 48-bit or 54-bit floating-point on the computer
> which is built around a 36-bit word in order to provide 36-bit and 72-bit floats.
<
The COBOL programmer could specify the number of digits and the position
of the decimal point for the operands, intermediates and results (PICTURE)
in digit units.
>
> That's not a power-of-two length, so how do I keep using these numbers both
> efficient and simple?
>
> I wasn't referring to something for intermediate results, like the temporary
> real of the 8087.
>
> John Savard

Re: Solving the Floating-Point Conundrum

<memo.20230917185814.16292G@jgd.cix.co.uk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=34105&group=comp.arch#34105

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jgd@cix.co.uk (John Dallman)
Newsgroups: comp.arch
Subject: Re: Solving the Floating-Point Conundrum
Date: Sun, 17 Sep 2023 18:58 +0100 (BST)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <memo.20230917185814.16292G@jgd.cix.co.uk>
References: <ue788u$4u5l$1@newsreader4.netcologne.de>
Reply-To: jgd@cix.co.uk
Injection-Info: dont-email.me; posting-host="ef468e558c07a961221e3632f0a81d87";
logging-data="518650"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4xGPfGWVZQP+bNgWjNlR0seYZaIOMHb4="
Cancel-Lock: sha1:b2HoizWnZQilsKshid7Xi5yaa2M=
 by: John Dallman - Sun, 17 Sep 2023 17:58 UTC

In article <ue788u$4u5l$1@newsreader4.netcologne.de>,
tkoenig@netcologne.de (Thomas Koenig) wrote:

Quadibloc <jsavard@ecn.ab.ca> schrieb:

> By "intermediate precision" I mean 48-bit or 54-bit floating-point
> on the computer which is built around a 36-bit word in order to
> provide 36-bit and 72-bit floats.

I don't understand why you feel this is valuable. Are there any
architectures that have been used since about 1970 (when the Atlas
machines were shut down) that provide it? Is there software suffering
because it doesn't have it and needs to make do with double precision? No
architecture can do everything efficiently.

> If you start out with word-addressable machines, like all the old
> IBM 704/UNIVAC 1100/GE 6xx/PDP-10 machines, you end up causing a
> lot of hassle and/or wasting a lot of space.

Amen to that. I have never worked on one, but I've done enough BCPL to
get the idea.

John


devel / comp.arch / Re: Solving the Floating-Point Conundrum

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor