Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"jackpot: you may have an unnecessary change record" -- message from "diff"


devel / comp.arch / Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

SubjectAuthor
* Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
+* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsThomas Koenig
|`* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
| `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsThomas Koenig
|  `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|   `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|    `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsThomas Koenig
|     `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|      `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|       `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|        +* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|        |+* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|        ||`* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|        || `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|        ||  `- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|        |`- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsThomas Koenig
|        `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsStephen Fuld
|         +* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|         |`* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|         | `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|         |  +* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsIvan Godard
|         |  |`- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
|         |  `- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|         +- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
|         `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsTim Rentsch
|          `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsQuadibloc
|           +- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsQuadibloc
|           `- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsTim Rentsch
+* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsQuadibloc
|`- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
`* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
 `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
  `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
   `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
    `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup
     `* Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectorsluke.l...@gmail.com
      `- Re: Libre-SOC going to 180nm silicon, and Virtual Vertical VectorsMitchAlsup

Pages:12
Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<cc4fa4ad-d6bd-4694-8ce6-12b1bae89020n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5f86:: with SMTP id j6mr1714540qta.227.1626141315516;
Mon, 12 Jul 2021 18:55:15 -0700 (PDT)
X-Received: by 2002:aca:53ce:: with SMTP id h197mr12399649oib.30.1626141315372;
Mon, 12 Jul 2021 18:55:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Mon, 12 Jul 2021 18:55:15 -0700 (PDT)
In-Reply-To: <0a8fecd6-b011-4c22-8ebb-abd21e81a72dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:2914:c98d:387d:bfef;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:2914:c98d:387d:bfef
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <402482d6-e2f5-46ee-9574-a36d52252f7an@googlegroups.com>
<0a8fecd6-b011-4c22-8ebb-abd21e81a72dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc4fa4ad-d6bd-4694-8ce6-12b1bae89020n@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 13 Jul 2021 01:55:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: MitchAlsup - Tue, 13 Jul 2021 01:55 UTC

On Monday, July 12, 2021 at 8:34:58 PM UTC-5, luke.l...@gmail.com wrote:
> On Tuesday, July 13, 2021 at 2:01:34 AM UTC+1, MitchAlsup wrote:
> > On Monday, July 12, 2021 at 7:51:42 PM UTC-5, luke.l...@gmail.com wrote:
> .
> > > we'll be adding SIN and COS etc because 3D. although.. aren't these supposed to be expensive latency even in hardware (like divide?) and so best cached in tables anyway?
> > <
> > While they are FDIV-like in latency the FFTs can be arranged so that these are
> > initialized outside of the innermost loop, which considerably decreases the costs.
> ohh yehyehyeh, seen examples like that.
> > And if the FFT is a big data set, each inner loop will totally trash the L1 and most
> > of the L2 caches, so having these in tables can be significantly more expensive
> > than a cache hitting LD; and at this point the instructions are higher performing....
> interesting. would a 4 way set associative L1 cache not help?
<
Not "that" much. It is a capacity problem. A radix 2 FFT accesses 4 complex data points
performs "some" math and stores them back. Then it accesses the next 4 data points
in 4× strip-mine fashion. So that other than having 4 pointers into memory, it is a typical
strip mine type of FP memory access problem.
<
4-sets will help along the fringes, but not by a lot.
<
< i am keenly aware that the FFT hits the same power of 2 point, so if there are say 64 cache lines it is ABSOLUTELY guaranteed that for large FFTs the exact same cache line is going to get hammered.
<
you need to add the words "a lot" just after "hammered".
<
> > <
> > Also note: USPTO 10,761,806 has been issued which covers how to do these
> > at FDIV speeds. I am willing to sell licenses for less than it will cost you to
> > assign an engineer to develop noninfrigning implementation. We should take
> > this off line.......
<
> cando, this will be something the commercial operation would look into when established. Libre-SOC is NLnet Grant funded (charitable foundation) and a Libre/Open R&D group.
>
> l.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<5f023e59-5be5-4c28-8f74-336a8c357a26n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:57d1:: with SMTP id y17mr2967079qvx.44.1626151960607;
Mon, 12 Jul 2021 21:52:40 -0700 (PDT)
X-Received: by 2002:a05:6830:17d2:: with SMTP id p18mr2018501ota.82.1626151960318;
Mon, 12 Jul 2021 21:52:40 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.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, 12 Jul 2021 21:52:40 -0700 (PDT)
In-Reply-To: <cc4fa4ad-d6bd-4694-8ce6-12b1bae89020n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.40.186.236; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.40.186.236
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <402482d6-e2f5-46ee-9574-a36d52252f7an@googlegroups.com>
<0a8fecd6-b011-4c22-8ebb-abd21e81a72dn@googlegroups.com> <cc4fa4ad-d6bd-4694-8ce6-12b1bae89020n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5f023e59-5be5-4c28-8f74-336a8c357a26n@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: luke.lei...@gmail.com (luke.l...@gmail.com)
Injection-Date: Tue, 13 Jul 2021 04:52:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3856
 by: luke.l...@gmail.com - Tue, 13 Jul 2021 04:52 UTC

On Tuesday, July 13, 2021 at 2:55:16 AM UTC+1, MitchAlsup wrote:
> On Monday, July 12, 2021 at 8:34:58 PM UTC-5, luke.l...@gmail.com wrote:
> > On Tuesday, July 13, 2021 at 2:01:34 AM UTC+1, MitchAlsup wrote:

> > > And if the FFT is a big data set, each inner loop will totally trash the L1 and most
> > > of the L2 caches, so having these in tables can be significantly more expensive
> > > than a cache hitting LD; and at this point the instructions are higher performing....
> > interesting. would a 4 way set associative L1 cache not help?
> <
> Not "that" much. It is a capacity problem. A radix 2 FFT accesses 4 complex data points
> performs "some" math and stores them back. Then it accesses the next 4 data points
> in 4× strip-mine fashion. So that other than having 4 pointers into memory, it is a typical
> strip mine type of FP memory access problem.

arrrgh i remember now, i did the LDST analysi...^W guesswork based on DFT, not full complex FFT.

mmm... thinkthink...

ok the analysis for DFT went something like this:

* for RADIX16 data can be loaded contiguously in place.
* let us set the max inplace size at 16 based on register file size
* therefore to do RADIX32 you must use recursion:
- perform 2 RADIX16s
- perform a last layer (outer loop) butterfly
* the two inner RADIX16s have to be offset odd and even.

now, let us extend that to RADIX-1024. this requires (1024/16) leaf-node RADIX16s each one taking data *every 16th element*.

here therefore is where the cache lines get regular-spaced hammering (a lot). RADIX-16, by spacing out every 16th element, if there are 64 L1 cache lines, any one of those RADIX-16s will try to fit all 16 elements into only (say) 4 cache lines. if however you did RADIX-8 that tries to fit into double that number of cache lines.

this is dreadful.

does the situation improve if using a bitreversed LOAD sequence?

l.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a0c:ff01:: with SMTP id w1mr2799344qvt.28.1626152632366;
Mon, 12 Jul 2021 22:03:52 -0700 (PDT)
X-Received: by 2002:a9d:5603:: with SMTP id e3mr2048937oti.178.1626152632168;
Mon, 12 Jul 2021 22:03:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Mon, 12 Jul 2021 22:03:51 -0700 (PDT)
In-Reply-To: <cc762ae9-3ecf-45fb-aab6-4105ac2047f2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.40.186.236; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 92.40.186.236
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me>
<c26d525c-ff9e-4b2a-8e2c-9882bb0b4cc0n@googlegroups.com> <cc762ae9-3ecf-45fb-aab6-4105ac2047f2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: luke.lei...@gmail.com (luke.l...@gmail.com)
Injection-Date: Tue, 13 Jul 2021 05:03:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: luke.l...@gmail.com - Tue, 13 Jul 2021 05:03 UTC

On Tuesday, July 13, 2021 at 2:39:30 AM UTC+1, MitchAlsup wrote:

> As a point of comparison, My 66000 has exactly 61 instructions total.

Power ISA has popcount (glad i sootted the typo in that one from this dreadful peck peck phone), count leading zeros, count trailing zeros, bpermd, 12 variants of add/subtract because it has carry-in and carry-out, 3 BCD instructions, Condition Code logical operators, Indexed as well as immediate LDST *and* LD-with-update, it is... extensive.

Condition Codes and the Indexed and update LDSTs save an awful lot of instructions for the kinds of workloads it is put to.

is there a "summary card" around anywhere online with the 66000 ISA?

l.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<scj95j$ug4$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
Date: Mon, 12 Jul 2021 22:43:14 -0700
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <scj95j$ug4$1@dont-email.me>
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de>
<1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de>
<0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com>
<scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com>
<6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com>
<scip94$ia9$1@dont-email.me>
<c26d525c-ff9e-4b2a-8e2c-9882bb0b4cc0n@googlegroups.com>
<cc762ae9-3ecf-45fb-aab6-4105ac2047f2n@googlegroups.com>
<2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Jul 2021 05:43:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b25487e18a0f0d1694447909fd8b4ea1";
logging-data="31236"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188ufyh1KwpzI1QbS/ZVTn+"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:VgkqZpTxUccTjs4Xni9tx5GyJpQ=
In-Reply-To: <2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com>
Content-Language: en-US
 by: Ivan Godard - Tue, 13 Jul 2021 05:43 UTC

On 7/12/2021 10:03 PM, luke.l...@gmail.com wrote:
> On Tuesday, July 13, 2021 at 2:39:30 AM UTC+1, MitchAlsup wrote:
>
>> As a point of comparison, My 66000 has exactly 61 instructions total.
>
> Power ISA has popcount (glad i sootted the typo in that one from this dreadful peck peck phone), count leading zeros, count trailing zeros, bpermd, 12 variants of add/subtract because it has carry-in and carry-out, 3 BCD instructions, Condition Code logical operators, Indexed as well as immediate LDST *and* LD-with-update, it is... extensive.
>
> Condition Codes and the Indexed and update LDSTs save an awful lot of instructions for the kinds of workloads it is put to.
>
> is there a "summary card" around anywhere online with the 66000 ISA?
>
> l.
>

apples vs. bananas. Is "instruction" a semantic notion, or an encoding one?

When My66 casts a CARRY over an ADD, is that still an ADD?
Well, yes, it still has the same binary encoding.
Well, no, it does a different job.

Mitch is counting it as an ADD, and so gets a lower "instruction count"
than an ISA that encodes the same job as an ADC.

Mill "load" functionality comes with independent semantic variants:
with or without predication
with a base register or a pointer from the belt
with or without an index from the belt
with one of byte/half/word/double/quad data width
with or without index scaling
with one of 0/1/2/4 byte offset

How many "instructions" does this comprise?

We call the cross-product of these semantic possibilities the "models".
There are well over a thousand different models in the Mill ISA. In all,
does Mill or My66 need more or less entropy to express a "load" operation?

Counts of ISA instructions don't tell you anything. Don't get sucked
into a meaningless pissing contest.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<scjauo$bfb$3@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-2e47-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
Date: Tue, 13 Jul 2021 06:13:44 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <scjauo$bfb$3@newsreader4.netcologne.de>
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de>
<1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de>
<0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com>
<scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com>
<6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com>
<402482d6-e2f5-46ee-9574-a36d52252f7an@googlegroups.com>
Injection-Date: Tue, 13 Jul 2021 06:13:44 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-2e47-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:2e47:0:7285:c2ff:fe6c:992d";
logging-data="11755"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Tue, 13 Jul 2021 06:13 UTC

MitchAlsup <MitchAlsup@aol.com> schrieb:

> Also note: USPTO 10,761,806 has been issued which covers how to do these
> at FDIV speeds.

Congratulations!

People should now be beating a path to your door.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<42884b4e-b38d-4310-82d7-d363c919f983n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ae9:e713:: with SMTP id m19mr3966232qka.98.1626178018972;
Tue, 13 Jul 2021 05:06:58 -0700 (PDT)
X-Received: by 2002:a05:6830:30a5:: with SMTP id g5mr3419672ots.76.1626178018628;
Tue, 13 Jul 2021 05:06:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Tue, 13 Jul 2021 05:06:58 -0700 (PDT)
In-Reply-To: <scj95j$ug4$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=217.147.94.29; posting-account=soFpvwoAAADIBXOYOBcm_mixNPAaxW9p
NNTP-Posting-Host: 217.147.94.29
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me>
<c26d525c-ff9e-4b2a-8e2c-9882bb0b4cc0n@googlegroups.com> <cc762ae9-3ecf-45fb-aab6-4105ac2047f2n@googlegroups.com>
<2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com> <scj95j$ug4$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <42884b4e-b38d-4310-82d7-d363c919f983n@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: luke.lei...@gmail.com (luke.l...@gmail.com)
Injection-Date: Tue, 13 Jul 2021 12:06:58 +0000
Content-Type: text/plain; charset="UTF-8"
 by: luke.l...@gmail.com - Tue, 13 Jul 2021 12:06 UTC

On Tuesday, July 13, 2021 at 6:43:18 AM UTC+1, Ivan Godard wrote:
> On 7/12/2021 10:03 PM, luke.l...@gmail.com wrote:

> Mill "load" functionality comes with independent semantic variants:
> with or without predication
> with a base register or a pointer from the belt
> with or without an index from the belt
> with one of byte/half/word/double/quad data width
> with or without index scaling
> with one of 0/1/2/4 byte offset
>
> How many "instructions" does this comprise?

a lot :)

> We call the cross-product of these semantic possibilities the "models".

in SVP64 it's well north of a quarter of a million: that's just what a 24-bit
prefix will do to a 32-bit (pre-existing, suffixed) scalar instruction set.
including REMAP, SWIZZLE and others it's probably more like several
million.

> There are well over a thousand different models in the Mill ISA. In all,
> does Mill or My66 need more or less entropy to express a "load" operation?
>
> Counts of ISA instructions don't tell you anything. Don't get sucked
> into a meaningless pissing contest.

i know where Mitch is coming from: simplicity of the ISA decoder.
Power ISA is a PIG to decode into Micro-Ops: 4,000 gates *and
we haven't added FP yet*.

l.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<fefb838e-8b4f-4721-8486-63021db07f9an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:6b0f:: with SMTP id w15mr4813272qts.366.1626193315682; Tue, 13 Jul 2021 09:21:55 -0700 (PDT)
X-Received: by 2002:a9d:6b0b:: with SMTP id g11mr4431738otp.240.1626193315371; Tue, 13 Jul 2021 09:21:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Tue, 13 Jul 2021 09:21:55 -0700 (PDT)
In-Reply-To: <5f023e59-5be5-4c28-8f74-336a8c357a26n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:5862:643b:ebd2:6621; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:5862:643b:ebd2:6621
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com> <sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com> <scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com> <90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de> <fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com> <f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <402482d6-e2f5-46ee-9574-a36d52252f7an@googlegroups.com> <0a8fecd6-b011-4c22-8ebb-abd21e81a72dn@googlegroups.com> <cc4fa4ad-d6bd-4694-8ce6-12b1bae89020n@googlegroups.com> <5f023e59-5be5-4c28-8f74-336a8c357a26n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fefb838e-8b4f-4721-8486-63021db07f9an@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 13 Jul 2021 16:21:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 54
 by: MitchAlsup - Tue, 13 Jul 2021 16:21 UTC

On Monday, July 12, 2021 at 11:52:41 PM UTC-5, luke.l...@gmail.com wrote:
> On Tuesday, July 13, 2021 at 2:55:16 AM UTC+1, MitchAlsup wrote:
> > On Monday, July 12, 2021 at 8:34:58 PM UTC-5, luke.l...@gmail.com wrote:
> > > On Tuesday, July 13, 2021 at 2:01:34 AM UTC+1, MitchAlsup wrote:
>
> > > > And if the FFT is a big data set, each inner loop will totally trash the L1 and most
> > > > of the L2 caches, so having these in tables can be significantly more expensive
> > > > than a cache hitting LD; and at this point the instructions are higher performing....
> > > interesting. would a 4 way set associative L1 cache not help?
> > <
> > Not "that" much. It is a capacity problem. A radix 2 FFT accesses 4 complex data points
> > performs "some" math and stores them back. Then it accesses the next 4 data points
> > in 4× strip-mine fashion. So that other than having 4 pointers into memory, it is a typical
> > strip mine type of FP memory access problem.
> arrrgh i remember now, i did the LDST analysi...^W guesswork based on DFT, not full complex FFT.
>
> mmm... thinkthink...
>
> ok the analysis for DFT went something like this:
>
> * for RADIX16 data can be loaded contiguously in place.
> * let us set the max inplace size at 16 based on register file size
> * therefore to do RADIX32 you must use recursion:
> - perform 2 RADIX16s
> - perform a last layer (outer loop) butterfly
> * the two inner RADIX16s have to be offset odd and even.
>
> now, let us extend that to RADIX-1024. this requires (1024/16) leaf-node RADIX16s each one taking data *every 16th element*.
>
> here therefore is where the cache lines get regular-spaced hammering (a lot). RADIX-16, by spacing out every 16th element, if there are 64 L1 cache lines, any one of those RADIX-16s will try to fit all 16 elements into only (say) 4 cache lines. if however you did RADIX-8 that tries to fit into double that number of cache lines.
>
> this is dreadful.
>
> does the situation improve if using a bitreversed LOAD sequence?
<
There is an in-place data manipulation that basically has to touch everything in the array
sooner (decimation in time) or later (decimation in frequency). So the only real difference
is WHEN you run into the complete strip mining of the cache footprint.
>
> l.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<1e50f0bb-8972-41a3-ba5c-07253881e5fan@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:4690:: with SMTP id bq16mr5820531qvb.23.1626193525521;
Tue, 13 Jul 2021 09:25:25 -0700 (PDT)
X-Received: by 2002:a05:6808:107:: with SMTP id b7mr167776oie.44.1626193525307;
Tue, 13 Jul 2021 09:25:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Tue, 13 Jul 2021 09:25:25 -0700 (PDT)
In-Reply-To: <2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:5862:643b:ebd2:6621;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:5862:643b:ebd2:6621
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me>
<c26d525c-ff9e-4b2a-8e2c-9882bb0b4cc0n@googlegroups.com> <cc762ae9-3ecf-45fb-aab6-4105ac2047f2n@googlegroups.com>
<2e25aec4-a920-4699-aef1-254cf01aca60n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1e50f0bb-8972-41a3-ba5c-07253881e5fan@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 13 Jul 2021 16:25:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: MitchAlsup - Tue, 13 Jul 2021 16:25 UTC

On Tuesday, July 13, 2021 at 12:03:53 AM UTC-5, luke.l...@gmail.com wrote:
> On Tuesday, July 13, 2021 at 2:39:30 AM UTC+1, MitchAlsup wrote:
>
> > As a point of comparison, My 66000 has exactly 61 instructions total.
> Power ISA has popcount (glad i sootted the typo in that one from this dreadful peck peck phone), count leading zeros, count trailing zeros, bpermd, 12 variants of add/subtract because it has carry-in and carry-out, 3 BCD instructions, Condition Code logical operators, Indexed as well as immediate LDST *and* LD-with-update, it is... extensive.
>
> Condition Codes and the Indexed and update LDSTs save an awful lot of instructions for the kinds of workloads it is put to.
>
> is there a "summary card" around anywhere online with the 66000 ISA?
<
No, but I have something more like "Principles of operation" (2 *.pdfs about 336 pages)
Chapter 4 is the summary card (18 pages)
>
> l.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<86zgum5xrb.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
Date: Fri, 16 Jul 2021 04:00:40 -0700
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <86zgum5xrb.fsf@linuxsc.com>
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com> <sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com> <scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com> <90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de> <fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com> <f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="09634a13793bf13421bcf3f217467df0";
logging-data="9110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zwtkk12f4kRuE7x1TxV3/O5ZXGXEC0o4="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:gaRciETD1U0nVDrVzszmVeqtU3A=
sha1:Gdq6NxomkmVf7jeCB/1oTEVWtlM=
 by: Tim Rentsch - Fri, 16 Jul 2021 11:00 UTC

Stephen Fuld <sfuld@alumni.cmu.edu.invalid> writes:

> I am certainly not an expert in this area, but isn't complex used
> much more frequently than Quaternions or Octonerions?

Quaternions are routinely used to represent orientation in
3-space, for example in spacecraft flight software.

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<76e824b1-69d4-4d45-a453-2ccbb1b9bdfbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:34c:: with SMTP id r12mr14173029qtw.196.1626531426845;
Sat, 17 Jul 2021 07:17:06 -0700 (PDT)
X-Received: by 2002:a9d:5f19:: with SMTP id f25mr12654707oti.206.1626531426636;
Sat, 17 Jul 2021 07:17:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 17 Jul 2021 07:17:06 -0700 (PDT)
In-Reply-To: <86zgum5xrb.fsf@linuxsc.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa3c:a000:d407:3113:3c50:f5d2;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa3c:a000:d407:3113:3c50:f5d2
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me>
<86zgum5xrb.fsf@linuxsc.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <76e824b1-69d4-4d45-a453-2ccbb1b9bdfbn@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Sat, 17 Jul 2021 14:17:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Sat, 17 Jul 2021 14:17 UTC

On Friday, July 16, 2021 at 5:00:43 AM UTC-6, Tim Rentsch wrote:
> Stephen Fuld <sf...@alumni.cmu.edu.invalid> writes:

> > I am certainly not an expert in this area, but isn't complex used
> > much more frequently than Quaternions or Octonerions?

> Quaternions are routinely used to represent orientation in
> 3-space, for example in spacecraft flight software.

I do remember quaternions being mentioned in a book on
mathematics for writing video games.

However, quaternion multiplication produces the cross
product as the imaginary part, and the dot product as
the real part; they have to be separated out before a
second multplication, or things will become messed up.

So what really happens when using quaternions is that
vector calculus operations are being done which it would
probably make more sense to implement directly.

On the other hand, complex numbers are nearly ubiquitous,
being fundamental to calculus.

Caley's octaves - now often called octonions, although in
Caley's day, that name was taken for something else that
is completely forgotten nowadays - are indeed hardly used
at all, although they are noted as an example of a division
algebra.

John Savard

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<25f5d5df-284b-4fe2-9b95-5355d681cdfcn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:4004:: with SMTP id h4mr15409272qko.370.1626531495794;
Sat, 17 Jul 2021 07:18:15 -0700 (PDT)
X-Received: by 2002:a05:6808:d54:: with SMTP id w20mr15958640oik.175.1626531495580;
Sat, 17 Jul 2021 07:18:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 17 Jul 2021 07:18:15 -0700 (PDT)
In-Reply-To: <76e824b1-69d4-4d45-a453-2ccbb1b9bdfbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:fa3c:a000:d407:3113:3c50:f5d2;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:fa3c:a000:d407:3113:3c50:f5d2
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com>
<sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com>
<scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com>
<90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de>
<fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com>
<f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me>
<86zgum5xrb.fsf@linuxsc.com> <76e824b1-69d4-4d45-a453-2ccbb1b9bdfbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <25f5d5df-284b-4fe2-9b95-5355d681cdfcn@googlegroups.com>
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Sat, 17 Jul 2021 14:18:15 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Sat, 17 Jul 2021 14:18 UTC

On Saturday, July 17, 2021 at 8:17:08 AM UTC-6, Quadibloc wrote:

> Caley's octaves

Oops, Cayley.

John Savard

Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors

<86fsvs42n4.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Libre-SOC going to 180nm silicon, and Virtual Vertical Vectors
Date: Mon, 02 Aug 2021 02:27:59 -0700
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <86fsvs42n4.fsf@linuxsc.com>
References: <9cda8070-fe83-4c7c-beb2-33a4e4612fc9n@googlegroups.com> <sc9jfi$q0k$1@newsreader4.netcologne.de> <1fd1e468-645d-4d10-a433-240a18b3a20fn@googlegroups.com> <scf70f$jfp$1@newsreader4.netcologne.de> <0229daca-7af9-4bc1-8774-82551950dd53n@googlegroups.com> <90d7fd1c-3176-4a4e-9213-a541a0e43cb9n@googlegroups.com> <scfem1$pf9$1@newsreader4.netcologne.de> <fb6733b8-64b4-4c19-aad9-3166cb93bfffn@googlegroups.com> <6824a820-f53b-4f93-a849-ce4f05dd8701n@googlegroups.com> <f5ad32cc-7c33-41a7-9f5b-e5c3cd09daf1n@googlegroups.com> <scip94$ia9$1@dont-email.me> <86zgum5xrb.fsf@linuxsc.com> <76e824b1-69d4-4d45-a453-2ccbb1b9bdfbn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="060020ed4df747d792a42c4a015e636f";
logging-data="4989"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/wwysWf7APcDWKcEFHkd+2OkO6GPDtXU="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:vup7eb8BpsCzvNfADdGpK6wLixQ=
sha1:lh/WuR8/CdIGo0HRFF1ZkyKAcPo=
 by: Tim Rentsch - Mon, 2 Aug 2021 09:27 UTC

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

> On Friday, July 16, 2021 at 5:00:43 AM UTC-6, Tim Rentsch wrote:
>
>> Stephen Fuld <sf...@alumni.cmu.edu.invalid> writes:
>>
>>> I am certainly not an expert in this area, but isn't complex used
>>> much more frequently than Quaternions or Octonerions?
>>
>> Quaternions are routinely used to represent orientation in
>> 3-space, for example in spacecraft flight software.
>
> I do remember quaternions being mentioned in a book on
> mathematics for writing video games.
>
> However, quaternion multiplication produces the cross
> product as the imaginary part, and the dot product as
> the real part; they have to be separated out before a
> second multplication, or things will become messed up.

This comment is something of a non sequitur. Quaternions are
values with four components. Quaternion multiplication takes two
four-component values in and produces a single four-component value
out; each of the four output components involves three additions
and four multiplications, and furthermore each output component
involves all eight components (in different combinations) of the
two input values. If someone wants to think of quaternion
multiplication as involving (in part) dot products and cross
products, that might be useful for a mental understanding, but it
is not necessary either for understanding or for implementing the
operation of quaternion multiplication.

> So what really happens when using quaternions is that
> vector calculus operations are being done which it would
> probably make more sense to implement directly.

I can tell you from first hand experience that implementing
quaternion multiplication does not involve any of the usual vector
operations. It's just straight adds and multiplies.

> On the other hand, complex numbers are nearly ubiquitous,
> being fundamental to calculus.

Complex numbers are often used in mathematics, but less so in
software. In the mathematical domain, complex numbers behave
perfectly. In the programming domain, complex numbers can easily
lead to problems of cancellation and numerical stability. It's a
dirty little secret that implementing complex multiplication and
division is a lot more difficult than it might appear at first
blush, because of cancellation and range problems. Using complex
numbers often simplifies mathematics, but can easily complicate
programming.

Note that quaternions do not have these numerical problems, as they
are typically used, because quaternion values are normalized to
have unit length. Multiplying two quaternions of unit length
produces an output that is also of unit length, so they tend to
be much better behaved than arbitrary complex values.

Besides which, all I said is that quaternions are routinely used to
represent orientation in 3-space, which is true in both video game
software and in spacecraft control software.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor