🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #665

Re: CISC are not "unreduced"

#665
From: Robert Finch
Date: Thu, 12 Nov 2026 20:49
57 lines
4383 bytes
On 2026-11-12 2:19 p.m., MitchAlsup wrote:
> anton@mips.complang.tuwien.ac.at (Anton Ertl) posted:
> 
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> Yeah, if we take CISC as motivated by the desire to provide an assembly
>>> language that is comfortable for humans, we can also take RISC as
>>> motivated by the desire to provide an assembly language that's
>>> convenient for compilers (which would rather not need to worry about
>>> tradeoffs between using LD+ADD+ST vs using some fancy addressing mode
>>> on ADD).
>>
>> The fancy addressing mode is the same whether you use it with a LD, a
>> ST, or an ADD.
>>
>> Compilers actually have no problem using that addressing mode,
>> especially in an architecture like VAX: When the variable resides in a
>> register, use a register, when it's in memory, use the appropriate
>> addressing mode.
>>
>> It's just that with the 16 registers of S/360 and a compiler that
>> allocates variables into registers, most accesses are to registers.
>>
>> And the more fancy addressing modes are not difficult for the
>> compiler, either (optimality is more difficult, but for trees has been
>> reached with tree-parsing, as used in burg or iburg).  But these
>> addressing modes are not used much, not by compilers, nor by humans
>> (IIRC the IBM 801 group looked at existing S/370 code), because the
>> corresponding access patterns are not used much.
> 
> CMU circa 1985, there was a master's thesis called "Maximal Munching
> Method" where someone wrote a tree-walker that attempted to match
> as big a tree segment as possible in targeting VAX addressing modes.
> The compiler produced good fast code (for that era).
> 
> The problem was that there was a ">" instead of a "<" in the tree
> analyzer: so, the compiler actually used VAX ISA to produce RISC-like
> code sequences.
> ---------------
>> Likewise, the famed POLY instruction of VAX is there for library use,
>> in particular for implementing transcendental functions, not because
>> it's something that programmers used often in raw form.
> 
> Performing a series of FMAC steps in the FMAC unit is straightforward--
> feeding the polynomial evaluation a series of coefficients is not--
> unless those coefficients are stored in ROM in the FMAC unit itself.
> Thus, My 66000 transcendentals.
>
Why cannot the polynomical coefficients be passed in registers?

>>> [ In contrast, vVM is definitely RISCy from that standpoint.  ]
>>
>> VVM is a microarchitectural mechanism, so architectural concepts like
>> RISC and CISC are inappropriate for that.  You may want to discuss the
>> VEC and LOOP instructions of MY 66000.
>>
>> - anton
Technical Details
Message-ID: <11d58p1$9mb7$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-can.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!news.quux.org!wilderland.ovh!ereborbbs.duckdns.org!eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me> <2026Nov9.071302@mips.complang.tuwien.ac.at> <11cru1e$11qpi$1@dont-email.me> <2026Nov9.091404@mips.complang.tuwien.ac.at> <11cti0c$1lilf$4@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> <1794511167-5857@newsgrouper.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-can.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!news.quux.org!wilderland.ovh!ereborbbs.duckdns.org!eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Robert Finch <robfi680@gmail.com>
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced"
Date: Thu, 12 Nov 2026 15:49:34 -0500
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <11d58p1$9mb7$1@dont-email.me>
References: <11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me>
 <2026Nov9.071302@mips.complang.tuwien.ac.at> <11cru1e$11qpi$1@dont-email.me>
 <2026Nov9.091404@mips.complang.tuwien.ac.at> <11cti0c$1lilf$4@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>
 <1794511167-5857@newsgrouper.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Nov 2026 20:49:37 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="317799"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX180bC+NBcvda6QnwC6NeZL7V/P2rqMFmOs="; posting-host="5722395746fb20f886ca3891fc663b0c"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rIYn3P9yqbfjHNCvjfM8EIe3sYw= sha256:YaYwXFoz1vkRMYcDDLhadr0P7x2GkWs/LfQVHg0OaVc=
	sha1:XXhJOQcYfZmWEYphqcpmzIeuebY= sha256:n7ktHoQmLTrXnOI76eIywRQ6syl3G9NgwL/imCNTAqI=
Content-Language: en-US
In-Reply-To: <1794511167-5857@newsgrouper.org>