🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #746

Re: CISC are not "unreduced"

#746
From: Anton Ertl
Date: Sun, 15 Nov 2026 06:56
33 lines
2887 bytes
Michael S <already5chosen@yahoo.com> writes:
>On Sat, 14 Nov 2026 18:32:08 GMT
>anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote:
>> Adding to the accumulator produces an exact result.  So the order in
>> which you add is irrelevant.
>> 
>
>I think that it is only almost irrelevant. Overflows still can differ.
>Or may be not, if you have few more bits?

Yes.  But how many more bits?  I guess you have to use on the order of
60 extra bits if you want to support accumulating over several years
without forcing overflow detection in the meantime.

Alternatively, the architecture could require an explicit
overflow-check instruction every n adds to the accumulator, and then
the additions could not be reordered wrt. this instruction.  60 extra
bits looks more attractive to me.

>But Horner scheme is not exactly unseen of.

How would it be sped up in SIMD?  Un-Horner it and compute all the
powers in parallel, then multiply with the coefficients in parallel,
then add up the summands with pairwise addition?

With VVM, the parallel parts should be relatively straightforward to
do, and then the pairwise addition parts would be done with the
reduction support, whatever it is.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov15.075655@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cpqih$acf5$1@dont-email.me> <1794357499-5857@newsgrouper.org> <jwvik23o10u.fsf-monnier+comp.arch@gnu.org> <2026Nov12.072121@mips.complang.tuwien.ac.at> <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> <2026Nov13.192642@mips.complang.tuwien.ac.at> <2026Nov13.225125@mips.complang.tuwien.ac.at> <20261114183612.00006a3f@yahoo.com> <2026Nov14.185307@mips.complang.tuwien.ac.at> <20261114201656.000064d5@yahoo.com> <2026Nov14.193208@mips.complang.tuwien.ac.at> <20261114205637.00005a5d@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced"
Date: Sun, 15 Nov 2026 06:56:55 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 33
Message-ID: <2026Nov15.075655@mips.complang.tuwien.ac.at>
References: <11cpqih$acf5$1@dont-email.me> <1794357499-5857@newsgrouper.org> <jwvik23o10u.fsf-monnier+comp.arch@gnu.org> <2026Nov12.072121@mips.complang.tuwien.ac.at> <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> <2026Nov13.192642@mips.complang.tuwien.ac.at> <2026Nov13.225125@mips.complang.tuwien.ac.at> <20261114183612.00006a3f@yahoo.com> <2026Nov14.185307@mips.complang.tuwien.ac.at> <20261114201656.000064d5@yahoo.com> <2026Nov14.193208@mips.complang.tuwien.ac.at> <20261114205637.00005a5d@yahoo.com>
Injection-Date: Sun, 15 Nov 2026 07:18:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2689317"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/qHbOSuaZPGCpu3lkng6HN"; posting-host="c546d9c3efc054d217948ebb9c0ff5c8"
Cancel-Lock: sha1:Cam961Nve4bs2EdN5p5Bg895wDI= sha256:nj4QNXQ7JAGUfiAlErQN4n0J9d7Ff1oEEQZLhePS+0I=
	sha1:PDYiijSwC6zjUiycP5LwMO6Bi5c= sha256:h6LNVkGg1RmUXXjWaqzN52r0Pxv7ImHPciS2TxmPRQw=
X-newsreader: xrn 10.11