🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #727

Re: CISC are not "unreduced"

#727
From: Michael S
Date: Sat, 14 Nov 2026 18:56
46 lines
3205 bytes
On Sat, 14 Nov 2026 18:32:08 GMT
anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote:

> Michael S <already5chosen@yahoo.com> writes:
> >On Sat, 14 Nov 2026 17:53:07 GMT
> >anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote:  
> >> IIRC Mitch Alsup's answer to FP reduction is an accumulator with
> >> about 2100 bits or so.  It's not clear to me how one can
> >> accumulate 16 DP FP values per cycle, like Zen5 can do.
> >> 
> >> - anton  
> >
> >It still does not produce the same result as sequiential code.  
> 
> Of course the (architectural) code does not add an FP value with
> another FP value, instead it always adds to the accumulator; so the
> programmer or compiler has to know what they are doing.
> 

O.k.

> 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?

> A way to do it in parallel would be to have 16 accumulators that each
> can do one addition per cycle, and add them all in the end.  But that
> would be very expensive to implement.  Maybe there is a clever way to
> add more than one value per cycle.
> 
> It's less clear to me if one can use an accumulator for
> multiplicative reduction and if that can be parallelized, but it's
> rare AFAIK, so it may not be so important to make it fast.
> 
> - anton

FMA reduction is the most common by far.
But Horner scheme is not exactly unseen of.




Technical Details
Message-ID: <20261114205637.00005a5d@yahoo.com>
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> <11cuoa4$21279$1@dont-email.me> <jwvcxscsjsa.fsf-monnier+comp.arch@gnu.org> <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>

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: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced"
Date: Sat, 14 Nov 2026 20:56:37 +0200
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <20261114205637.00005a5d@yahoo.com>
References: <11cpqih$acf5$1@dont-email.me>
	<11cuoa4$21279$1@dont-email.me>
	<jwvcxscsjsa.fsf-monnier+comp.arch@gnu.org>
	<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>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 14 Nov 2026 18:56:36 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2258158"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19Js1ci5fvF30G4OYGZ93Zqd3UFryfjXME="; posting-host="bb5635095ca7eb4b65c164a3d0eebbd3"
Cancel-Lock: sha1:ifhkRvk6cF/t6eguGKCjq6yr3qI= sha256:v9M8aQo8N0ZkLoK/qvgokjIKlPwazfQtVRpOwOfKXWg=
	sha1:lpCy88mGVbT+Mp6OJ8w4fG7HZeU= sha256:oAD7z1ckoi1H8qER5vYpOYph9aQSHdUs2CwufF0WgZk=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)