Article View: comp.arch
Article #725Re: CISC are not "unreduced"
From: Anton Ertl
Date: Sat, 14 Nov 2026 18:32
Date: Sat, 14 Nov 2026 18:32
31 lines
2814 bytes
2814 bytes
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. Adding to the accumulator produces an exact result. So the order in which you add is irrelevant. 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 -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID:
<2026Nov14.193208@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-mailReferences:
<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>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: Sat, 14 Nov 2026 18:32:08 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 31 Message-ID: <2026Nov14.193208@mips.complang.tuwien.ac.at> 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> Injection-Date: Sat, 14 Nov 2026 18:40:48 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2243294"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LXuRlYUonVzBFaiVIMJti"; posting-host="1f8070772fba74d92d9e990a0b816aef" Cancel-Lock: sha1:9Doxt5t7xZ4ZteRTP2pfCMV4yzQ= sha256:xvYqaOyqNB5Gf8Etm9UsSwSgUGGym+tPDEldHnbIwW0= sha1:A0dJCWOvT3UXbiupsdyesc7dYN8= sha256:/WhTrXYGYjB+VoDJJQ9n7MGZ2KY0T8D+PZKnIWxmwZ4= X-newsreader: xrn 10.11