🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #654

Re: CISC are not "unreduced"

#654
From: MitchAlsup
Date: Thu, 12 Nov 2026 02:32
75 lines
3963 bytes
BGB <cr88192@gmail.com> posted:

> On 11/10/2026 11:08 AM, Stefan Monnier wrote:
> > David Brown [2026-11-10 10:31:47] wrote:
> >> It is also, I think, helpful to consider RISC as the "opposite" of
> >> CISC - and Complex Instruction Set Computer cannot really be
> >> interpreted as meaning anything other than that the instructions are
> >> "complex".  By comparison, with RISC the /instructions/ are "reduced".
> > 
> > Indeed.  And one of the motivations behind the CISC evolution was the
> > famed "semantic gap", which pushed towards rather fewer instructions
> > that are more flexible, regular, and powerful.
> > 
> 
> I can note that one goal I pushed for in my ISA design was to reduce 
> executed instruction counts without raising the level of abstraction
> or having complex logic.

For my part, My 66000 was restricted to not add more than 1 gate of delay 
per cycle to any stage of the pipeline.
 
> Though, this mostly ends up creating a pressure towards a larger GPR 
> space and having the ability to encode larger immediate and displacement 
> fields and similar for the cases where spills were common.

I did not find that, given that I waste no registers for immediates or
displacements.
 
> Also the LUI+ADDI scheme used by RISC-V, while very effective as a 
> fallback case for a 32-bit machine, falls on its face for 64-bit 
> machines. Also the design of the ISA starts to fall on its face the 
> moment one has a struct or similar that is larger than 2K.
> 
> So:
>    LUI+ADD+LW/SW => Sucks...
> Well, and:
>    SLL+ADD+LW/SW => Also sucks.
> ...

And the only thing that always works is:

     MEM   Rd,[Rbase,Rindex<<scale,#displacement{32 or 64}]

You can access anything anywhere in a 64-bit VAS in 1 instruction--
including transferring control through GOT.

-------------------
> And, like, if one were doing a lot of work with JPEG or similar, a case 
> could be made for things like YUV -> RGB converters and similar. 
> Nevermind the specific version of YUV.
> 
> Some of my stuff used an approximation, say:
>    Y=(4*G+3*R+B)/8; U=(B-Y)/2+128; V=(R-Y)/2+128;
> 
> Which while not an exact match for the standard color spaces, is "close 
> enough". If mashing the result into RGB555 it may not really matter. 
> Could be realized relatively affordably in a hardware implementation.
> 
> Well, and say:
>    Y=(9*G+5*R+2*B)/16;
>    ...
> Would be more accurate, but slightly less cheap to convert back to RGB 
> (even if, yes, these factors still allow the multiplications to be done 
> via a LEA instruction or similar; it results in the reverse-side Green 
> conversion no longer being a plain shift).
> 
> Say:
>    G=(8*Y-3*R-B)>>2;
> Vs:
>    G=((16*Y-5*R-2*B)*57)>>9;

My point on all of this is to find a way to avoid approximations and
get the well defined math done cheaply.
 
Technical Details
Message-ID: <1794450754-5857@newsgrouper.org>
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!newsgrouper.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> <11d2jle$3cijo$1@dont-email.me>

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!newsgrouper.org!.POSTED!not-for-mail
From: MitchAlsup <user5857@newsgrouper.org.invalid>
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced"
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> <11d2jle$3cijo$1@dont-email.me>
Date: Thu, 12 Nov 2026 02:32:34 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1794450754-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Thu, 12 Nov 2026 02:32:34 GMT
User-Agent: Newsgrouper/0.9.0