Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

It is easier to change the specification to fit the program than vice versa.


devel / comp.arch / Re: The synergy of type tags on register file registers

SubjectAuthor
* The synergy of type tags on register file registersJimBrakefield
+* Re: The synergy of type tags on register file registersTerje Mathisen
|`- Re: The synergy of type tags on register file registersrobf...@gmail.com
`* Re: The synergy of type tags on register file registersluke.l...@gmail.com
 +* Re: The synergy of type tags on register file registersluke.l...@gmail.com
 |`- Re: The synergy of type tags on register file registersScott Lurndal
 +* Re: The synergy of type tags on register file registersNiklas Holsti
 |`- Re: The synergy of type tags on register file registersluke.l...@gmail.com
 `* Re: The synergy of type tags on register file registersMitchAlsup
  +* Re: The synergy of type tags on register file registersJimBrakefield
  |+- Re: The synergy of type tags on register file registersluke.l...@gmail.com
  |`* Re: The synergy of type tags on register file registersMitchAlsup
  | +* Re: The synergy of type tags on register file registersJimBrakefield
  | |+- Re: The synergy of type tags on register file registersMitchAlsup
  | |+* Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | ||+* Re: The synergy of type tags on register file registersMitchAlsup
  | |||`* Re: The synergy of type tags on register file registersThomas Koenig
  | ||| +* Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | ||| |`- Re: The synergy of type tags on register file registersMitchAlsup
  | ||| +* Re: The synergy of type tags on register file registersBGB
  | ||| |`* Re: The synergy of type tags on register file registersMitchAlsup
  | ||| | `- Re: The synergy of type tags on register file registersBGB
  | ||| `* Re: The synergy of type tags on register file registersTerje Mathisen
  | |||  +* Re: The synergy of type tags on register file registersMitchAlsup
  | |||  |`- Re: The synergy of type tags on register file registersTerje Mathisen
  | |||  `* Re: The synergy of type tags on register file registersThomas Koenig
  | |||   `* Re: The synergy of type tags on register file registersTerje Mathisen
  | |||    `* Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | |||     +* Re: The synergy of type tags on register file registersScott Lurndal
  | |||     |`* Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | |||     | `- Re: The synergy of type tags on register file registersMitchAlsup
  | |||     +* Re: The synergy of type tags on register file registersThomas Koenig
  | |||     |`- Re: The synergy of type tags on register file registersBGB
  | |||     +* Re: The synergy of type tags on register file registersTerje Mathisen
  | |||     |`* Re: The synergy of type tags on register file registersMitchAlsup
  | |||     | +* Re: The synergy of type tags on register file registersTerje Mathisen
  | |||     | |+- Re: The synergy of type tags on register file registersMitchAlsup
  | |||     | |`* Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | |||     | | +- Re: The synergy of type tags on register file registersMitchAlsup
  | |||     | | `- Re: The synergy of type tags on register file registersJimBrakefield
  | |||     | `* Re: The synergy of type tags on register file registersScott Lurndal
  | |||     |  +- Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | |||     |  +* Re: The synergy of type tags on register file registersBGB
  | |||     |  |`* Re: The synergy of type tags on register file registersAnton Ertl
  | |||     |  | `* Re: The synergy of type tags on register file registersMitchAlsup
  | |||     |  |  `* Re: The synergy of type tags on register file registersBGB
  | |||     |  |   `* Re: The synergy of type tags on register file registersAnton Ertl
  | |||     |  |    +* Re: The synergy of type tags on register file registersBGB
  | |||     |  |    |`* Re: The synergy of type tags on register file registersMitchAlsup
  | |||     |  |    | `- Re: The synergy of type tags on register file registersBGB
  | |||     |  |    `* Re: The synergy of type tags on register file registersThomas Koenig
  | |||     |  |     `- Re: The synergy of type tags on register file registersTerje Mathisen
  | |||     |  `* Re: The synergy of type tags on register file registersAnton Ertl
  | |||     |   `- Re: The synergy of type tags on register file registersMichael S
  | |||     +- Re: The synergy of type tags on register file registersBGB
  | |||     `* Re: The synergy of type tags on register file registersMitchAlsup
  | |||      +- Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | |||      `* Re: The synergy of type tags on register file registersStephen Fuld
  | |||       +* Re: The synergy of type tags on register file registersMitchAlsup
  | |||       |`- Re: The synergy of type tags on register file registersStephen Fuld
  | |||       `* Re: The synergy of type tags on register file registersAnton Ertl
  | |||        +* Re: The synergy of type tags on register file registersStephen Fuld
  | |||        |+* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        ||+- Re: The synergy of type tags on register file registersScott Lurndal
  | |||        ||`* Re: The synergy of type tags on register file registersStephen Fuld
  | |||        || +- Re: The synergy of type tags on register file registersThomas Koenig
  | |||        || `* Re: The synergy of type tags on register file registersJohn Dallman
  | |||        ||  `* Re: The synergy of type tags on register file registersThomas Koenig
  | |||        ||   +* Re: The synergy of type tags on register file registersJohn Dallman
  | |||        ||   |`- Re: The synergy of type tags on register file registersThomas Koenig
  | |||        ||   `* Re: The synergy of type tags on register file registersTerje Mathisen
  | |||        ||    `* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        ||     `- Re: The synergy of type tags on register file registersTerje Mathisen
  | |||        |`* Re: The synergy of type tags on register file registersAnton Ertl
  | |||        | +* Re: The synergy of type tags on register file registersStephen Fuld
  | |||        | |+* Re: The synergy of type tags on register file registersBGB
  | |||        | ||`* Re: The synergy of type tags on register file registersrobf...@gmail.com
  | |||        | || +* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | || |`* Re: The synergy of type tags on register file registersMichael S
  | |||        | || | `* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | || |  `* Re: The synergy of type tags on register file registersMichael S
  | |||        | || |   `- Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | || +* Re: The synergy of type tags on register file registersBGB
  | |||        | || |`- Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | || `* Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||  +- Re: The synergy of type tags on register file registersBGB
  | |||        | ||  `* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | ||   +- Re: The synergy of type tags on register file registersBGB
  | |||        | ||   +* Re: The synergy of type tags on register file registersluke.l...@gmail.com
  | |||        | ||   |`* Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||   | `* Re: The synergy of type tags on register file registersBGB
  | |||        | ||   |  `* Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||   |   `* Re: The synergy of type tags on register file registersBGB
  | |||        | ||   |    `* Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||   |     +* Re: The synergy of type tags on register file registersStephen Fuld
  | |||        | ||   |     |`- Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||   |     +* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | ||   |     |`* Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||   |     | `* Re: The synergy of type tags on register file registersMitchAlsup
  | |||        | ||   |     |  `- Re: The synergy of type tags on register file registersScott Lurndal
  | |||        | ||   |     `* Re: The synergy of type tags on register file registersBGB
  | |||        | ||   `- Re: The synergy of type tags on register file registersIvan Godard
  | |||        | |+* Re: The synergy of type tags on register file registersAnton Ertl
  | |||        | |`* Re: The synergy of type tags on register file registersTerje Mathisen
  | |||        | +* Re: The synergy of type tags on register file registersBill Findlay
  | |||        | `- Re: The synergy of type tags on register file registersTerje Mathisen
  | |||        `- Re: The synergy of type tags on register file registersMitchAlsup
  | ||`* Re: The synergy of type tags on register file registersScott Lurndal
  | |`- Re: The synergy of type tags on register file registersNiklas Holsti
  | `- Re: The synergy of type tags on register file registersScott Lurndal
  `* Re: The synergy of type tags on register file registersPaul A. Clayton

Pages:12345678910
Re: The synergy of type tags on register file registers

<c2fce299-b262-4cb0-b42a-2f3e334cc258n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:180b:b0:3f6:bc1e:2da8 with SMTP id t11-20020a05622a180b00b003f6bc1e2da8mr2231650qtc.0.1685303426903;
Sun, 28 May 2023 12:50:26 -0700 (PDT)
X-Received: by 2002:a9d:61cf:0:b0:6af:856f:7c4f with SMTP id
h15-20020a9d61cf000000b006af856f7c4fmr2067651otk.2.1685303426651; Sun, 28 May
2023 12:50:26 -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: Sun, 28 May 2023 12:50:26 -0700 (PDT)
In-Reply-To: <28d44ec5-350d-4fcf-bb05-baf38e913db4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:a9a3:af95:ad1c:c965;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:a9a3:af95:ad1c:c965
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<28d44ec5-350d-4fcf-bb05-baf38e913db4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c2fce299-b262-4cb0-b42a-2f3e334cc258n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sun, 28 May 2023 19:50:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 72
 by: MitchAlsup - Sun, 28 May 2023 19:50 UTC

On Sunday, May 28, 2023 at 1:19:33 PM UTC-5, luke.l...@gmail.com wrote:
> On Sunday, May 28, 2023 at 3:35:20 PM UTC+1, Thomas Koenig wrote:
> > MitchAlsup <Mitch...@aol.com> schrieb:
> > > Probably, but not much. And you can avoid numeric problems along
> > > the way. For example, say we have an integer with significance bigger
> > > than 1<<52. When converted to FP64 it will get rounded, but when
> > > auto-converted with tagged-registers it does NOT have to be rounded--
> > > it can be used directly with more significance than fits in FP64 !!
<
> > While true, this would go against the rules of many, if not all
> > programming langues. These prescribe conversion of integer to
> > floating point before doing a calculation with a floating point.
<
> also stops you from being able to service an Interrupt during
> the time that the instruction is issued until there is no longer
> a time it could be used. as that could be tens of millions of
> instructions later, you are hosed.
>
> * reg1: 9999<<52 (int)
> * instruction issued reg2 = BIGINT_to_FP64(reg1)
> * instruction(s) issued: reg3 = reg2 * 2.5
<
Any normal machine could take an interrupt here.
<
> * ...
> * ...
> * millions more instructions none overwritign reg2
> * another use of reg2: reg4 = reg2 + 0.0000001
>
> if reg2 is *NOT* exactly the same accuracy as what
> went into reg3 and reg4, where are the extraneous bits
> stored during the millions of instructions executed?
<
And that is because it is not a CVT followed by a MUL,
it is a CVT-MUL as 1 instruction.
>
> the only possibility would be an overwrite macro-op
> fusion:
>
> reg2 = BIGINT_to_FP64(reg1)
> reg2 = reg2 * 2.5
<
Just have a MUL instruction that looks at the tags and
sees 1 operand is (long) while the other is (double)
and perform CVT (double)Rd,(long)Rs followed by
MUL (double)Rd,(double)Rs1,(double)2.5
<
Op fusion buying performance is a symptom of 2 things
a) the ISA is not sufficiently expressive
b) you ran out of encoding bits
Although may ISA designers suffering from (a) blame it on (b)
because it is so easy to hide the trail of how your ISA got so
screwed up......
>
> and then it becomes vital to not allow interrupts
> between those two instructions, you also just made
> a mess of Multi-Issue Decode (because that's now
> a double-normal-length *ACTUAL* instruction and
> you just unintentionally introduced Variable-Length
> Encoding by the back door), and generally gotten
> into ISA hell from that point onward.
>
> sounds as Mitch suggests much better to do what
> everyone else does.
<
This truly has something to do with age--but I forgive you.
>
> l.

Re: The synergy of type tags on register file registers

<8f744e5b-5543-47f1-9ea5-ebb02964e34en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:1724:b0:759:1240:5848 with SMTP id az36-20020a05620a172400b0075912405848mr1082631qkb.15.1685303721840;
Sun, 28 May 2023 12:55:21 -0700 (PDT)
X-Received: by 2002:a05:6870:703:b0:196:7c79:6ecf with SMTP id
ea3-20020a056870070300b001967c796ecfmr1070397oab.2.1685303721586; Sun, 28 May
2023 12:55:21 -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: Sun, 28 May 2023 12:55:21 -0700 (PDT)
In-Reply-To: <u509r9$1062s$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:a9a3:af95:ad1c:c965;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:a9a3:af95:ad1c:c965
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u509r9$1062s$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8f744e5b-5543-47f1-9ea5-ebb02964e34en@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sun, 28 May 2023 19:55:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4136
 by: MitchAlsup - Sun, 28 May 2023 19:55 UTC

On Sunday, May 28, 2023 at 2:25:33 PM UTC-5, BGB wrote:
> On 5/28/2023 9:33 AM, Thomas Koenig wrote:
> > MitchAlsup <Mitch...@aol.com> schrieb:
> >
> >> Probably, but not much. And you can avoid numeric problems along
> >> the way. For example, say we have an integer with significance bigger
> >> than 1<<52. When converted to FP64 it will get rounded, but when
> >> auto-converted with tagged-registers it does NOT have to be rounded--
> >> it can be used directly with more significance than fits in FP64 !!
> >
> > While true, this would go against the rules of many, if not all
> > programming langues. These prescribe conversion of integer to
> > floating point before doing a calculation with a floating point.
> Agreed.
>
>
> Also it seems like it could lead to problems.
>
> What if an interrupt happens, does the precision of the calculation
> depend on the presence or absence of an interrupt?... Or, does the ISR
> now need to save and restore, say, 96-bit registers? ...
>
If the program can detect the size of the 96-bit containers IN ANY WAY,
they must be preserved across an interrupt, trap, or syscall. It is the
only SANE thing to do.
>
> For many problems, it seems more like repeatability matters more than
> absolute precision. Say, that the same calculation with the same inputs
> always produces the same result, even if this answer is "wrong" in a
> more strict interpretation.
>
> Say, with the amount of "implicit" architectural state being kept to a
> minimum.
>
>
>
> Ironically, in my case this led to things like emulator fun of needing
> to fake my CPU's arguably "bad" handling of floating-point in some
> cases, rather than using the "better" native FPU operations, since this
> led to behavioral divergence in some cases.
<
Kind of like an eXcel program that runs error-free on a machine with x87
that is replete with rounding errors on a machine without--even those
that purport to emulate x98 (eXcel binary from before the SSE2 time
period, running on a 10-year old Opteron versus a last year Core 7)
>
> Kinda similar ends up applying to things like RGB555 or block-texture
> decoding, where the "bad" definitions often end up being preferable to
> the "better" definitions for one reason or another.
>
> ...

Re: The synergy of type tags on register file registers

<u50c3t$10g9m$1@dont-email.me>

  copy mid

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

  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: The synergy of type tags on register file registers
Date: Sun, 28 May 2023 22:04:13 +0200
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u50c3t$10g9m$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 28 May 2023 20:04:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0fab10c34dbc3ccdcf767884503d1637";
logging-data="1065270"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NZGyCbszYjQ2TonZWQHtYUu69BJM0hDfbxP57E9SlUA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:j819YehCXITsbMn8tQOuE5Nlh9g=
In-Reply-To: <u4vonr$25ppt$1@newsreader4.netcologne.de>
 by: Terje Mathisen - Sun, 28 May 2023 20:04 UTC

Thomas Koenig wrote:
> MitchAlsup <MitchAlsup@aol.com> schrieb:
>
>> Probably, but not much. And you can avoid numeric problems along
>> the way. For example, say we have an integer with significance bigger
>> than 1<<52. When converted to FP64 it will get rounded, but when
>> auto-converted with tagged-registers it does NOT have to be rounded--
>> it can be used directly with more significance than fits in FP64 !!
>
> While true, this would go against the rules of many, if not all
> programming langues. These prescribe conversion of integer to
> floating point before doing a calculation with a floating point.
>
Yes, but it would allow asm code to implement trig functions (and
others) with more precision/better performance than a pure FP version.

Terje

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

Re: The synergy of type tags on register file registers

<1e88b004-4bcb-4040-b0f2-381604a6d7a7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:8:b0:3f7:fab0:6318 with SMTP id x8-20020a05622a000800b003f7fab06318mr1931697qtw.5.1685310414617;
Sun, 28 May 2023 14:46:54 -0700 (PDT)
X-Received: by 2002:a9d:4e96:0:b0:6af:8184:994f with SMTP id
v22-20020a9d4e96000000b006af8184994fmr2405017otk.3.1685310414328; Sun, 28 May
2023 14:46:54 -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!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: Sun, 28 May 2023 14:46:54 -0700 (PDT)
In-Reply-To: <u50c3t$10g9m$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:a9a3:af95:ad1c:c965;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:a9a3:af95:ad1c:c965
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1e88b004-4bcb-4040-b0f2-381604a6d7a7n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Sun, 28 May 2023 21:46:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3260
 by: MitchAlsup - Sun, 28 May 2023 21:46 UTC

On Sunday, May 28, 2023 at 3:06:27 PM UTC-5, Terje Mathisen wrote:
> Thomas Koenig wrote:
> > MitchAlsup <Mitch...@aol.com> schrieb:
> >
> >> Probably, but not much. And you can avoid numeric problems along
> >> the way. For example, say we have an integer with significance bigger
> >> than 1<<52. When converted to FP64 it will get rounded, but when
> >> auto-converted with tagged-registers it does NOT have to be rounded--
> >> it can be used directly with more significance than fits in FP64 !!
> >
> > While true, this would go against the rules of many, if not all
> > programming langues. These prescribe conversion of integer to
> > floating point before doing a calculation with a floating point.
> >
> Yes, but it would allow asm code to implement trig functions (and
> others) with more precision/better performance than a pure FP version.
<
At that point why not go all the way and make the elementary functions
into instructions, so you can pull off even more tricks--like I do with argue-
ment reduction in SIN() and COS() and TAN() in 2 passes through the
multiplier instead of 4 using Payne and Hanek synthetization.
<
That is instead of a trick here and a trick there, just give them high
performance (few clocks) and high precision (better than 1 ULP)!!
<
> Terje
>
> --
> - <Terje.Mathisen at tmsw.no>
> "almost all programming can be viewed as an exercise in caching"

Re: The synergy of type tags on register file registers

<u50jvr$11rb6$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88192@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: The synergy of type tags on register file registers
Date: Sun, 28 May 2023 17:18:28 -0500
Organization: A noiseless patient Spider
Lines: 90
Message-ID: <u50jvr$11rb6$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u509r9$1062s$1@dont-email.me>
<8f744e5b-5543-47f1-9ea5-ebb02964e34en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 28 May 2023 22:18:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="35878edc648de3651095e2f15a816b94";
logging-data="1109350"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sxRsM3q8RZyV8up2hndpb"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:H+4r4Qa7Dt0S1kvPmS2+JGtkJeQ=
Content-Language: en-US
In-Reply-To: <8f744e5b-5543-47f1-9ea5-ebb02964e34en@googlegroups.com>
 by: BGB - Sun, 28 May 2023 22:18 UTC

On 5/28/2023 2:55 PM, MitchAlsup wrote:
> On Sunday, May 28, 2023 at 2:25:33 PM UTC-5, BGB wrote:
>> On 5/28/2023 9:33 AM, Thomas Koenig wrote:
>>> MitchAlsup <Mitch...@aol.com> schrieb:
>>>
>>>> Probably, but not much. And you can avoid numeric problems along
>>>> the way. For example, say we have an integer with significance bigger
>>>> than 1<<52. When converted to FP64 it will get rounded, but when
>>>> auto-converted with tagged-registers it does NOT have to be rounded--
>>>> it can be used directly with more significance than fits in FP64 !!
>>>
>>> While true, this would go against the rules of many, if not all
>>> programming langues. These prescribe conversion of integer to
>>> floating point before doing a calculation with a floating point.
>> Agreed.
>>
>>
>> Also it seems like it could lead to problems.
>>
>> What if an interrupt happens, does the precision of the calculation
>> depend on the presence or absence of an interrupt?... Or, does the ISR
>> now need to save and restore, say, 96-bit registers? ...
>>
> If the program can detect the size of the 96-bit containers IN ANY WAY,
> they must be preserved across an interrupt, trap, or syscall. It is the
> only SANE thing to do.

Agreed.

>>
>> For many problems, it seems more like repeatability matters more than
>> absolute precision. Say, that the same calculation with the same inputs
>> always produces the same result, even if this answer is "wrong" in a
>> more strict interpretation.
>>
>> Say, with the amount of "implicit" architectural state being kept to a
>> minimum.
>>
>>
>>
>> Ironically, in my case this led to things like emulator fun of needing
>> to fake my CPU's arguably "bad" handling of floating-point in some
>> cases, rather than using the "better" native FPU operations, since this
>> led to behavioral divergence in some cases.
> <
> Kind of like an eXcel program that runs error-free on a machine with x87
> that is replete with rounding errors on a machine without--even those
> that purport to emulate x98 (eXcel binary from before the SSE2 time
> period, running on a 10-year old Opteron versus a last year Core 7)

Yeah.

In my case, it was stuff like:
Native FPU:
May give differently rounded results;
May alter the values when the bit pattern encodes a NaN;
Handle Int<->FP conversion differently for out-of-range values.
Handle FP conversion differently for out-of-range values;
...
BJX2 FPU:
Discards low bits from intermediate results
Sometimes effects the final rounding.
Conversion ops preserve the values of NaNs to what extent possible.
Conversion ops identity-map zero-range values between formats;
Small values clamp to 0;
Large values clamp to Inf;
Sub-normal values are assumed not to exist;
The zero-range hack is mostly so Fp32->Fp64->Fp32 is exact;
SSE clamps Fp->Int32 to 0x80000000 if out of range,
on BJX2 is modulo by default;
FP-SIMD ops and value conversions are truncate;
...

But, on the merit (or drawbacks) of using hard-wired truncate for SIMD
ops, it is not ideal if, say, the FPGA version uses truncate but the
emulator uses round-nearest-even, ...

I still make no claim of strict IEEE-754 conformance.

>>
>> Kinda similar ends up applying to things like RGB555 or block-texture
>> decoding, where the "bad" definitions often end up being preferable to
>> the "better" definitions for one reason or another.
>>
>> ...

Re: The synergy of type tags on register file registers

<u51j2o$270ah$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd4-fddc-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 07:09:12 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <u51j2o$270ah$1@newsreader4.netcologne.de>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
Injection-Date: Mon, 29 May 2023 07:09:12 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd4-fddc-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd4:fddc:0:7285:c2ff:fe6c:992d";
logging-data="2326865"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 29 May 2023 07:09 UTC

Terje Mathisen <terje.mathisen@tmsw.no> schrieb:
> Thomas Koenig wrote:
>> MitchAlsup <MitchAlsup@aol.com> schrieb:
>>
>>> Probably, but not much. And you can avoid numeric problems along
>>> the way. For example, say we have an integer with significance bigger
>>> than 1<<52. When converted to FP64 it will get rounded, but when
>>> auto-converted with tagged-registers it does NOT have to be rounded--
>>> it can be used directly with more significance than fits in FP64 !!
>>
>> While true, this would go against the rules of many, if not all
>> programming langues. These prescribe conversion of integer to
>> floating point before doing a calculation with a floating point.
>>
> Yes, but it would allow asm code to implement trig functions (and
> others) with more precision/better performance than a pure FP version.

Or we could re-introduce 80-bit floating point registers with a 64-bit
mantissa and have 64- and 80-bit instructions for them (both load/store
and calculation). You need 64-bit integer arithmetic anyway.

But I don't see that on the horizon any time soon - presumably, 128-bit
IEEE will be used instead (Like POWER does).

Re: The synergy of type tags on register file registers

<u51uv9$1cf9p$1@dont-email.me>

  copy mid

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

  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: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 12:32:08 +0200
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <u51uv9$1cf9p$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<1e88b004-4bcb-4040-b0f2-381604a6d7a7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 10:32:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50cb7846abf2be91687519af8aed6620";
logging-data="1457465"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kW9FCmWfWie1E1vC9Cy4kOnx6oJXQ3dui5yJhsf94Og=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:PbDKPqMh6wjTq4DlciLR1ovkBy0=
In-Reply-To: <1e88b004-4bcb-4040-b0f2-381604a6d7a7n@googlegroups.com>
 by: Terje Mathisen - Mon, 29 May 2023 10:32 UTC

MitchAlsup wrote:
> On Sunday, May 28, 2023 at 3:06:27 PM UTC-5, Terje Mathisen wrote:
>> Thomas Koenig wrote:
>>> MitchAlsup <Mitch...@aol.com> schrieb:
>>>
>>>> Probably, but not much. And you can avoid numeric problems along
>>>> the way. For example, say we have an integer with significance bigger
>>>> than 1<<52. When converted to FP64 it will get rounded, but when
>>>> auto-converted with tagged-registers it does NOT have to be rounded--
>>>> it can be used directly with more significance than fits in FP64 !!
>>>
>>> While true, this would go against the rules of many, if not all
>>> programming langues. These prescribe conversion of integer to
>>> floating point before doing a calculation with a floating point.
>>>
>> Yes, but it would allow asm code to implement trig functions (and
>> others) with more precision/better performance than a pure FP version.
> <
> At that point why not go all the way and make the elementary functions
> into instructions, so you can pull off even more tricks--like I do with argue-
> ment reduction in SIN() and COS() and TAN() in 2 passes through the
> multiplier instead of 4 using Payne and Hanek synthetization.
> <
> That is instead of a trick here and a trick there, just give them high
> performance (few clocks) and high precision (better than 1 ULP)!!

Oh, I absolutely agree that your approach is much better for anything
you know up front that you will need!

I'm willing to put it even stronger: Your approach should be the only
one worth considering for new designs.

OTOH, having those extended primitives would make it easier to implement
arbitrary, but unsupported in HW, functions.

Terje

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

Re: The synergy of type tags on register file registers

<u51v6p$1cf9p$2@dont-email.me>

  copy mid

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

  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: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 12:36:09 +0200
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <u51v6p$1cf9p$2@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 29 May 2023 10:36:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50cb7846abf2be91687519af8aed6620";
logging-data="1457465"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WVHAOTYpZE8JRrtQq8b6zSvIPCma3ZKdmttymnJAdaA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:Iq0F1SFH9g7E+s/mSokcfwPdc0g=
In-Reply-To: <u51j2o$270ah$1@newsreader4.netcologne.de>
 by: Terje Mathisen - Mon, 29 May 2023 10:36 UTC

Thomas Koenig wrote:
> Terje Mathisen <terje.mathisen@tmsw.no> schrieb:
>> Thomas Koenig wrote:
>>> MitchAlsup <MitchAlsup@aol.com> schrieb:
>>>
>>>> Probably, but not much. And you can avoid numeric problems along
>>>> the way. For example, say we have an integer with significance bigger
>>>> than 1<<52. When converted to FP64 it will get rounded, but when
>>>> auto-converted with tagged-registers it does NOT have to be rounded--
>>>> it can be used directly with more significance than fits in FP64 !!
>>>
>>> While true, this would go against the rules of many, if not all
>>> programming langues. These prescribe conversion of integer to
>>> floating point before doing a calculation with a floating point.
>>>
>> Yes, but it would allow asm code to implement trig functions (and
>> others) with more precision/better performance than a pure FP version.
>
> Or we could re-introduce 80-bit floating point registers with a 64-bit
> mantissa and have 64- and 80-bit instructions for them (both load/store
> and calculation). You need 64-bit integer arithmetic anyway.
>
> But I don't see that on the horizon any time soon - presumably, 128-bit
> IEEE will be used instead (Like POWER does).
>
Absolutely correct, fp128 is the only sane way forward.

Even there you could take advantage of a few mixed FP/Int primitives for
core 128-bit functions.

Terje

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

Re: The synergy of type tags on register file registers

<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:4e63:0:b0:625:aa48:ddff with SMTP id ec3-20020ad44e63000000b00625aa48ddffmr1072664qvb.12.1685357455271;
Mon, 29 May 2023 03:50:55 -0700 (PDT)
X-Received: by 2002:a05:6870:1aae:b0:193:9bac:787 with SMTP id
ef46-20020a0568701aae00b001939bac0787mr2706814oab.9.1685357454983; Mon, 29
May 2023 03:50:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.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: Mon, 29 May 2023 03:50:54 -0700 (PDT)
In-Reply-To: <u51v6p$1cf9p$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=92.19.80.230; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.19.80.230
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: luke.leighton@gmail.com (luke.l...@gmail.com)
Injection-Date: Mon, 29 May 2023 10:50:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2609
 by: luke.l...@gmail.com - Mon, 29 May 2023 10:50 UTC

On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:

> > But I don't see that on the horizon any time soon - presumably, 128-bit
> > IEEE will be used instead (Like POWER does).
> >
> Absolutely correct, fp128 is the only sane way forward.

unfortunately it comes with the implication that 128-bit
registers are now a first-order part of the ISA, or that
pairs of 64-bit registers are required. at which point
you have to think through how to handle up to 6-in
2-out register hazard management just for FMAC.
(there are solutions, none of them very pretty).

it puts any such design firmly out of reach of "desktop
notebook smartbook tablet chromebook Industrial
IOT Edge computing" and into "Server HPC Supercomputer
GPU" territory.

l.

Re: The synergy of type tags on register file registers

<G%1dM.3732658$vBI8.1968310@fx15.iad>

  copy mid

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

  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!fx15.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: The synergy of type tags on register file registers
Newsgroups: comp.arch
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com> <4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com> <b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
Lines: 26
Message-ID: <G%1dM.3732658$vBI8.1968310@fx15.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 29 May 2023 13:45:10 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 29 May 2023 13:45:10 GMT
X-Received-Bytes: 2124
 by: Scott Lurndal - Mon, 29 May 2023 13:45 UTC

"luke.l...@gmail.com" <luke.leighton@gmail.com> writes:
>On Monday, May 29, 2023 at 11:36:13=E2=80=AFAM UTC+1, Terje Mathisen wrote:
>
>> > But I don't see that on the horizon any time soon - presumably, 128-bit=
>=20
>> > IEEE will be used instead (Like POWER does).=20
>> >
>> Absolutely correct, fp128 is the only sane way forward.=20
>
>unfortunately it comes with the implication that 128-bit
>registers are now a first-order part of the ISA, or that
>pairs of 64-bit registers are required. at which point
>you have to think through how to handle up to 6-in
>2-out register hazard management just for FMAC.
>(there are solutions, none of them very pretty).
>
>it puts any such design firmly out of reach of "desktop
>notebook smartbook tablet chromebook Industrial
>IOT Edge computing" and into "Server HPC Supercomputer
>GPU" territory.

Does it? Pretty much every ARMv8 CPU has 128-bit registers
today for the Neon/SIMD unit, and the floating point unit uses
the same register file (supporting 8-bit, 16-bit, 32-bit and
64-bit floating point).

Re: The synergy of type tags on register file registers

<4b063f9b-e5d2-4256-8489-e77267da3bdbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:4606:b0:75c:9c99:6e13 with SMTP id br6-20020a05620a460600b0075c9c996e13mr2081620qkb.5.1685369654222;
Mon, 29 May 2023 07:14:14 -0700 (PDT)
X-Received: by 2002:a05:6870:76a9:b0:192:d254:2c05 with SMTP id
dx41-20020a05687076a900b00192d2542c05mr2376843oab.1.1685369653809; Mon, 29
May 2023 07:14:13 -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: Mon, 29 May 2023 07:14:13 -0700 (PDT)
In-Reply-To: <G%1dM.3732658$vBI8.1968310@fx15.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=92.19.80.230; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.19.80.230
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com> <4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com> <b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com> <G%1dM.3732658$vBI8.1968310@fx15.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4b063f9b-e5d2-4256-8489-e77267da3bdbn@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: luke.leighton@gmail.com (luke.l...@gmail.com)
Injection-Date: Mon, 29 May 2023 14:14:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2054
 by: luke.l...@gmail.com - Mon, 29 May 2023 14:14 UTC

On Monday, May 29, 2023 at 2:46:29 PM UTC+1, Scott Lurndal wrote:

> Does it? Pretty much every ARMv8 CPU has 128-bit registers
> today for the Neon/SIMD unit,

with associated SIMD Hell Baggage, which is a whole new
topic, discussed many times even in the relatively short
years i've been on comp.arch
https://www.sigarch.org/simd-instructions-considered-harmful/

l.

Re: The synergy of type tags on register file registers

<u52f9h$27drg$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd4-fddc-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 15:10:41 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <u52f9h$27drg$1@newsreader4.netcologne.de>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 15:10:41 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd4-fddc-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd4:fddc:0:7285:c2ff:fe6c:992d";
logging-data="2340720"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 29 May 2023 15:10 UTC

luke.l...@gmail.com <luke.leighton@gmail.com> schrieb:
> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
>
>> > But I don't see that on the horizon any time soon - presumably, 128-bit
>> > IEEE will be used instead (Like POWER does).
>> >
>> Absolutely correct, fp128 is the only sane way forward.
>
> unfortunately it comes with the implication that 128-bit
> registers are now a first-order part of the ISA, or that
> pairs of 64-bit registers are required. at which point
> you have to think through how to handle up to 6-in
> 2-out register hazard management just for FMAC.
> (there are solutions, none of them very pretty).

If you need 8 registers just for an FMAC, chances are that 32
registers will become problematic, you will probably want 64
registers then.

And the arithmetic will presumably be microcoded^H^H^H^H^H^H^H^H^H^H
sequenced (I do not expect a 113-bit wide full multiplier) and
will take quite a few cycles anyway, even though it will still
likely be much faster than software.

> it puts any such design firmly out of reach of "desktop
> notebook smartbook tablet chromebook Industrial
> IOT Edge computing" and into "Server HPC Supercomputer
> GPU" territory.

I somehow doubt that, given the huge number of gates that a modern
CPU throws at runnding Windows and Teams...

Re: The synergy of type tags on register file registers

<u52llu$1hhcg$1@dont-email.me>

  copy mid

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

  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: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 18:59:42 +0200
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <u52llu$1hhcg$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 16:59:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50cb7846abf2be91687519af8aed6620";
logging-data="1623440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cxDYu5uSvpBKjwsqY38b5XfM5NONIR2tsXeQ83UMXfw=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:QyRIA8xKv68a1GnzvhFXNbRIYjA=
In-Reply-To: <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
 by: Terje Mathisen - Mon, 29 May 2023 16:59 UTC

luke.l...@gmail.com wrote:
> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
>
>>> But I don't see that on the horizon any time soon - presumably, 128-bit
>>> IEEE will be used instead (Like POWER does).
>>>
>> Absolutely correct, fp128 is the only sane way forward.
>
> unfortunately it comes with the implication that 128-bit
> registers are now a first-order part of the ISA, or that
> pairs of 64-bit registers are required. at which point
> you have to think through how to handle up to 6-in
> 2-out register hazard management just for FMAC.
> (there are solutions, none of them very pretty).

Except we already have SIMD vector regs of 128/256/512 bits and they
already support FMAC type operations, the only difference being that the
indivdual parts are 32 or 64 bits.

> it puts any such design firmly out of reach of "desktop
> notebook smartbook tablet chromebook Industrial
> IOT Edge computing" and into "Server HPC Supercomputer
> GPU" territory.
>
> l.
>
See above...

Terje

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

Re: The synergy of type tags on register file registers

<u52t7p$1jbi9$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88192@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 14:08:02 -0500
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <u52t7p$1jbi9$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 19:08:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="35878edc648de3651095e2f15a816b94";
logging-data="1683017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Zx+F11Dd9gFcyyzWE73jY"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Cancel-Lock: sha1:BbegyIqv8GWtXpY+S7YmUlEgDXY=
In-Reply-To: <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
Content-Language: en-US
 by: BGB - Mon, 29 May 2023 19:08 UTC

On 5/29/2023 5:50 AM, luke.l...@gmail.com wrote:
> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
>
>>> But I don't see that on the horizon any time soon - presumably, 128-bit
>>> IEEE will be used instead (Like POWER does).
>>>
>> Absolutely correct, fp128 is the only sane way forward.
>
> unfortunately it comes with the implication that 128-bit
> registers are now a first-order part of the ISA, or that
> pairs of 64-bit registers are required. at which point
> you have to think through how to handle up to 6-in
> 2-out register hazard management just for FMAC.
> (there are solutions, none of them very pretty).
>

FWIW: 6-in / 2-out is how 128-bit FP-SIMD works in the BJX2 core...

There was at one point a feature to allow truncated Binary128 as an
intermediary, basically:
S.E15.F80.Z32

Where the Z bits are "ignore on input, zeroed on output".

Where, the 80-bit mantissa was mostly because, the cost increase in
going from 80 to 112 bits is, quite steep...

But, even this was a bit too expensive, so I ended up backing off (to
using only Binary64 in hardware, and handling Binary128 in software).

Dropping to 64-bit mantissa would make this part a lot cheaper, but is
"kinda lame" if it has barely any more precision than normal Binary64.

Could in theory handle full Binary128 ops (including FDIV) in hardware
using a modified Shift-Add unit for FMUL (I had already used Shift-Add
for Binary64 FDIV), but this would likely be barely much faster than a
plain software implementation.

The above is more of a "we need it to check something off a checklist"
as opposed to something people would actually use (say, if one has a 120
cycle FMUL and 240 cycle FDIV, this is not exactly all that usable in
terms of performance).

But, still interesting if the "actual CPU" people can make this work.

> it puts any such design firmly out of reach of "desktop
> notebook smartbook tablet chromebook Industrial
> IOT Edge computing" and into "Server HPC Supercomputer
> GPU" territory.
>

Full Binary128: Quite possibly.

6-in / 2-out register ports for an operation:
Probably fine, most non microcontroller CPUs probably already have
enough register ports...

> l.

Re: The synergy of type tags on register file registers

<u52u1h$1jhd2$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88192@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 14:21:47 -0500
Organization: A noiseless patient Spider
Lines: 74
Message-ID: <u52u1h$1jhd2$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<u52f9h$27drg$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 19:22:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="35878edc648de3651095e2f15a816b94";
logging-data="1688994"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iXAwzVjEbO+hLSDBV1DNs"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Cancel-Lock: sha1:HdYeNZW1Cn1IW0RwHOqSUywn1vE=
In-Reply-To: <u52f9h$27drg$1@newsreader4.netcologne.de>
Content-Language: en-US
 by: BGB - Mon, 29 May 2023 19:21 UTC

On 5/29/2023 10:10 AM, Thomas Koenig wrote:
> luke.l...@gmail.com <luke.leighton@gmail.com> schrieb:
>> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
>>
>>>> But I don't see that on the horizon any time soon - presumably, 128-bit
>>>> IEEE will be used instead (Like POWER does).
>>>>
>>> Absolutely correct, fp128 is the only sane way forward.
>>
>> unfortunately it comes with the implication that 128-bit
>> registers are now a first-order part of the ISA, or that
>> pairs of 64-bit registers are required. at which point
>> you have to think through how to handle up to 6-in
>> 2-out register hazard management just for FMAC.
>> (there are solutions, none of them very pretty).
>
> If you need 8 registers just for an FMAC, chances are that 32
> registers will become problematic, you will probably want 64
> registers then.
>

Cough, errm, can you guess why I ended up going for 64 GPRs with me
doing 128-bit SIMD ops in GPRs in my case?...

Yeah, this sort of thing was sort of a factor here...

It was effectively "all but required" for the ABI built around 128-bit
pointers as well.

> And the arithmetic will presumably be microcoded^H^H^H^H^H^H^H^H^H^H
> sequenced (I do not expect a 113-bit wide full multiplier) and
> will take quite a few cycles anyway, even though it will still
> likely be much faster than software.
>

It is debatable...

If one uses a naive Shift-Add design, it is possible in many cases for
the software implementation to actually be faster (say, if one has a
32-bit multiplier with a 3-cycle latency).

With division being the main exception case (both integer division in
software, and Newton-Raphson, are going to be slow).

Could consider it if, for whatever reason, a sudden need came up for
support for 128-bit integer multiply and divide, since Binary128 support
could just sort of be "thrown in" to the unit.

As-is, things like 128-bit integer ALU ops can help somewhat with
Binary128 emulation (without being too unreasonably expensive for the
hardware).

>> it puts any such design firmly out of reach of "desktop
>> notebook smartbook tablet chromebook Industrial
>> IOT Edge computing" and into "Server HPC Supercomputer
>> GPU" territory.
>
> I somehow doubt that, given the huge number of gates that a modern
> CPU throws at runnding Windows and Teams...

Probably...

If I just wanted it as a slow "checklist feature", it is already pretty
doable on the larger end of the Artix-7 class FPGAs, so an ASIC
shouldn't have too much issue...

Re: The synergy of type tags on register file registers

<d94b9337-52e2-4b05-a26b-ca4b011df7d5n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:95:b0:3f6:a725:25ad with SMTP id o21-20020a05622a009500b003f6a72525admr3022248qtw.5.1685391070963;
Mon, 29 May 2023 13:11:10 -0700 (PDT)
X-Received: by 2002:a05:6870:4416:b0:19a:1ede:dc87 with SMTP id
u22-20020a056870441600b0019a1ededc87mr1503246oah.8.1685391070745; Mon, 29 May
2023 13:11:10 -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: Mon, 29 May 2023 13:11:10 -0700 (PDT)
In-Reply-To: <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:b116:2eff:734:a100;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:b116:2eff:734:a100
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de>
<u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d94b9337-52e2-4b05-a26b-ca4b011df7d5n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Mon, 29 May 2023 20:11:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 30
 by: MitchAlsup - Mon, 29 May 2023 20:11 UTC

On Monday, May 29, 2023 at 5:50:56 AM UTC-5, luke.l...@gmail.com wrote:
> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
>
> > > But I don't see that on the horizon any time soon - presumably, 128-bit
> > > IEEE will be used instead (Like POWER does).
> > >
> > Absolutely correct, fp128 is the only sane way forward.
<
128-bit might be the only sane way forward,
BUT pairing and sharing of registers is not.
<
> unfortunately it comes with the implication that 128-bit
> registers are now a first-order part of the ISA, or that
> pairs of 64-bit registers are required. at which point
> you have to think through how to handle up to 6-in
> 2-out register hazard management just for FMAC.
> (there are solutions, none of them very pretty).
<
Back when engineers only got 16-bit ALUs and had to build
systems that smelled like they supported 64-bit FP they used
a term that has very much fallen out of favor today:: µCode.
>
> it puts any such design firmly out of reach of "desktop
> notebook smartbook tablet chromebook Industrial
> IOT Edge computing" and into "Server HPC Supercomputer
> GPU" territory.
>
> l.

Re: The synergy of type tags on register file registers

<77364774-70ab-4db4-a870-f0bf95160135n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5ac5:0:b0:3f6:b330:4c06 with SMTP id d5-20020ac85ac5000000b003f6b3304c06mr2688025qtd.0.1685391213403;
Mon, 29 May 2023 13:13:33 -0700 (PDT)
X-Received: by 2002:a05:6870:1a8c:b0:195:e81b:514d with SMTP id
ef12-20020a0568701a8c00b00195e81b514dmr2579475oab.8.1685391212993; Mon, 29
May 2023 13:13:32 -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: Mon, 29 May 2023 13:13:32 -0700 (PDT)
In-Reply-To: <4b063f9b-e5d2-4256-8489-e77267da3bdbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:b116:2eff:734:a100;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:b116:2eff:734:a100
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com> <4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com> <b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com> <G%1dM.3732658$vBI8.1968310@fx15.iad>
<4b063f9b-e5d2-4256-8489-e77267da3bdbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <77364774-70ab-4db4-a870-f0bf95160135n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Mon, 29 May 2023 20:13:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2539
 by: MitchAlsup - Mon, 29 May 2023 20:13 UTC

On Monday, May 29, 2023 at 9:14:15 AM UTC-5, luke.l...@gmail.com wrote:
> On Monday, May 29, 2023 at 2:46:29 PM UTC+1, Scott Lurndal wrote:
>
> > Does it? Pretty much every ARMv8 CPU has 128-bit registers
> > today for the Neon/SIMD unit,
> with associated SIMD Hell Baggage, which is a whole new
> topic, discussed many times even in the relatively short
> years i've been on comp.arch
> https://www.sigarch.org/simd-instructions-considered-harmful/
>
Not only is SIMD harmful to your ISA it is harmful to your though processes..
<
On the other hand:: If you want to call an architecture with 1300[0] instructions
RISC; all you have done is change the first letter of RISC into Rediculous.
<
> l.

Re: The synergy of type tags on register file registers

<de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:57b0:0:b0:626:1b47:52d6 with SMTP id g16-20020ad457b0000000b006261b4752d6mr703246qvx.8.1685391292175;
Mon, 29 May 2023 13:14:52 -0700 (PDT)
X-Received: by 2002:a05:6870:72d:b0:19e:8ab9:8f6e with SMTP id
ea45-20020a056870072d00b0019e8ab98f6emr3161665oab.0.1685391291950; Mon, 29
May 2023 13:14:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!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: Mon, 29 May 2023 13:14:51 -0700 (PDT)
In-Reply-To: <u52llu$1hhcg$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:b116:2eff:734:a100;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:b116:2eff:734:a100
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de>
<u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<u52llu$1hhcg$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Mon, 29 May 2023 20:14:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3301
 by: MitchAlsup - Mon, 29 May 2023 20:14 UTC

On Monday, May 29, 2023 at 12:01:41 PM UTC-5, Terje Mathisen wrote:
> luke.l...@gmail.com wrote:
> > On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
> >
> >>> But I don't see that on the horizon any time soon - presumably, 128-bit
> >>> IEEE will be used instead (Like POWER does).
> >>>
> >> Absolutely correct, fp128 is the only sane way forward.
> >
> > unfortunately it comes with the implication that 128-bit
> > registers are now a first-order part of the ISA, or that
> > pairs of 64-bit registers are required. at which point
> > you have to think through how to handle up to 6-in
> > 2-out register hazard management just for FMAC.
> > (there are solutions, none of them very pretty).
<
> Except we already have SIMD vector regs of 128/256/512 bits and they
> already support FMAC type operations, the only difference being that the
> indivdual parts are 32 or 64 bits.
<
Are you actually arguing that 512-bit registers are the right thing to do ?
<
> > it puts any such design firmly out of reach of "desktop
> > notebook smartbook tablet chromebook Industrial
> > IOT Edge computing" and into "Server HPC Supercomputer
> > GPU" territory.
> >
> > l.
> >
> See above...
> Terje
>
> --
> - <Terje.Mathisen at tmsw.no>
> "almost all programming can be viewed as an exercise in caching"

Re: The synergy of type tags on register file registers

<u5321v$1kcaf$1@dont-email.me>

  copy mid

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

  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: The synergy of type tags on register file registers
Date: Mon, 29 May 2023 22:30:55 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <u5321v$1kcaf$1@dont-email.me>
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com>
<8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com>
<d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<u52llu$1hhcg$1@dont-email.me>
<de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 May 2023 20:30:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1c367a401bafaa44a51634c212cfa8a8";
logging-data="1716559"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EY3M7Fh0OVQJj8Zh7WJ2/zlPSi7Tz1UU6Jr0pQCfEFg=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:J4dKsDqLvzkB1nGFAin5iYuQuww=
In-Reply-To: <de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
 by: Terje Mathisen - Mon, 29 May 2023 20:30 UTC

MitchAlsup wrote:
> On Monday, May 29, 2023 at 12:01:41 PM UTC-5, Terje Mathisen wrote:
>> luke.l...@gmail.com wrote:
>>> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
>>>
>>>>> But I don't see that on the horizon any time soon - presumably, 128-bit
>>>>> IEEE will be used instead (Like POWER does).
>>>>>
>>>> Absolutely correct, fp128 is the only sane way forward.
>>>
>>> unfortunately it comes with the implication that 128-bit
>>> registers are now a first-order part of the ISA, or that
>>> pairs of 64-bit registers are required. at which point
>>> you have to think through how to handle up to 6-in
>>> 2-out register hazard management just for FMAC.
>>> (there are solutions, none of them very pretty).
> <
>> Except we already have SIMD vector regs of 128/256/512 bits and they
>> already support FMAC type operations, the only difference being that the
>> indivdual parts are 32 or 64 bits.
> <
> Are you actually arguing that 512-bit registers are the right thing to do ?

Not really, but OTOH, I do believe that cache-line size (i.e. typically
64 bytes/512 bits) is the natural working set/chunk size for the CPU
hardware. If you can do that with clever encoding tricks like your VMM,
then more power to you.

Demanding separate opcodes for every possible size SIMD is NOT the
proper way to do it. Also ref Mill and our recent register tag bits thread.

Terje

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

Re: The synergy of type tags on register file registers

<U08dM.3507590$iU59.3142722@fx14.iad>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: The synergy of type tags on register file registers
Newsgroups: comp.arch
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com> <b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com> <u52llu$1hhcg$1@dont-email.me> <de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
Lines: 32
Message-ID: <U08dM.3507590$iU59.3142722@fx14.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 29 May 2023 20:36:04 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 29 May 2023 20:36:04 GMT
X-Received-Bytes: 2417
 by: Scott Lurndal - Mon, 29 May 2023 20:36 UTC

MitchAlsup <MitchAlsup@aol.com> writes:
>On Monday, May 29, 2023 at 12:01:41=E2=80=AFPM UTC-5, Terje Mathisen wrote:
>> luke.l...@gmail.com wrote:=20
>> > On Monday, May 29, 2023 at 11:36:13=E2=80=AFAM UTC+1, Terje Mathisen wr=
>ote:=20
>> >=20
>> >>> But I don't see that on the horizon any time soon - presumably, 128-b=
>it=20
>> >>> IEEE will be used instead (Like POWER does).=20
>> >>>=20
>> >> Absolutely correct, fp128 is the only sane way forward.=20
>> >=20
>> > unfortunately it comes with the implication that 128-bit=20
>> > registers are now a first-order part of the ISA, or that=20
>> > pairs of 64-bit registers are required. at which point=20
>> > you have to think through how to handle up to 6-in=20
>> > 2-out register hazard management just for FMAC.=20
>> > (there are solutions, none of them very pretty).
><
>> Except we already have SIMD vector regs of 128/256/512 bits and they=20
>> already support FMAC type operations, the only difference being that the=
>=20
>> indivdual parts are 32 or 64 bits.
><
>Are you actually arguing that 512-bit registers are the right thing to do ?

ARM's scalable vector extension allows implementations to choose
any power of two between 128 and 2048 bits. Current extant implementations
only support 128 bits so far as I am aware.

They are certainly useful for some set of workloads; albeit
specialized.

Re: The synergy of type tags on register file registers

<77b648b4-98d0-4fc3-909e-b1bf16141ea2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5915:0:b0:3f6:b9f6:86e6 with SMTP id 21-20020ac85915000000b003f6b9f686e6mr121094qty.4.1685395070484;
Mon, 29 May 2023 14:17:50 -0700 (PDT)
X-Received: by 2002:aca:bdd4:0:b0:39a:2a32:2f33 with SMTP id
n203-20020acabdd4000000b0039a2a322f33mr84989oif.5.1685395070083; Mon, 29 May
2023 14:17:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!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: Mon, 29 May 2023 14:17:49 -0700 (PDT)
In-Reply-To: <u5321v$1kcaf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:b116:2eff:734:a100;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:b116:2eff:734:a100
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de>
<u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<u52llu$1hhcg$1@dont-email.me> <de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
<u5321v$1kcaf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <77b648b4-98d0-4fc3-909e-b1bf16141ea2n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Mon, 29 May 2023 21:17:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4149
 by: MitchAlsup - Mon, 29 May 2023 21:17 UTC

On Monday, May 29, 2023 at 3:30:59 PM UTC-5, Terje Mathisen wrote:
> MitchAlsup wrote:
> > On Monday, May 29, 2023 at 12:01:41 PM UTC-5, Terje Mathisen wrote:
> >> luke.l...@gmail.com wrote:
> >>> On Monday, May 29, 2023 at 11:36:13 AM UTC+1, Terje Mathisen wrote:
> >>>
> >>>>> But I don't see that on the horizon any time soon - presumably, 128-bit
> >>>>> IEEE will be used instead (Like POWER does).
> >>>>>
> >>>> Absolutely correct, fp128 is the only sane way forward.
> >>>
> >>> unfortunately it comes with the implication that 128-bit
> >>> registers are now a first-order part of the ISA, or that
> >>> pairs of 64-bit registers are required. at which point
> >>> you have to think through how to handle up to 6-in
> >>> 2-out register hazard management just for FMAC.
> >>> (there are solutions, none of them very pretty).
> > <
> >> Except we already have SIMD vector regs of 128/256/512 bits and they
> >> already support FMAC type operations, the only difference being that the
> >> indivdual parts are 32 or 64 bits.
> > <
> > Are you actually arguing that 512-bit registers are the right thing to do ?
> Not really, but OTOH, I do believe that cache-line size (i.e. typically
> 64 bytes/512 bits) is the natural working set/chunk size for the CPU
> hardware. If you can do that with clever encoding tricks like your VMM,
> then more power to you.
<
Yes, some 1/2^n ; n = { 0, 1, 2 } portion of cache line size is appropriate.
a) caches are built that way regardless.
b) cache width is natural.
c) one can calculation units build as wide as they can feed data.
<
But I found no particular reason these chunks of memory have to be exposed
in a register file, or have "a special OpCode Group" to utilize them. This is
what VVM gets rid of.
>
> Demanding separate opcodes for every possible size SIMD is NOT the
> proper way to do it. Also ref Mill and our recent register tag bits thread.
> Terje
>
> --
> - <Terje.Mathisen at tmsw.no>
> "almost all programming can be viewed as an exercise in caching"

Re: The synergy of type tags on register file registers

<56fb3d87-3edf-4c7b-8de3-8f9b84ad09e6n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:2452:b0:74e:2de8:c802 with SMTP id h18-20020a05620a245200b0074e2de8c802mr96018qkn.9.1685399949530;
Mon, 29 May 2023 15:39:09 -0700 (PDT)
X-Received: by 2002:aca:3402:0:b0:39a:270a:b6b8 with SMTP id
b2-20020aca3402000000b0039a270ab6b8mr122825oia.3.1685399949167; Mon, 29 May
2023 15:39:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!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: Mon, 29 May 2023 15:39:08 -0700 (PDT)
In-Reply-To: <U08dM.3507590$iU59.3142722@fx14.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=92.19.80.230; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.19.80.230
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com> <b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com>
<u4vonr$25ppt$1@newsreader4.netcologne.de> <u50c3t$10g9m$1@dont-email.me>
<u51j2o$270ah$1@newsreader4.netcologne.de> <u51v6p$1cf9p$2@dont-email.me>
<806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com> <u52llu$1hhcg$1@dont-email.me>
<de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com> <U08dM.3507590$iU59.3142722@fx14.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <56fb3d87-3edf-4c7b-8de3-8f9b84ad09e6n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: luke.leighton@gmail.com (luke.l...@gmail.com)
Injection-Date: Mon, 29 May 2023 22:39:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2502
 by: luke.l...@gmail.com - Mon, 29 May 2023 22:39 UTC

On Monday, May 29, 2023 at 9:37:38 PM UTC+1, Scott Lurndal wrote:

> ARM's scalable vector extension allows implementations

the key being *implementations* choose. not ARM, and not programmers.

> to choose any power of two between 128 and 2048 bits.

fixed-length SIMD creates a different kind of hell: binary
incompatibility. https://www.youtube.com/watch?v=HNEm8zmkjBU
the two key instructions that catastrophically fail are element-permute
and element-rotate, both of which *silently* produce different results
for the exact same binary.

> Current extant implementations
> only support 128 bits so far as I am aware.

that is because at conferences the consensus between
ARM Licensees who knew of the binary-incompatibility
decided that the best way to avoid it was to simply never
implement anything other than 128.

l.

Re: The synergy of type tags on register file registers

<f0cfdc42-c261-4189-9eec-b143e8adb506n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:19a9:b0:3f6:b556:7c9a with SMTP id u41-20020a05622a19a900b003f6b5567c9amr18985qtc.7.1685400179657;
Mon, 29 May 2023 15:42:59 -0700 (PDT)
X-Received: by 2002:aca:df56:0:b0:396:bab:2a9f with SMTP id
w83-20020acadf56000000b003960bab2a9fmr123545oig.11.1685400179273; Mon, 29 May
2023 15:42:59 -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: Mon, 29 May 2023 15:42:58 -0700 (PDT)
In-Reply-To: <u5321v$1kcaf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=92.19.80.230; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.19.80.230
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de>
<u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<u52llu$1hhcg$1@dont-email.me> <de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
<u5321v$1kcaf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f0cfdc42-c261-4189-9eec-b143e8adb506n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: luke.leighton@gmail.com (luke.l...@gmail.com)
Injection-Date: Mon, 29 May 2023 22:42:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2463
 by: luke.l...@gmail.com - Mon, 29 May 2023 22:42 UTC

On Monday, May 29, 2023 at 9:30:59 PM UTC+1, Terje Mathisen wrote:

> Demanding separate opcodes for every possible size SIMD is NOT the
> proper way to do it.

according to Intel

....with AVX AVX2 AVX-512 and the mad number
of subsets and the mental number of times the registers have
been extended....

it most certainly is the best possible way!
https://en.wikipedia.org/wiki/Advanced_Vector_Extensions

(and what size and combinatorial-explosion of instruction-lengths
are they up to now, with over 10,000 instructions?)

l.

Re: The synergy of type tags on register file registers

<454a2f47-317b-4396-9843-638a6772b189n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:17a0:b0:759:40d8:b265 with SMTP id ay32-20020a05620a17a000b0075940d8b265mr118647qkb.0.1685400314289;
Mon, 29 May 2023 15:45:14 -0700 (PDT)
X-Received: by 2002:a05:6830:13d7:b0:6af:8a0f:44be with SMTP id
e23-20020a05683013d700b006af8a0f44bemr85013otq.5.1685400313989; Mon, 29 May
2023 15:45:13 -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: Mon, 29 May 2023 15:45:13 -0700 (PDT)
In-Reply-To: <d94b9337-52e2-4b05-a26b-ca4b011df7d5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.19.80.230; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.19.80.230
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de>
<u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<d94b9337-52e2-4b05-a26b-ca4b011df7d5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <454a2f47-317b-4396-9843-638a6772b189n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: luke.leighton@gmail.com (luke.l...@gmail.com)
Injection-Date: Mon, 29 May 2023 22:45:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2072
 by: luke.l...@gmail.com - Mon, 29 May 2023 22:45 UTC

On Monday, May 29, 2023 at 9:11:12 PM UTC+1, MitchAlsup wrote:

> 128-bit might be the only sane way forward,
> BUT pairing and sharing of registers is not.

pairing is caring...

l.

Re: The synergy of type tags on register file registers

<992b53e0-cd95-4146-899c-982414f220b5n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:4e74:0:b0:626:1d96:7725 with SMTP id ec20-20020ad44e74000000b006261d967725mr27003qvb.10.1685400517481;
Mon, 29 May 2023 15:48:37 -0700 (PDT)
X-Received: by 2002:aca:df85:0:b0:397:f126:2c60 with SMTP id
w127-20020acadf85000000b00397f1262c60mr138812oig.0.1685400517187; Mon, 29 May
2023 15:48:37 -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: Mon, 29 May 2023 15:48:36 -0700 (PDT)
In-Reply-To: <f0cfdc42-c261-4189-9eec-b143e8adb506n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:b116:2eff:734:a100;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:b116:2eff:734:a100
References: <08f739ac-2200-408c-a578-79e93f9cb272n@googlegroups.com>
<c2bde3aa-0851-4d6a-853c-4d86e0f6d932n@googlegroups.com> <8592c1d6-237d-4700-92df-e80768deb54bn@googlegroups.com>
<e141ae62-68a2-43fd-ac04-9213e2dfa0b5n@googlegroups.com> <d79ddd12-533d-4369-b6db-e14adefcacb8n@googlegroups.com>
<4f54444c-673d-48c7-a9b9-383233b0b608n@googlegroups.com> <05c50c9e-122a-4e12-b762-abf56ecaf5ben@googlegroups.com>
<b26dc80b-afbf-426e-ad34-ea82f8600d18n@googlegroups.com> <u4vonr$25ppt$1@newsreader4.netcologne.de>
<u50c3t$10g9m$1@dont-email.me> <u51j2o$270ah$1@newsreader4.netcologne.de>
<u51v6p$1cf9p$2@dont-email.me> <806573a4-0ee6-4bc7-a99b-37957669b868n@googlegroups.com>
<u52llu$1hhcg$1@dont-email.me> <de07d460-5a41-43bc-90dc-ccbf200c70a2n@googlegroups.com>
<u5321v$1kcaf$1@dont-email.me> <f0cfdc42-c261-4189-9eec-b143e8adb506n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <992b53e0-cd95-4146-899c-982414f220b5n@googlegroups.com>
Subject: Re: The synergy of type tags on register file registers
From: MitchAlsup@aol.com (MitchAlsup)
Injection-Date: Mon, 29 May 2023 22:48:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2843
 by: MitchAlsup - Mon, 29 May 2023 22:48 UTC

On Monday, May 29, 2023 at 5:43:01 PM UTC-5, luke.l...@gmail.com wrote:
> On Monday, May 29, 2023 at 9:30:59 PM UTC+1, Terje Mathisen wrote:
>
> > Demanding separate opcodes for every possible size SIMD is NOT the
> > proper way to do it.
> according to Intel
>
> ...with AVX AVX2 AVX-512 and the mad number
> of subsets and the mental number of times the registers have
> been extended....
>
> it most certainly is the best possible way!
> https://en.wikipedia.org/wiki/Advanced_Vector_Extensions
>
> (and what size and combinatorial-explosion of instruction-lengths
> are they up to now, with over 10,000 instructions?)
<
My last count was 13,700±.......
<
I get similar functionality with +2 instructions...........
>
> l.


devel / comp.arch / Re: The synergy of type tags on register file registers

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor