Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"It's like deja vu all over again." -- Yogi Berra


devel / comp.arch / Re: bus wars, How much space did the 68000 registers take up?

SubjectAuthor
* How much space did the 68000 registers take up?Russell Wallace
+* Re: How much space did the 68000 registers take up?MitchAlsup
|`- Re: How much space did the 68000 registers take up?Russell Wallace
+* Re: How much space did the 68000 registers take up?Stephen Fuld
|`- Re: How much space did the 68000 registers take up?Russell Wallace
`* Re: How much space did the 68000 registers take up?Quadibloc
 +* Re: How much space did the 68000 registers take up?Thomas Koenig
 |+- Re: How much space did the 68000 registers take up?MitchAlsup
 |`* Re: bus wars, How much space did the 68000 registers take up?John Levine
 | +* Re: bus wars, How much space did the 68000 registers take up?BGB
 | |+* Re: bus wars, How much space did the 68000 registers take up?John Levine
 | ||+* Re: bus wars, How much space did the 68000 registers take up?BGB
 | |||+* Re: bus wars, How much space did the 68000 registers take up?robf...@gmail.com
 | ||||`- Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | |||`* Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | ||| +- Re: bus wars, How much space did the 68000 registers take up?John Levine
 | ||| +- Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | ||| `* Re: bus wars, How much space did the 68000 registers take up?BGB
 | |||  `* Re: bus wars, How much space did the 68000 registers take up?John Levine
 | |||   `* Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | |||    +* Re: bus wars, How much space did the 68000 registers take up?Robert Swindells
 | |||    |`- Re: bus wars, How much space did the 68000 registers take up?Timothy McCaffrey
 | |||    +* Re: bus wars, How much space did the 68000 registers take up?EricP
 | |||    |`- Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | |||    +* Re: bus wars, How much space did the 68000 registers take up?Bernd Linsel
 | |||    |`- Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | |||    `- Re: bus wars, How much space did the 68000 registers take up?Timothy McCaffrey
 | ||+* Re: bus wars, How much space did the 68000 registers take up?Stephen Fuld
 | |||`* Re: bus wars, How much space did the 68000 registers take up?BGB
 | ||| +- Re: bus wars, How much space did the 68000 registers take up?Thomas Koenig
 | ||| `- Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 | ||+* Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | |||`* Re: bus wars, How much space did the 68000 registers take up?Stephen Fuld
 | ||| +* Re: bus wars, How much space did the 68000 registers take up?BGB
 | ||| |`- Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | ||| `* Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | |||  +* Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | |||  |+- Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||  |`- Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | |||  +* Re: bus wars, How much space did the 68000 registers take up?Stephen Fuld
 | |||  |`* Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | |||  | +- Re: bus wars, How much space did the 68000 registers take up?Stephen Fuld
 | |||  | `- Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||  `* Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||   `* Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | |||    +- Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||    +* Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||    |+* Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | |||    ||`- Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||    |`* Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | |||    | +* Re: bus wars, How much space did the 68000 registers take up?Michael S
 | |||    | |`- Re: bus wars, How much space did the 68000 registers take up?Scott Lurndal
 | |||    | `- Re: bus wars, How much space did the 68000 registers take up?BGB
 | |||    `- Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 | ||`- Re: bus wars, How much space did the 68000 registers take up?David Schultz
 | |+* Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | ||+* Re: bus wars, How much space did the 68000 registers take up?BGB
 | |||+- Re: bus wars, How much space did the 68000 registers take up?John Dallman
 | |||`- Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 | ||+- Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 | ||`* Re: bus wars, How much space did the 68000 registers take up?Timothy McCaffrey
 | || +* Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 | || |+* Re: bus wars, How much space did the 68000 registers take up?Timothy McCaffrey
 | || ||`* Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 | || || +- Re: bus wars, How much space did the 68000 registers take up?Timothy McCaffrey
 | || || `- Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | || |`- Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | || `- Re: bus wars, How much space did the 68000 registers take up?tridac
 | |`- Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 | +- Re: bus wars, How much space did the 68000 registers take up?MitchAlsup
 | `* Re: bus wars, How much space did the 68000 registers take up?Terje Mathisen
 |  +- Re: bus wars, How much space did the 68000 registers take up?Anton Ertl
 |  +* Re: bus wars, How much space did the 68000 registers take up?Thomas Koenig
 |  |`- Re: bus wars, How much space did the 68000 registers take up?John Levine
 |  `* Re: bus wars, How much space did the 68000 registers take up?Michael S
 |   `* Re: mainframe bus wars, How much space did the 68000 registers take up?John Levine
 |    `- Re: mainframe bus wars, How much space did the 68000 registers take up?Lynn Wheeler
 +* Re: How much space did the 68000 registers take up?EricP
 |`* Re: How much space did the 68000 registers take up?MitchAlsup
 | `- Re: CISC all the way down, How much space did the 68000 registers take up?John Levine
 +* Re: How much space did the 68000 registers take up?Anton Ertl
 |+* Re: How much space did the 68000 registers take up?BGB
 ||`* Re: How much space did the 68000 registers take up?MitchAlsup
 || `* Re: How much space did the 68000 registers take up?BGB
 ||  `* Re: How much space did the 68000 registers take up?MitchAlsup
 ||   `* Re: How much space did the 68000 registers take up?BGB
 ||    `* Re: How much space did the 68000 registers take up?MitchAlsup
 ||     `* Re: How much space did the 68000 registers take up?BGB
 ||      `* Re: How much space did the 68000 registers take up?MitchAlsup
 ||       `* Re: How much space did the 68000 registers take up?BGB
 ||        +- Re: How much space did the 68000 registers take up?MitchAlsup
 ||        `* Re: How much space did the 68000 registers take up?MitchAlsup
 ||         `* Re: How much space did the 68000 registers take up?BGB-Alt
 ||          `* Re: How much space did the 68000 registers take up?robf...@gmail.com
 ||           +* Re: How much space did the 68000 registers take up?MitchAlsup
 ||           |+- Re: How much space did the 68000 registers take up?BGB
 ||           |`* Re: How much space did the 68000 registers take up?Thomas Koenig
 ||           | `* Re: How much space did the 68000 registers take up?BGB
 ||           |  +* Re: How much space did the 68000 registers take up?MitchAlsup
 ||           |  |`* Re: How much space did the 68000 registers take up?BGB
 ||           |  | `* Re: How much space did the 68000 registers take up?MitchAlsup
 ||           |  `* Re: How much space did the 68000 registers take up?Scott Lurndal
 ||           `- Re: How much space did the 68000 registers take up?BGB
 |`* Re: How much space did the 68000 registers take up?Thomas Koenig
 `- Re: How much space did the 68000 registers take up?MitchAlsup

Pages:123456789101112
Re: How much space did the 68000 registers take up?

<6beed6fc-0432-4f55-9f38-36a57670c56en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33125&group=comp.arch#33125

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:4d4e:0:b0:635:a666:753b with SMTP id m14-20020ad44d4e000000b00635a666753bmr35539qvm.11.1688954174188;
Sun, 09 Jul 2023 18:56:14 -0700 (PDT)
X-Received: by 2002:a05:6a00:b4d:b0:668:8596:7538 with SMTP id
p13-20020a056a000b4d00b0066885967538mr15628007pfo.6.1688954173900; Sun, 09
Jul 2023 18:56:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sun, 9 Jul 2023 18:56:13 -0700 (PDT)
In-Reply-To: <u8fmeq$29ukm$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:93c:bdba:1d16:81d3;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:93c:bdba:1d16:81d3
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com> <2023Jul9.173411@mips.complang.tuwien.ac.at>
<u8eth9$26qad$1@dont-email.me> <92742c70-42d4-44ff-b667-df77c679d5afn@googlegroups.com>
<u8fe16$292j5$1@dont-email.me> <5ea12dcd-a5c6-4b74-a580-c0d871694dbdn@googlegroups.com>
<u8fmeq$29ukm$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6beed6fc-0432-4f55-9f38-36a57670c56en@googlegroups.com>
Subject: Re: How much space did the 68000 registers take up?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Mon, 10 Jul 2023 01:56:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 16757
 by: MitchAlsup - Mon, 10 Jul 2023 01:56 UTC

On Sunday, July 9, 2023 at 8:21:35 PM UTC-5, BGB wrote:
> On 7/9/2023 6:44 PM, MitchAlsup wrote:
> > On Sunday, July 9, 2023 at 5:57:47 PM UTC-5, BGB wrote:
> >> On 7/9/2023 3:38 PM, MitchAlsup wrote:
> >>> On Sunday, July 9, 2023 at 1:16:13 PM UTC-5, BGB wrote:
> >>>> On 7/9/2023 10:34 AM, Anton Ertl wrote:
> >>>>> Quadibloc <jsa...@ecn.ab.ca> writes:
> >>>>>> The Motorola 68000 divided the 16 registers it did provide into two
> >>>>>> groups; the general registers and the address registers. So it needed
> >>>>>> three-bit fields to specify a register in either group.
> >>>>>>
> >>>>>> The Motorola 68000 was a CISC processor; it didn't "need" more than
> >>>>>> eight registers in a register bank.
> >>>>>
> >>>>> Counterexamples: IBM S/360, VAX, AMD64, all of which have ~16
> >>>>> general-purpose registers.
> >>>>>
> >>>>> I think that the 16-bit memory interface of the 68000 meant that they
> >>>>> wanted to have many instructions that fit in 16 bits, and with more
> >>>>> than 8 registers this becomes difficult (see also the PDP-11). The
> >>>>> 8086 is an example that trying to fit useful instructions in 8 bits
> >>>>> leads to even more limitations.
> >>>>>
> >>>>> Another example is the RISC-V C extension (16-bit wide instructions),
> >>>>> where a number of these instructions can access only 8 of the 32
> >>>>> registers of the architecture.
> >>>>>
> >>>> FWIW:
> >>>> Both SuperH (and also BJX2) can use 16 GPRs for the 16-bit instruction
> >>>> encodings.
> >>>>
> >>>> However, in both ISA's, they are effectively Load/Store with typically
> >>>> only 2R encodings for the 16-bit ops.
> >>>>
> >>>> In my case, there are some 16-bit ops with access to R16..R31, but
> >>>> mostly limited to special cases:
> >>>> MOV, ADD
> >>>> MOV.{L/Q} (SP, Disp4), Rn
> >>>> ...
> >>>> Nothing in 16-bit land has access to R32..R63 though.
> >>>>
> >>>>
> >>>> Both RISC-V C and Thumb tried for 3R encodings within the 16-bit opcode
> >>>> space. But, arguably this doesn't seem terribly worthwhile as the "hit
> >>>> rate" for being limited to 8 registers is lower than that for being
> >>>> limited to, say: "Rn=Rn+Rm;" and similar.
> >>>>
> >>>> Comparably, both RV-C and Thumb had a lot of hair in terms of their
> >>>> 16-bit encodings as well.
> >>>>
> >>>>
> >>>>
> >>>> MSP430 managed 16-bit instructions, 16 registers, and CISC-like Reg/Mem
> >>>> operations, but paid for this by having an absurdly small opcode space
> >>>> (with a lot of instructions being encoded by playing trickery with the
> >>>> register fields and addressing modes).
> >>>>>> Providing 32 registers is something
> >>>>>> RISC processors do - for them, it's worth the opcode space, because
> >>>>>> opcode space is saved elsewhere
> >>>>>
> >>>>> No, it's because they have the opcode space. All those with 32
> >>>>> registers have 32-bit memory interfaces and therefore could afford
> >>>>> 32-bit instructions, so they could afford encoding registers in 5
> >>>>> bits. ARM1/2 also has a 32-bit memory interface and 32-bit
> >>>>> instructions, but only 16 GPRs (maybe due to area concerns, maybe
> >>>>> because the 801 only has 16 registers), and used the extra bits for
> >>>>> stuff like shifts or conditions.
> >>>>>
> >>>> In my case, I have some encodings (and an operating mode) which have
> >>>> 6-bit register fields, conditional execution, etc.
> >>>>
> >>>> But, compared with most RISC's (with a 32-bit instruction size), mine
> >>>> has comparably small immediate fields.
> >>>>
> >>>> Though, interestingly, XG2 Mode has typically the same sized immediate
> >>>> fields as SH-5 (which also had 6-bit register fields).
> >>>>
> >>>> Baseline mode only has 5-bit register fields for the most part, whereas
> >>>> XG2 gains 6-bit fields at the expense of making the 16-bit ops N/E.
> >>>>
> >>>>
> >>>>
> >>>> I don't see the smaller immediate fields as too big of a loss though:
> >>>> There is a reasonably good hit-rate with the current immediate fields;
> >>>> The ISA design does not overly penalize cases where an immediate can't
> >>>> fit in the immediate-field;
> >>>> There are also Jumbo prefixes.
> >>>>
> >>>> In contrast, in RISC-V, if one exceeds the 12-bit immediate field one is
> >>>> typically looking at a 3 instruction fallback case.
> >>> <
> >>> I think they (THEY) would argue mostly 1 becomes 2 instructions.
> >>> Almost all displacements greater than 12-bits become a 2 instruction
> >>> sequence; THEY would argue that this is where most big immediates
> >>> come from.
> >>> <
> >> Well, say, you have:
> >> XORI X10, X11, 511 //OK, fine.
> >> Vs:
> >> XORI X10, X11, 65521 //Now what?
> >>
> >> You get, maybe:
> >> LUI X5, 16
> >> ADDI X5, X5, -15
> >> XOR X10, X11, X5
> >>
> >> This is kinda weak...
> >>
> > I agree with you that it is weak.
> >>
> >> Meanwhile, in BJX2 (without jumbo), you can fake, say:
> >> ADD R4, 16777213, R7
> >> As a 2-op sequence:
> >> LDIZ 16777213, R0
> >> ADD R4, R0, R7
> > <
> > Even::
> > <
> > ADD Rd,Rs,#0x123456789abcdef
> > <
> > Is 1 (One, single) instruction. It occupies 3 words, but it is 1 instruction.
> > <
> > So is::
> > <
> > STD #0x123456789abcdef,[Rd,Rs<<3,#0x123456789abcdef]
> > <
> > 1 instruction, this time it occupies 5 words, but it remains 1 instruction.
> > RISC-V code for this is atrocious.
> Yeah...
> BJX2 can't do this either.
>
> With jumbo encodings, one can at least do:
> ADD R4, 0x12345678, R7
> As a single 64-bit instruction.
>
> Could in theory do:
> ADD R4, 0x123456789abcde, R7
>
> As a 96-bit encoding, if it were common enough to justify the LUT cost
> of enabling it. Granted, these exist implicitly if one enables the SIMD
> vector immediate values, since the SIMD immediate values need the same
> mechanism.
>
>
>
> Still no 64-bit displacements, mostly for timing reasons.
>
> Despite there being a 96-bit mode, only the low 48 bits are subject to
> address calculation, and only with a 33 bit displacement.
>
> The compiler can mostly gloss over this though, seeing if a person uses
> 'long' as an array index.
>
> Though, annoyingly, this does mean that it needs to end up falling back
> to a slower case if one uses 'size_t' or 'ssize_t' rather than 'int' for
> their array index.
> >>
> >> Which is part of why I burnt such a big chunk of encoding space on a
> >> "Load Imm24 into R0" instruction; 2 actually:
> >> LDIZ Imm24u, R0 //Zero-Extend
> >> LDIN Imm24n, R0 //One-Extend
> >> Which can be seen as a virtual:
> >> MOV Imm25s, R0
> >>
> > You are still wasting instructions pasting bits together that can be "had"
> > and a constant. This consumes pipeline cycles, registers, forwarding
> > energy,... There is no cheaper way to deliver an operand into calculation
> > than as a constant.
> As noted, this is excluding "jumbo", which eliminates most of the
> multi-op bit-pasting, but isn't regarded as part of the core ISA in the
> smaller profiles (and didn't exist in early forms of the ISA design).
>
>
> Then again, one option could be to promote the jumbo prefixes to the
> core ISA, in a similar way to what happened with predicated instructions.
>
> Early on, I realized that the underlying logic for predicated
> instructions was still needed for conditional branches, so there wasn't
> any good reason *not* to promote it to core.
> >>
> >> But, it sort of paid off as this instruction left encoding space that
> >> could also be used for things like Jumbo Prefixes and PrWEX encodings,
> >> which in some of my other design attempts I had attempted
> >> (unsuccessfully) to conjoin them with the Branch instructions (where
> >> trying to WEX a branch instruction is also invalid in my designs).
> >>
> > Yes, go ahead and pat yourself on the back for something I consider
> > to be poor.
> Well:
> MOV Imm25s, R0
> Is sort of a sledgehammer solution, but like, it is workable in the
> majority of cases...
<
MOV Rd,#123456789abcdef
<
works in all cases..........
>
> The
> FEii-iiii-FAii-iiii MOV Imm48u, R0
> FEii-iiii-FBii-iiii MOV Imm48n, R0
> Encoding being, arguably, even more of a sledgehammer...
>
>
> Jumbo and PrWEX are also a serious break in orthogonality, but, they
> also work.
>
> PrWEX covers the F0 and F2 blocks, which are basically where most of the
> most-used instructions are located. The F1 block can't generally be
> WEX'ed, so this isn't an issue.
>
>
> The F8 block is an annoyance, would have been nice to be able to encode
> things like, say:
> ADD?T 0x1234, R5 | MOV.Q (R4, 0x123), R6
>
> But, alas...
>
>
> But, without some of this, couldn't have shoved in the 64-bit "BRA
> Abs48" encoding...
> FFii-iiii-FAii-iiii BRA Abs48
> FFii-iiii-FBii-iiii BSR Abs48
>
>
> No way at present to encode conditional Abs48 branches though (since
> this part of the encoding space overlaps with PrWEX).
<
I use the equivalent of::
<
LDA IP,[any AGEN you want]
<
> One could have to make a case that conditional Abs48 is more valuable
> than Jumbo+PrWEX...
>
> At present though, there is no need for conditional Abs48 branches
> (since their main use-case is things like DLL imports and lambda-stubs
> and similar, which don't need to be able to be conditional).
> >>
> >> There are also a relatively limited number of combinations where A+B~=32
> >> and A+A+C=64, ...
> >>
> >> But, 24+9=33 works well as 33 bits can represent both the entire signed
> >> 32-bit range and the entire 32-bit unsigned range, thus covering all
> >> 32-bit constants. Likewise, 24+24+16=64, so this is also good.
> >>
> >>
> >> But, I had only ended up going with 20 bits for branches, as +/- 1MB has
> >> thus far been "mostly" sufficient.
> > <
> > Not surprising.
> Yeah.
>
> Most of what I am running fits in this limit.
>
>
> With some combinations of features, have pushed ROTT over the 1MB size
> limit...
<
Why have a limit ?? My GOT can be 62-bits in size leaving code and data another
62-bits without encroaching on OS space.
>
> Still nowhere near the +/- 32MB size limit though for the 2-part ops.
>
> Could make a case though that maybe the Disp33s encodings should be used
> here. But, the Disp25s case existed first...
> >>
> >> For a branch within the same EXE/DLL, most likely sufficient. For a
> >> branch outside the current DLL; one isn't going to be using a normal
> >> PC-relative branch in the first place.
> >>
> > I call from one DLL to another in a single instruction (which loads IP from
> > GOT[function#].) The linker can change this back to LDA ip,[GOT[function#]]
> > when an extern function() becomes a local function (and avoid changing
> > code size--and thus label values).
> The current mechanism I have is that, in the "Import Address Table", if
> the import has the form:
> FF00-0000-FA00-0000
> Then the loader patches it up as an Abs48 branch (but, the
> compiler/linker can provide an extra 8 bytes for in-case the PE loader
> wants to patch it up to an Inter-ISA jump).
>
> Else, it is patched up as a raw import address (in which case a multi-op
> sequence needs to load the address from memory and then branch to it).
> >>
> >>
> >>
> >> Granted, one could argue that RISC-V has a "slight" advantage for
> >> long-distance branches as they can (indirectly) perform a branch like:
> >> AUIPC X5, DispHi20
> >> JALR X1, X5, DispLo12
> > <
> > CALA [DISP32] // 32-bit address
> > CALA [DISP64] // 64-bit address
> > <
> > CALX [GOT32[function#]] // 32-bit GOT 64-bit address
> > CALX [GOT64[function#]] // 64-bit GOT 64-bit address
> > <
> > And none of these require wasting a register.
> OK.
>
> Closest I have is the Abs48 branches, but this still isn't part of the
> core ISA.
> >>
> >> Without needing a jumbo prefix or other similar mechanism.
> >>
> >>
> >> Exceeding the Load/Store displacements is still a bit of an issue though
> >> with RISC-V; as there is not really a "good" fallback that I can think
> >> of at the moment.
> >>>>
> >>>> But, OTOH, my ISA has both:
> >>>> ADD Rm, Imm9u, Rn
> >>>> And:
> >>>> ADD Imm16s, Rn
> >>>>
> >>>> Whereas RISC-V only has:
> >>>> ADD Rd, Rs, Imm12s
> >>> <
> >>> Whereas My 66000 has:
> >>> ADD Rd,Rs,#Imm16
> >>> ADD Rd,+Rs1,+Rs2
> >>> ADD Rd,+Rs1,-Rs2
> >>> ADD Rd,-Rs1,+Rs2
> >>> ADD Rd,-Rs1,-Rs2
> >>> ADD Rd,+Rs,#Imm32
> >>> ADD Rd,-Rs,#Imm32
> >>> ADD Rd,+Rs,#Imm64
> >>> ADD Rd,-Rs,#Imm64
> >>> ADD Rd,Rs,+#imm5
> >>> ADD Rd,Rs,-#Imm5
> >>> ADD Rd,+#imm5,Rs
> >>> ADD Rd,-#imm5,Rs
> >>> ADD Rd,#Imm32,+Rs
> >>> ADD Rd,#Imm32,-Rs
> >>> ADD Rd,#Imm64,+Rs
> >>> ADD Rd,#Imm64,-Rs
> >>>>
> >>>> Partly because some tasks (like adjusting the stack pointer) don't map
> >>>> over well to a 9-bit immediate field.
> >>> <
> >>> I have 16-bits........
> >> I have:
> >> ADD Imm16s, Rn
> > <
> > You also write operands and results in the wrong direction....................
<
> My ASM notation evolved out of the SH ASM notation as used by GAS and
> similar.
<
But you do have the ability to fix it, do you not ??
>
> Could have been worse:
> ADD #0x1234, %R4
> MOV.L %R4, @R5
>
> But, like, I didn't bother with '#' and '%' and similar as they were
> basically frivolous, and I ended up preferring (R5) over @R5, ...
> Dropping these did not lead to any ambiguity in terms of parsing.
<
I agree with you that %r is ugly for a register name.
I dislike @r because it is sufficiently unlike @ in C.
>
>
> But, yeah, partly the argument ordering stuck around as a remnant from
> its distant origins in the GAS notation...
>
>
> Basically, it is in a similar category to if one writes their x86 ASM like:
> addl 16(%ecx),%edx
> orl $64,%edx
>
> Clearly, some people think this is a valid style...
<
Claiming x86 is the nicest to read ISA ever ???


Click here to read the complete article
Re: bus wars, How much space did the 68000 registers take up?

<u8fro0$2e489$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33126&group=comp.arch#33126

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88...@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Sun, 9 Jul 2023 21:51:38 -0500
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <u8fro0$2e489$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Jul 2023 02:51:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="46999cb54b94ab8c5ab6784d8a809fc4";
logging-data="2560265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qc9WiRmsEZ8wFOEE+DUPo"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:9tWouPDdgkRljfW+ja9vy9qfOtI=
Content-Language: en-US
In-Reply-To: <u8f61s$18e8$2@gal.iecc.com>
 by: BGB - Mon, 10 Jul 2023 02:51 UTC

On 7/9/2023 3:41 PM, John Levine wrote:
> According to BGB <cr88192@gmail.com>:
>>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>>>
>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>
>> I guess a question is if it had been used in the PC instead of x86, if
>> Motorola could have then made it performance competitive with what later
>> x86 systems became?...
>
> Hard to say. At that point Intel just executed better than Moto.
>

Could be.
Either that, or there was some architectural factor at play.

>> OTOH, the instruction encoding does seem at least cleaner than x86...
>
> No S* Sherlock. And the huge win of flat rather than segmented addressing.
>

That hardware x86 decoders work at all is kind of impressive in a way...

>> I guess another mystery could have been if a 32-bit RISC design could
>> have been made more viable with an 8 or 16 bit memory bus?...
>>
>> From what I can gather, processors from that era didn't really use L1
>> or L2 caches though. This wouldn't likely bode well.
>
> Cache? What's a cache? The PC was shipped in 1981 and the first
> general purpose CPU chips I know with a cache were the 68030 in 1987
> and i486 in 1989.

OK.

As can be noted, my familiarity with computers from that era is a bit
sketchy at times...

Re: bus wars, How much space did the 68000 registers take up?

<da79b862-2e91-4167-bb08-bc311f918b1dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33127&group=comp.arch#33127

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:296:b0:3f9:c7e4:e549 with SMTP id z22-20020a05622a029600b003f9c7e4e549mr39212qtw.2.1688959591406;
Sun, 09 Jul 2023 20:26:31 -0700 (PDT)
X-Received: by 2002:a65:6a84:0:b0:534:6903:efd8 with SMTP id
q4-20020a656a84000000b005346903efd8mr8171007pgu.1.1688959590753; Sun, 09 Jul
2023 20:26:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sun, 9 Jul 2023 20:26:30 -0700 (PDT)
In-Reply-To: <u8fro0$2e489$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:1dde:6a00:d099:8f37:82ea:3d8b;
posting-account=QId4bgoAAABV4s50talpu-qMcPp519Eb
NNTP-Posting-Host: 2607:fea8:1dde:6a00:d099:8f37:82ea:3d8b
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com> <u8fro0$2e489$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <da79b862-2e91-4167-bb08-bc311f918b1dn@googlegroups.com>
Subject: Re: bus wars, How much space did the 68000 registers take up?
From: robfi...@gmail.com (robf...@gmail.com)
Injection-Date: Mon, 10 Jul 2023 03:26:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: robf...@gmail.com - Mon, 10 Jul 2023 03:26 UTC

On Sunday, July 9, 2023 at 10:51:48 PM UTC-4, BGB wrote:
> On 7/9/2023 3:41 PM, John Levine wrote:
> > According to BGB <cr8...@gmail.com>:
> >>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
> >>>
> >>> Legend says that if Moto had been able to ship the 68008 in quantity,
> >>> IBM would have used it in the IBM PC rather than the 8088. If only.
> >>
> >> I guess a question is if it had been used in the PC instead of x86, if
> >> Motorola could have then made it performance competitive with what later
> >> x86 systems became?...
> >
> > Hard to say. At that point Intel just executed better than Moto.
> >
> Could be.
> Either that, or there was some architectural factor at play.
> >> OTOH, the instruction encoding does seem at least cleaner than x86...
> >
> > No S* Sherlock. And the huge win of flat rather than segmented addressing.
> >
> That hardware x86 decoders work at all is kind of impressive in a way...
> >> I guess another mystery could have been if a 32-bit RISC design could
> >> have been made more viable with an 8 or 16 bit memory bus?...
> >>
> >> From what I can gather, processors from that era didn't really use L1
> >> or L2 caches though. This wouldn't likely bode well.
> >
> > Cache? What's a cache? The PC was shipped in 1981 and the first
> > general purpose CPU chips I know with a cache were the 68030 in 1987
> > and i486 in 1989.

68020 had a 256B i-cache. Do buffers count as caches? I think the 68000 or
68010 had a three word buffer it could execute out of.

> OK.
>
> As can be noted, my familiarity with computers from that era is a bit
> sketchy at times...

Re: bus wars, How much space did the 68000 registers take up?

<u8g5p3$2f2h7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33128&group=comp.arch#33128

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88...@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 00:42:50 -0500
Organization: A noiseless patient Spider
Lines: 139
Message-ID: <u8g5p3$2f2h7$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me>
<98fafac9-74c4-4548-900c-628d0d6d7f21n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jul 2023 05:42:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="46999cb54b94ab8c5ab6784d8a809fc4";
logging-data="2591271"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/I9R2i9ltFbN7X/uY/WXBr"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:uOF1yaZBFmPKNH96AuowdA96vV8=
In-Reply-To: <98fafac9-74c4-4548-900c-628d0d6d7f21n@googlegroups.com>
Content-Language: en-US
 by: BGB - Mon, 10 Jul 2023 05:42 UTC

On 7/9/2023 3:49 PM, MitchAlsup wrote:
> On Sunday, July 9, 2023 at 3:20:57 PM UTC-5, BGB wrote:
>> On 7/9/2023 2:55 PM, John Levine wrote:
>>> According to Thomas Koenig <tko...@netcologne.de>:
>>>> One should also not forget bus width, which also costs money.
>>>> The ARM2 was able to beat the 68000 on speed by a large factor
>>>> with a lower transistor count, but it also had a 32-bit data bus
>>>> (which, considering periphery, might have been too expensive when
>>>> the 68000 was designed).
>>>
>>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>>>
>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>>
>> I guess a question is if it had been used in the PC instead of x86, if
>> Motorola could have then made it performance competitive with what later
>> x86 systems became?...
> <
> If 68K was used instead of 8086, PC would have been more like LISA.
> {{which evolved into MacIntosh.}

I guess there was:
LISA / Macintosh;
Apple IIgs (WDC 65C816 based).

And, I guess they decided to go with the M68K rather than the 65C816 for
the Macintosh...

Though, reading some stuff, seems the Macintosh predated the IIgs as well...

I guess elsewhere, the 65C816 vs M68K battle played out in the SNES vs
Sega Genesis (though, Genesis was generally more powerful and had more
RAM than the SNES in this case, ...).

>>
>> Like, seemingly, relative to clock-speed, the M68K was giving comparably
>> weak performance compared with many other architectures (and AFAIK part
>> of why Apple had jumped from M68K to PPC?).
> <
> 68K was out performing 8086 in that era
> After 486 it was all done.

Probably. Had interacted some with some M68K Macs back in the 90s, they
were painfully slow compared with PCs of the time.

I guess the mystery is if in an alternate timeline, M68K could have seen
similar speed gains to what x86 saw, or if there was a property that
would have turned into a performance limiter (such as M68K having more
complicated addressing modes).

Or, if it was more that Intel effectively "pulled a rabbit out of a hat"
regarding x86?...

>>
>> OTOH, the instruction encoding does seem at least cleaner than x86...
>>
> Well, Mrs. Lincoln, how did you like the play ??

Hmm...

>>
>>
>> I guess another mystery could have been if a 32-bit RISC design could
>> have been made more viable with an 8 or 16 bit memory bus?...
>>
>> From what I can gather, processors from that era didn't really use L1
>> or L2 caches though. This wouldn't likely bode well.
> <
> There was an entire paradigm shift at the CISC->RISC boundary.

Yeah.

I don't know about the design sensibilities of older CPUs.
But, I do suspect that making something "fast" without an L1 cache or
similar is likely to be a bit of an issue...

I am having enough challenges even with a cache.

Then again, even as slow as my core is, it is looking like it is looking
like it is probably a good order of magnitude faster than some of the
early (80s era) PCs.

Getting some stats (by adding some stat outputs to my Verilator simulation):
~ 0.6 to 0.8 bundles/clock
Lower during RAM or MMIO intensive tasks
~ 1.1 to 1.8 instructions/bundle
~ 1.0 during initial Boot
(ROM is built size-optimized, which does not use the WEXifier)
Seems to vary dynamically depending on the task.
~ 30-50 MIPs
~ 35-40 MIPs while booting Doom
~ 40-50 MIPs while running Doom

Normal code is running nowhere near the "hard" limits mostly due to
things like cache miss penalties and similar. Things also seem to be
pretty variable.

I have made some fixes that seem to have got my CPU core closer in speed
to what was predicted by my emulator (but, still working on fixing some
more issues). Most of the issues have been in "outer ring" stuff, the
organization of the ringbus and issues with the RAM-backed VRAM module, ...

Elsewhere, I have noted that it seems to be ~ 1.2 BJX2 MIPs per
Dhrystone MIPs (where, say, ~ 79000 seems to map to my core running ~ 54
million instructions/second).

In a very rough estimate, it appears to correlate to Doom fps:
~ 20 MIPs -> 10 fps
~ 30 MIPs -> 15 fps
~ 40 MIPs -> 20 fps
~ 50 MIPs -> 30 fps

Though, if similar holds for early PCs, it implies that something like a
386SX-25 or similar would have been incapable of giving a solid 30 fps
or similar in Doom.

But, as can be noted, I mostly started out in a world where pretty much
any PC around could play Doom and similar without much issue.

But, yeah, it is seeming like maybe early PCs were more limited than I
was aware.

....

Re: bus wars, How much space did the 68000 registers take up?

<u8g5p8$2f20d$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33129&group=comp.arch#33129

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sfu...@alumni.cmu.edu.invalid (Stephen Fuld)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Sun, 9 Jul 2023 22:43:04 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u8g5p8$2f20d$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Jul 2023 05:43:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="045c12ab2d0f0d1289346b0133838321";
logging-data="2590733"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rJ1LTuSOhFDLsGpbbbD+2G9qO+i1b27k="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:YGqX+knhiXlwddV4xqOhuO07WxQ=
Content-Language: en-US
In-Reply-To: <u8f61s$18e8$2@gal.iecc.com>
 by: Stephen Fuld - Mon, 10 Jul 2023 05:43 UTC

On 7/9/2023 1:41 PM, John Levine wrote:
> According to BGB <cr88192@gmail.com>:
>>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>>>
>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>
>> I guess a question is if it had been used in the PC instead of x86, if
>> Motorola could have then made it performance competitive with what later
>> x86 systems became?...
>
> Hard to say. At that point Intel just executed better than Moto.

Also, due to the success of the PC, Intel had lots of money to invest in
new development, including better performance.

--
- Stephen Fuld
(e-mail address disguised to prevent spam)

Re: bus wars, How much space did the 68000 registers take up?

<u8g5vc$2f2h7$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33130&group=comp.arch#33130

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88...@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 00:46:13 -0500
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <u8g5vc$2f2h7$2@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
<u8g5p8$2f20d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jul 2023 05:46:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="46999cb54b94ab8c5ab6784d8a809fc4";
logging-data="2591271"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rvoBJWrBJtCtR8tqa9VVk"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:wRDYdjG6YapizmSl829ezny2rMQ=
In-Reply-To: <u8g5p8$2f20d$1@dont-email.me>
Content-Language: en-US
 by: BGB - Mon, 10 Jul 2023 05:46 UTC

On 7/10/2023 12:43 AM, Stephen Fuld wrote:
> On 7/9/2023 1:41 PM, John Levine wrote:
>> According to BGB  <cr88192@gmail.com>:
>>>> The original 68000 came in 16 and 8 bit bus versions, just like the
>>>> 8086 and 8088.
>>>>
>>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>>
>>> I guess a question is if it had been used in the PC instead of x86, if
>>> Motorola could have then made it performance competitive with what later
>>> x86 systems became?...
>>
>> Hard to say.  At that point Intel just executed better than Moto.
>
> Also, due to the success of the PC, Intel had lots of money to invest in
> new development, including better performance.
>

Yeah. The question is, had that pile of cash gone to Moto instead, could
they have developed the fast CPUs instead of Intel?...

Would the world have all later collectively gone to PowerPC, or might
instead PowerPC have never happened?...

....

>

Re: bus wars, How much space did the 68000 registers take up?

<2023Jul10.081448@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33131&group=comp.arch#33131

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 06:14:48 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 28
Message-ID: <2023Jul10.081448@mips.complang.tuwien.ac.at>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com> <u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com> <u8f4r5$27re5$1@dont-email.me> <98fafac9-74c4-4548-900c-628d0d6d7f21n@googlegroups.com>
Injection-Info: dont-email.me; posting-host="3621ba888cb5716f5a7707761973cf70";
logging-data="2605814"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pyt4GkiKaKTDw4+D7jR/R"
Cancel-Lock: sha1:A/COx00dcf5M3Z4atOnHkWFQw/8=
X-newsreader: xrn 10.11
 by: Anton Ertl - Mon, 10 Jul 2023 06:14 UTC

MitchAlsup <MitchAlsup@aol.com> writes:
>On Sunday, July 9, 2023 at 3:20:57=E2=80=AFPM UTC-5, BGB wrote:
>If 68K was used instead of 8086, PC would have been more like LISA.
>{{which evolved into MacIntosh.}

Lisa did not evolve into MacIntosh. Lisa and Annie (MacIntosh) were
separate projects inside Apple (there was also Sara (Apple III) and
Diana (Apple IIe)), with originally different goals. Of course, once
Jobs was ousted from the Lisa team and put himself into the MacIntosh
team, the goals of that project shifted, and the design, too. It's
more accurate to say that the MacIntosh morphed to be more like the
Lisa. Without Jobs the MacIntosh would have been more in the
direction of the Canon Cat.

I very much doubt that the IBM PC would have been more like the Lisa
if it had a 68k. The goals of the designers of the IBM PC were
completely different than the goals of the designers of Lisa. My
guess is that we would have seen a machine with MS-DOS or CP/M-68K, or
something like it, with expansion slots, etc., much like the actual
IBM PC. It would have been easier to write software for it (no
segments for going beyon 64k), and it would have had an easier time
with later models (with support for more than 640KB RAM), but other
than that it would not have been much different.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: bus wars, How much space did the 68000 registers take up?

<u8gavv$e5pr$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33132&group=comp.arch#33132

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-15fa-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 07:11:59 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <u8gavv$e5pr$1@newsreader4.netcologne.de>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
<u8g5p8$2f20d$1@dont-email.me> <u8g5vc$2f2h7$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jul 2023 07:11:59 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-15fa-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:15fa:0:7285:c2ff:fe6c:992d";
logging-data="464699"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 10 Jul 2023 07:11 UTC

BGB <cr88192@gmail.com> schrieb:
> On 7/10/2023 12:43 AM, Stephen Fuld wrote:
>> On 7/9/2023 1:41 PM, John Levine wrote:
>>> According to BGB  <cr88192@gmail.com>:
>>>>> The original 68000 came in 16 and 8 bit bus versions, just like the
>>>>> 8086 and 8088.
>>>>>
>>>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>>>
>>>> I guess a question is if it had been used in the PC instead of x86, if
>>>> Motorola could have then made it performance competitive with what later
>>>> x86 systems became?...
>>>
>>> Hard to say.  At that point Intel just executed better than Moto.
>>
>> Also, due to the success of the PC, Intel had lots of money to invest in
>> new development, including better performance.
>>
>
> Yeah. The question is, had that pile of cash gone to Moto instead, could
> they have developed the fast CPUs instead of Intel?...

ARM showed you could have much higher performance than either
Motorola or Intel, with a much simpler design and far lower
transistor count and power requirements. It's hard to find hard
numbers, but it appears the ARM2 was roughly on par with the 68020
as far as performance was concerned, at half the clock speed.

So, it _was_ possible at that time to develop something faster with a
very low budget.

Obtaining significantly higher performance would require much more
resources, something that ARM didn't invest in for a long time,
focusing on low-power applications instead.

Re: bus wars, How much space did the 68000 registers take up?

<memo.20230710085350.6840A@jgd.cix.co.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33133&group=comp.arch#33133

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jgd...@cix.co.uk (John Dallman)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 08:53 +0100 (BST)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <memo.20230710085350.6840A@jgd.cix.co.uk>
References: <u8g5p3$2f2h7$1@dont-email.me>
Reply-To: jgd@cix.co.uk
Injection-Info: dont-email.me; posting-host="8c7028f354d822cbafdbb1bba5025336";
logging-data="2616081"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EcWjX42V8THHVlvmze7d/nJD8R6ZJP1g="
Cancel-Lock: sha1:7yd2hnQsfkq+h6paZvJcCgNe7Bs=
 by: John Dallman - Mon, 10 Jul 2023 07:53 UTC

In article <u8g5p3$2f2h7$1@dont-email.me>, cr88192@gmail.com (BGB) wrote:

> I guess there was:
> LISA / Macintosh;
> Apple IIgs (WDC 65C816 based).
>
> And, I guess they decided to go with the M68K rather than the
> 65C816 for the Macintosh...

A sound decision. The 65C816 memory model makes 8086 look flexible and
easy to program. 65C816 sacrificed far too much to make it possible to
run 6502 code.

John

Re: bus wars, How much space did the 68000 registers take up?

<2023Jul10.091350@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33134&group=comp.arch#33134

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 07:13:50 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 44
Message-ID: <2023Jul10.091350@mips.complang.tuwien.ac.at>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com> <u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com> <u8g5p8$2f20d$1@dont-email.me> <u8g5vc$2f2h7$2@dont-email.me>
Injection-Info: dont-email.me; posting-host="3621ba888cb5716f5a7707761973cf70";
logging-data="2620045"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oUU1qBgcQ2gc1cwn8eq4T"
Cancel-Lock: sha1:UueLuQN/Ws4PZUmPqg33x8J+ao8=
X-newsreader: xrn 10.11
 by: Anton Ertl - Mon, 10 Jul 2023 07:13 UTC

BGB <cr88192@gmail.com> writes:
>On 7/10/2023 12:43 AM, Stephen Fuld wrote:
>> Also, due to the success of the PC, Intel had lots of money to invest in
>> new development, including better performance.
>>
>
>Yeah. The question is, had that pile of cash gone to Moto instead, could
>they have developed the fast CPUs instead of Intel?...

Motorola had significant cash from selling the 68k to the workstation
(Apollo, HP, Sun) and home computer (Amiga/Commodore, Atari, Sinclair)
manufacturers, and Apple (MacIntosh).

Their big problem was that the workstation market was more
performance-conscious than and not as architecture-locked as the PC
market, so they switched to RISCs when they gave more performance.
And they were late to the market with their own RISC (88100, released
in April 1988), so almost everybody had already switched to their own
RISC: HP to HPPA (1986), Sun to SPARC (Sun 4 in 1987); Apollo also
developed their own CPU (PRISM), but was late (first release 1988);
Apollo had various difficulties by that time, and HP bought them in
1989. The home computers died, and Apple decided to switch to RISC
(initially 88k, later PowerPC).

And while the 68020 was earlier than the 80386 (which was in many
respects comparable), the 68040 and 68060 were later than their Intel
counterparts, and not clock-rate competetive.

>Would the world have all later collectively gone to PowerPC, or might
>instead PowerPC have never happened?...

Maybe AIM would not have happened, and Power would have stayed an
IBM-only thing. Motorola would have likely still had their own RISC,
although it's not clear how that would have fared (Intel had both the
i960 and the i860, and while they initially thought that the i960
would be the future, they seemed to hardly market it after the IBM PC
market took off (if you read the story of the 386, they started out as
a minor project (which the i960 being the big project at the time),
and at some point they became kings).

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: bus wars, How much space did the 68000 registers take up?

<2023Jul10.101245@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33135&group=comp.arch#33135

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 08:12:45 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 16
Message-ID: <2023Jul10.101245@mips.complang.tuwien.ac.at>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com> <u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com> <u8f4r5$27re5$1@dont-email.me> <98fafac9-74c4-4548-900c-628d0d6d7f21n@googlegroups.com> <u8g5p3$2f2h7$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="3621ba888cb5716f5a7707761973cf70";
logging-data="2620045"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pPwE74palPeHUOYZ07LGM"
Cancel-Lock: sha1:8qYW9V95dKI9TH/QxXYDFrCFZE8=
X-newsreader: xrn 10.11
 by: Anton Ertl - Mon, 10 Jul 2023 08:12 UTC

BGB <cr88192@gmail.com> writes:
>On 7/9/2023 3:49 PM, MitchAlsup wrote:
>I guess there was:
> LISA / Macintosh;
> Apple IIgs (WDC 65C816 based).
>
>And, I guess they decided to go with the M68K rather than the 65C816 for
>the Macintosh...

The MacIntosh was originally planned with a 6809. The 65C816 was far
too late for the MacIntosh.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: bus wars, How much space did the 68000 registers take up?

<2023Jul10.111222@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33136&group=comp.arch#33136

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 09:12:22 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 25
Message-ID: <2023Jul10.111222@mips.complang.tuwien.ac.at>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com> <u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com> <u8f4r5$27re5$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="3621ba888cb5716f5a7707761973cf70";
logging-data="2632045"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+r1uqhSjCKBCNj+VJiXnqo"
Cancel-Lock: sha1:B46Bkock0pxIEpeRnjwGTFm/Pdg=
X-newsreader: xrn 10.11
 by: Anton Ertl - Mon, 10 Jul 2023 09:12 UTC

BGB <cr88192@gmail.com> writes:
>I guess another mystery could have been if a 32-bit RISC design could
>have been made more viable with an 8 or 16 bit memory bus?...

I think they would have been designed significantly differently; maybe
like ARM T32 (Thumb) or like RV32IC, or maybe with more focus on small
code size.

Note also that assembly-language programming was much more important
for 8-bit and 16-bit microprocessors than for RISCs, and human
programmers are better at making use of quirky instruction sets than
compilers, so, e.g., the 8086s instructions with implicit registers
may have been more advantageous at the time than one might think after
comparing, say the IA-32 and ARM T32 code sizes for compiled code
(from, e.g.,<2022Oct17.112448@mips.complang.tuwien.ac.at>)

> From what I can gather, processors from that era didn't really use L1
>or L2 caches though. This wouldn't likely bode well.

Definitely not the microprocessors of the 8-bit and 16-bit era.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: bus wars, How much space did the 68000 registers take up?

<u8gj0b$2gahp$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33137&group=comp.arch#33137

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.ma...@tmsw.no (Terje Mathisen)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 11:28:43 +0200
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u8gj0b$2gahp$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Jul 2023 09:28:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7431cb90fc8bc10c60257c0a465c5835";
logging-data="2632249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/v76Z+s5IY3yr7X85wuAEkOehB+bLRfGfL+gb4TIs2kg=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:R6Jy3a3knHdOv1IhvmcpJnr4scE=
In-Reply-To: <u8f3b7$kqn$1@gal.iecc.com>
 by: Terje Mathisen - Mon, 10 Jul 2023 09:28 UTC

John Levine wrote:
> According to Thomas Koenig <tkoenig@netcologne.de>:
>> One should also not forget bus width, which also costs money.
>> The ARM2 was able to beat the 68000 on speed by a large factor
>> with a lower transistor count, but it also had a 32-bit data bus
>> (which, considering periphery, might have been too expensive when
>> the 68000 was designed).
>
> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>
> Legend says that if Moto had been able to ship the 68008 in quantity,
> IBM would have used it in the IBM PC rather than the 8088. If only.

IBM wanted an intentionally crippled/low-performance system that would
not compete in any way with their small/medium systems?

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: bus wars, How much space did the 68000 registers take up?

<u8gj91$2gboq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33138&group=comp.arch#33138

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.ma...@tmsw.no (Terje Mathisen)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 11:33:20 +0200
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <u8gj91$2gboq$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Jul 2023 09:33:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7431cb90fc8bc10c60257c0a465c5835";
logging-data="2633498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Bx9ofK7NULK6667EMhMacsALtxx8XC9v4VasSpP7SOA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:ouFqAgjvDi21WO8fMXNBgmn2l2M=
In-Reply-To: <u8f61s$18e8$2@gal.iecc.com>
 by: Terje Mathisen - Mon, 10 Jul 2023 09:33 UTC

John Levine wrote:
> According to BGB <cr88192@gmail.com>:
>>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>>>
>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>
>> I guess a question is if it had been used in the PC instead of x86, if
>> Motorola could have then made it performance competitive with what later
>> x86 systems became?...
>
> Hard to say. At that point Intel just executed better than Moto.
>
>> OTOH, the instruction encoding does seem at least cleaner than x86...
>
> No S* Sherlock. And the huge win of flat rather than segmented addressing.
>
>> I guess another mystery could have been if a 32-bit RISC design could
>> have been made more viable with an 8 or 16 bit memory bus?...
>>
>> From what I can gather, processors from that era didn't really use L1
>> or L2 caches though. This wouldn't likely bode well.
>
> Cache? What's a cache? The PC was shipped in 1981 and the first
> general purpose CPU chips I know with a cache were the 68030 in 1987
> and i486 in 1989.

That 486 had a combined code/data cache of just 8 KB, and that was still
enough to make a huge difference: I had written a near-perfect
Game-of-Life competition entry: If the target had been the 386 I might
have won, but with the 486 David Stafford came up with an algorithm
which could fit most of the problem space inside those 8 KB. I the end
his entry ended up twice as fast as my code.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: bus wars, How much space did the 68000 registers take up?

<u8gjgs$2gboq$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33139&group=comp.arch#33139

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.ma...@tmsw.no (Terje Mathisen)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 11:37:32 +0200
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <u8gjgs$2gboq$2@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
<u8fro0$2e489$1@dont-email.me>
<da79b862-2e91-4167-bb08-bc311f918b1dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jul 2023 09:37:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7431cb90fc8bc10c60257c0a465c5835";
logging-data="2633498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ib9yE/wdinXFsTMKfCRDlQL8nk8bRekotY9Um/pzqEA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:vCWWz7Foo8Ghpxanb18TV+3U+VQ=
In-Reply-To: <da79b862-2e91-4167-bb08-bc311f918b1dn@googlegroups.com>
 by: Terje Mathisen - Mon, 10 Jul 2023 09:37 UTC

robf...@gmail.com wrote:
> On Sunday, July 9, 2023 at 10:51:48 PM UTC-4, BGB wrote:
>> On 7/9/2023 3:41 PM, John Levine wrote:
>>> According to BGB <cr8...@gmail.com>:
>>>>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>>>>>
>>>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>>>
>>>> I guess a question is if it had been used in the PC instead of x86, if
>>>> Motorola could have then made it performance competitive with what later
>>>> x86 systems became?...
>>>
>>> Hard to say. At that point Intel just executed better than Moto.
>>>
>> Could be.
>> Either that, or there was some architectural factor at play.
>>>> OTOH, the instruction encoding does seem at least cleaner than x86...
>>>
>>> No S* Sherlock. And the huge win of flat rather than segmented addressing.
>>>
>> That hardware x86 decoders work at all is kind of impressive in a way...
>>>> I guess another mystery could have been if a 32-bit RISC design could
>>>> have been made more viable with an 8 or 16 bit memory bus?...
>>>>
>>>> From what I can gather, processors from that era didn't really use L1
>>>> or L2 caches though. This wouldn't likely bode well.
>>>
>>> Cache? What's a cache? The PC was shipped in 1981 and the first
>>> general purpose CPU chips I know with a cache were the 68030 in 1987
>>> and i486 in 1989.
>
> 68020 had a 256B i-cache. Do buffers count as caches? I think the 68000 or
> 68010 had a three word buffer it could execute out of.

The x86 all had instruction prefetch buffers, if you managed to
overwrite code that had already been prefetched, the cpu would ignore it!

6/8/16?/32 bytes for 8088/8086/286/386, we used it to determine exactly
which CPU model we were executing on, since we didn't have CPUID.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: bus wars, How much space did the 68000 registers take up?

<2023Jul10.123623@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33140&group=comp.arch#33140

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 10:36:23 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 14
Message-ID: <2023Jul10.123623@mips.complang.tuwien.ac.at>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com> <u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com> <u8gj0b$2gahp$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="3621ba888cb5716f5a7707761973cf70";
logging-data="2641268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1949LrL7NAl0E+san2+c2tc"
Cancel-Lock: sha1:c4dxeJOX5/cPemGvJS3iGvFL8Co=
X-newsreader: xrn 10.11
 by: Anton Ertl - Mon, 10 Jul 2023 10:36 UTC

Terje Mathisen <terje.mathisen@tmsw.no> writes:
>John Levine wrote:
>> Legend says that if Moto had been able to ship the 68008 in quantity,
>> IBM would have used it in the IBM PC rather than the 8088. If only.
>
>IBM wanted an intentionally crippled/low-performance system that would
>not compete in any way with their small/medium systems?

Not a problem with the 68008. Cf. Sinclair QL.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: bus wars, How much space did the 68000 registers take up?

<u8gov0$ecks$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33141&group=comp.arch#33141

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-15fa-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 11:10:24 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <u8gov0$ecks$1@newsreader4.netcologne.de>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8gj0b$2gahp$1@dont-email.me>
Injection-Date: Mon, 10 Jul 2023 11:10:24 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-15fa-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:15fa:0:7285:c2ff:fe6c:992d";
logging-data="471708"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 10 Jul 2023 11:10 UTC

Terje Mathisen <terje.mathisen@tmsw.no> schrieb:
> John Levine wrote:
>> According to Thomas Koenig <tkoenig@netcologne.de>:
>>> One should also not forget bus width, which also costs money.
>>> The ARM2 was able to beat the 68000 on speed by a large factor
>>> with a lower transistor count, but it also had a 32-bit data bus
>>> (which, considering periphery, might have been too expensive when
>>> the 68000 was designed).
>>
>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
>>
>> Legend says that if Moto had been able to ship the 68008 in quantity,
>> IBM would have used it in the IBM PC rather than the 8088. If only.
>
> IBM wanted an intentionally crippled/low-performance system that would
> not compete in any way with their small/medium systems?

Almost any statement that $COPMANY wants something is an
overgeneralization. Large companies are made up of very different
people in very different departnments, all following different
departmental or personal goals which (hopefully) contribute
something positive to the bottom line of $COMPANY.

I once read that somebody at IBM was irked at Apple's success and
wanted something that could be produced cheaply and that could
oust the Apple II from the low-end commercial market, where IBM
wasn't selling anything anyway.

It did not need to be high-performance for running a spreadsheet.
From "fast, cheap, good, pick any two" they chose fast and cheap (to
produce), but the PC was good enough for its purpose.

They also made it open, because of why not? That would increase
market penetration.

Little did anybody at IBM realize what they would unleash...

Re: bus wars, How much space did the 68000 registers take up?

<u8gtlr$2bma$1@gal.iecc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33142&group=comp.arch#33142

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 12:30:51 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <u8gtlr$2bma$1@gal.iecc.com>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8f3b7$kqn$1@gal.iecc.com> <u8gj0b$2gahp$1@dont-email.me> <u8gov0$ecks$1@newsreader4.netcologne.de>
Injection-Date: Mon, 10 Jul 2023 12:30:51 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="77514"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8f3b7$kqn$1@gal.iecc.com> <u8gj0b$2gahp$1@dont-email.me> <u8gov0$ecks$1@newsreader4.netcologne.de>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Mon, 10 Jul 2023 12:30 UTC

According to Thomas Koenig <tkoenig@netcologne.de>:
>I once read that somebody at IBM was irked at Apple's success and
>wanted something that could be produced cheaply and that could
>oust the Apple II from the low-end commercial market, where IBM
>wasn't selling anything anyway.

That's my understanding. It was a skunkworks project in Florida, far
away from the main IBM development centers. They made it mostly out of
vendor parts to speed up development. They intended to use an 8085 or
Z80 until fairly far along someone figured that would be just like all
the other micro boxes only more expensive. It was too late to make the
bus wider, and probably also too expensive, but they were able to swap
out the Z80 for a 16 bit chip.

>Little did anybody at IBM realize what they would unleash...

Indeed. Particularly after the sweetheart deal with tiny obscure
Microsoft that let them sell the same operating system to everyone
else. It's well documented that Bill's mother was on a board with IBM
CEO John Open and talked up her son's company, which he duly passed
along to Boca.
--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: bus wars, How much space did the 68000 registers take up?

<0efa39b0-a3b2-4141-8210-9aec7a440fc0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33143&group=comp.arch#33143

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:550d:0:b0:403:a73b:893b with SMTP id j13-20020ac8550d000000b00403a73b893bmr32213qtq.3.1689002549187;
Mon, 10 Jul 2023 08:22:29 -0700 (PDT)
X-Received: by 2002:a17:902:ec88:b0:1af:e4e8:6847 with SMTP id
x8-20020a170902ec8800b001afe4e86847mr11633794plg.1.1689002548857; Mon, 10 Jul
2023 08:22:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Mon, 10 Jul 2023 08:22:28 -0700 (PDT)
In-Reply-To: <u8gj0b$2gahp$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=199.203.251.52; posting-account=ow8VOgoAAAAfiGNvoH__Y4ADRwQF1hZW
NNTP-Posting-Host: 199.203.251.52
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com> <u8duml$chsc$1@newsreader4.netcologne.de>
<u8f3b7$kqn$1@gal.iecc.com> <u8gj0b$2gahp$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0efa39b0-a3b2-4141-8210-9aec7a440fc0n@googlegroups.com>
Subject: Re: bus wars, How much space did the 68000 registers take up?
From: already5...@yahoo.com (Michael S)
Injection-Date: Mon, 10 Jul 2023 15:22:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2847
 by: Michael S - Mon, 10 Jul 2023 15:22 UTC

On Monday, July 10, 2023 at 12:28:47 PM UTC+3, Terje Mathisen wrote:
> John Levine wrote:
> > According to Thomas Koenig <tko...@netcologne.de>:
> >> One should also not forget bus width, which also costs money.
> >> The ARM2 was able to beat the 68000 on speed by a large factor
> >> with a lower transistor count, but it also had a 32-bit data bus
> >> (which, considering periphery, might have been too expensive when
> >> the 68000 was designed).
> >
> > The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
> >
> > Legend says that if Moto had been able to ship the 68008 in quantity,
> > IBM would have used it in the IBM PC rather than the 8088. If only.
> IBM wanted an intentionally crippled/low-performance system that would
> not compete in any way with their small/medium systems?
>

According to my understanding, when IBM PC project started S/370 models 125
and 135 were already obsolete with annual sails close to zero.
4331 was a flop on its way out. So a relevant comparison would be IBM 4341.
I have no idea how 4341 CPU speed compares to 8088 or to 68008, but it does
not look like it matters. Even if 4341 CPU was not that much faster, the whole
machine was in different class (more like 2-3 classes above) due to 16 MB and
bigger, faster HDs.

> Terje
>
> --
> - <Terje.Mathisen at tmsw.no>
> "almost all programming can be viewed as an exercise in caching"

Re: bus wars, How much space did the 68000 registers take up?

<u8h8m5$2iic6$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33144&group=comp.arch#33144

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sfu...@alumni.cmu.edu.invalid (Stephen Fuld)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 08:38:43 -0700
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <u8h8m5$2iic6$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com>
<u8gj91$2gboq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jul 2023 15:38:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="045c12ab2d0f0d1289346b0133838321";
logging-data="2705798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uKLsGePmwABN3OxdgHZpgXRVc3HJ/mOY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:/S9MkSvDOJzPdefgRvYwcpXJcsQ=
In-Reply-To: <u8gj91$2gboq$1@dont-email.me>
Content-Language: en-US
 by: Stephen Fuld - Mon, 10 Jul 2023 15:38 UTC

On 7/10/2023 2:33 AM, Terje Mathisen wrote:
> John Levine wrote:
>> According to BGB  <cr88192@gmail.com>:
>>>> The original 68000 came in 16 and 8 bit bus versions, just like the
>>>> 8086 and 8088.
>>>>
>>>> Legend says that if Moto had been able to ship the 68008 in quantity,
>>>> IBM would have used it in the IBM PC rather than the 8088. If only.
>>>
>>> I guess a question is if it had been used in the PC instead of x86, if
>>> Motorola could have then made it performance competitive with what later
>>> x86 systems became?...
>>
>> Hard to say.  At that point Intel just executed better than Moto.
>>
>>> OTOH, the instruction encoding does seem at least cleaner than x86...
>>
>> No S* Sherlock.  And the huge win of flat rather than segmented
>> addressing.
>>
>>> I guess another mystery could have been if a 32-bit RISC design could
>>> have been made more viable with an 8 or 16 bit memory bus?...
>>>
>>>  From what I can gather, processors from that era didn't really use L1
>>> or L2 caches though. This wouldn't likely bode well.
>>
>> Cache? What's a cache? The PC was shipped in 1981 and the first
>> general purpose CPU chips I know with a cache were the 68030 in 1987
>> and i486 in 1989.
>
> That 486 had a combined code/data cache of just 8 KB, and that was still
> enough to make a huge difference:

Yup. Since we all know that increasing cache size is a diminishing
returns game, it logically follows that the first bit of cache provides
the most return, i.e. performance gain.

> I had written a near-perfect
> Game-of-Life competition entry: If the target had been the 386 I might
> have won, but with the 486 David Stafford came up with an algorithm
> which could fit most of the problem space inside those 8 KB. I the end
> his entry ended up twice as fast as my code.

I certainly believe that. I recall that some time ago we had a
discussion here about sort algorithms, and someone pointed out a paper
that showed (on DEC ALPHA, IIRC) a cache aware algorithm that
significantly outperformed any non cache aware algorithms.

--
- Stephen Fuld
(e-mail address disguised to prevent spam)

Re: How much space did the 68000 registers take up?

<u8har0$2iprd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33145&group=comp.arch#33145

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bage...@gmail.com (Brian G. Lucas)
Newsgroups: comp.arch
Subject: Re: How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 11:15:27 -0500
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <u8har0$2iprd$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com>
<2023Jul9.173411@mips.complang.tuwien.ac.at>
<u8evvi$da9e$1@newsreader4.netcologne.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Jul 2023 16:15:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7aecfeba63b2bad32689df25aa029601";
logging-data="2713453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Eu9F9gsmfv51uiOKnDA8u"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:2ke5/GsiO90vRwtIrebKddBXa7A=
Content-Language: en-US
In-Reply-To: <u8evvi$da9e$1@newsreader4.netcologne.de>
 by: Brian G. Lucas - Mon, 10 Jul 2023 16:15 UTC

On 7/9/23 13:57, Thomas Koenig wrote:
> Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
>
>> I think that the 16-bit memory interface of the 68000 meant that they
>> wanted to have many instructions that fit in 16 bits, and with more
>> than 8 registers this becomes difficult (see also the PDP-11). The
>> 8086 is an example that trying to fit useful instructions in 8 bits
>> leads to even more limitations.
>
> This is a bit into an alternative past...
>
> A load-store architecture with 16-bit instruction words could have
> 16 registers, a = a op b instructions. This would leave 256 opcodes.
>
> However, a strict 16-bit word would probably not work too well
> well because lack of constants, the familar RISC problem made more
> pressing by having fewer bits. Putting in "load register lower" and
> "load regster upper" might have been possible, but would have
> eaten into the opcode space big time. More flexibility could
> probably have been achieved using one register as second operand
> as marker for a constant following in the instruction stream.
>
> It might be fun to design an alternative to the PDP-11, but one
> should not forget code size: In the days of core memory, memory
> was _really_ expensive. I am not sure how such a proto-RISC
> would compete on code size.

Yes, a 16-bit instruction word with 16 registers is possible. And yes,
constants were a bit of a problem.

See Motorola (then Freescale, then NXP) MCore. The Chinese licensed it
and called it CCore. There is even a Linux port to it.
I designed the original instruction set.

Brian

Re: mainframe bus wars, How much space did the 68000 registers take up?

<u8hav4$2cs3$1@gal.iecc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33146&group=comp.arch#33146

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: comp.arch
Subject: Re: mainframe bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 16:17:40 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <u8hav4$2cs3$1@gal.iecc.com>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8f3b7$kqn$1@gal.iecc.com> <u8gj0b$2gahp$1@dont-email.me> <0efa39b0-a3b2-4141-8210-9aec7a440fc0n@googlegroups.com>
Injection-Date: Mon, 10 Jul 2023 16:17:40 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="78723"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8f3b7$kqn$1@gal.iecc.com> <u8gj0b$2gahp$1@dont-email.me> <0efa39b0-a3b2-4141-8210-9aec7a440fc0n@googlegroups.com>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Mon, 10 Jul 2023 16:17 UTC

According to Michael S <already5chosen@yahoo.com>:
>> IBM wanted an intentionally crippled/low-performance system that would
>> not compete in any way with their small/medium systems?
>
>According to my understanding, when IBM PC project started S/370 models 125
>and 135 were already obsolete with annual sails close to zero.
>4331 was a flop on its way out. So a relevant comparison would be IBM 4341.
>I have no idea how 4341 CPU speed compares to 8088 or to 68008, but it does
>not look like it matters. Even if 4341 CPU was not that much faster, the whole
>machine was in different class (more like 2-3 classes above) due to 16 MB and
>bigger, faster HDs.

The whole point of a mainframe is that it has "balanced" performance
between processor and peripherals, and is designed for high
reliability. A PDP-8 had a much faster CPU than a 360/30 but people
bought a /30 because of its card, print, and disk peripherals, and
CE support to keep it running, and because it ran IBM software.

The 4341 was 2 or 3 times faster than a 370/148 depending on workload
but more importantly, it had 2 or 4 meg of memory, paging to support
multiple virtual machines, a string of 300MB disk drives. and a 1000
LPM printer. The early PC had maybe 256K, a couple of 360KB floppies,
and a pokey dot matrix printer.

Later on IBM made several PC add-in cards that ran 370 code. They
worked fine but sold poorly because nobody wanted to run mainframe
software on PCs.

There was also System/32, a small business system.with 16 to 32K of
memory, a 5 to 13 MB hard disk, and a line printer. It sold quite well
despite being slower than a PC, due to the peripherals and the
business software.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: How much space did the 68000 registers take up?

<u8hb2p$2iql4$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33147&group=comp.arch#33147

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88...@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 11:19:27 -0500
Organization: A noiseless patient Spider
Lines: 464
Message-ID: <u8hb2p$2iql4$1@dont-email.me>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<a27529b5-fa8e-4bb8-a1f3-2b285fdf3e7cn@googlegroups.com>
<2023Jul9.173411@mips.complang.tuwien.ac.at> <u8eth9$26qad$1@dont-email.me>
<92742c70-42d4-44ff-b667-df77c679d5afn@googlegroups.com>
<u8fe16$292j5$1@dont-email.me>
<5ea12dcd-a5c6-4b74-a580-c0d871694dbdn@googlegroups.com>
<u8fmeq$29ukm$1@dont-email.me>
<6beed6fc-0432-4f55-9f38-36a57670c56en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Jul 2023 16:19:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="46999cb54b94ab8c5ab6784d8a809fc4";
logging-data="2714276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wNFgKdMPGuoHTZ19e2Yo8"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:G9kXTPYcj7rkWJJzd6OHUK4Vf+c=
Content-Language: en-US
In-Reply-To: <6beed6fc-0432-4f55-9f38-36a57670c56en@googlegroups.com>
 by: BGB - Mon, 10 Jul 2023 16:19 UTC

On 7/9/2023 8:56 PM, MitchAlsup wrote:
> On Sunday, July 9, 2023 at 8:21:35 PM UTC-5, BGB wrote:
>> On 7/9/2023 6:44 PM, MitchAlsup wrote:
>>> On Sunday, July 9, 2023 at 5:57:47 PM UTC-5, BGB wrote:
>>>> On 7/9/2023 3:38 PM, MitchAlsup wrote:
>>>>> On Sunday, July 9, 2023 at 1:16:13 PM UTC-5, BGB wrote:
>>>>>> On 7/9/2023 10:34 AM, Anton Ertl wrote:
>>>>>>> Quadibloc <jsa...@ecn.ab.ca> writes:
>>>>>>>> The Motorola 68000 divided the 16 registers it did provide into two
>>>>>>>> groups; the general registers and the address registers. So it needed
>>>>>>>> three-bit fields to specify a register in either group.
>>>>>>>>
>>>>>>>> The Motorola 68000 was a CISC processor; it didn't "need" more than
>>>>>>>> eight registers in a register bank.
>>>>>>>
>>>>>>> Counterexamples: IBM S/360, VAX, AMD64, all of which have ~16
>>>>>>> general-purpose registers.
>>>>>>>
>>>>>>> I think that the 16-bit memory interface of the 68000 meant that they
>>>>>>> wanted to have many instructions that fit in 16 bits, and with more
>>>>>>> than 8 registers this becomes difficult (see also the PDP-11). The
>>>>>>> 8086 is an example that trying to fit useful instructions in 8 bits
>>>>>>> leads to even more limitations.
>>>>>>>
>>>>>>> Another example is the RISC-V C extension (16-bit wide instructions),
>>>>>>> where a number of these instructions can access only 8 of the 32
>>>>>>> registers of the architecture.
>>>>>>>
>>>>>> FWIW:
>>>>>> Both SuperH (and also BJX2) can use 16 GPRs for the 16-bit instruction
>>>>>> encodings.
>>>>>>
>>>>>> However, in both ISA's, they are effectively Load/Store with typically
>>>>>> only 2R encodings for the 16-bit ops.
>>>>>>
>>>>>> In my case, there are some 16-bit ops with access to R16..R31, but
>>>>>> mostly limited to special cases:
>>>>>> MOV, ADD
>>>>>> MOV.{L/Q} (SP, Disp4), Rn
>>>>>> ...
>>>>>> Nothing in 16-bit land has access to R32..R63 though.
>>>>>>
>>>>>>
>>>>>> Both RISC-V C and Thumb tried for 3R encodings within the 16-bit opcode
>>>>>> space. But, arguably this doesn't seem terribly worthwhile as the "hit
>>>>>> rate" for being limited to 8 registers is lower than that for being
>>>>>> limited to, say: "Rn=Rn+Rm;" and similar.
>>>>>>
>>>>>> Comparably, both RV-C and Thumb had a lot of hair in terms of their
>>>>>> 16-bit encodings as well.
>>>>>>
>>>>>>
>>>>>>
>>>>>> MSP430 managed 16-bit instructions, 16 registers, and CISC-like Reg/Mem
>>>>>> operations, but paid for this by having an absurdly small opcode space
>>>>>> (with a lot of instructions being encoded by playing trickery with the
>>>>>> register fields and addressing modes).
>>>>>>>> Providing 32 registers is something
>>>>>>>> RISC processors do - for them, it's worth the opcode space, because
>>>>>>>> opcode space is saved elsewhere
>>>>>>>
>>>>>>> No, it's because they have the opcode space. All those with 32
>>>>>>> registers have 32-bit memory interfaces and therefore could afford
>>>>>>> 32-bit instructions, so they could afford encoding registers in 5
>>>>>>> bits. ARM1/2 also has a 32-bit memory interface and 32-bit
>>>>>>> instructions, but only 16 GPRs (maybe due to area concerns, maybe
>>>>>>> because the 801 only has 16 registers), and used the extra bits for
>>>>>>> stuff like shifts or conditions.
>>>>>>>
>>>>>> In my case, I have some encodings (and an operating mode) which have
>>>>>> 6-bit register fields, conditional execution, etc.
>>>>>>
>>>>>> But, compared with most RISC's (with a 32-bit instruction size), mine
>>>>>> has comparably small immediate fields.
>>>>>>
>>>>>> Though, interestingly, XG2 Mode has typically the same sized immediate
>>>>>> fields as SH-5 (which also had 6-bit register fields).
>>>>>>
>>>>>> Baseline mode only has 5-bit register fields for the most part, whereas
>>>>>> XG2 gains 6-bit fields at the expense of making the 16-bit ops N/E.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I don't see the smaller immediate fields as too big of a loss though:
>>>>>> There is a reasonably good hit-rate with the current immediate fields;
>>>>>> The ISA design does not overly penalize cases where an immediate can't
>>>>>> fit in the immediate-field;
>>>>>> There are also Jumbo prefixes.
>>>>>>
>>>>>> In contrast, in RISC-V, if one exceeds the 12-bit immediate field one is
>>>>>> typically looking at a 3 instruction fallback case.
>>>>> <
>>>>> I think they (THEY) would argue mostly 1 becomes 2 instructions.
>>>>> Almost all displacements greater than 12-bits become a 2 instruction
>>>>> sequence; THEY would argue that this is where most big immediates
>>>>> come from.
>>>>> <
>>>> Well, say, you have:
>>>> XORI X10, X11, 511 //OK, fine.
>>>> Vs:
>>>> XORI X10, X11, 65521 //Now what?
>>>>
>>>> You get, maybe:
>>>> LUI X5, 16
>>>> ADDI X5, X5, -15
>>>> XOR X10, X11, X5
>>>>
>>>> This is kinda weak...
>>>>
>>> I agree with you that it is weak.
>>>>
>>>> Meanwhile, in BJX2 (without jumbo), you can fake, say:
>>>> ADD R4, 16777213, R7
>>>> As a 2-op sequence:
>>>> LDIZ 16777213, R0
>>>> ADD R4, R0, R7
>>> <
>>> Even::
>>> <
>>> ADD Rd,Rs,#0x123456789abcdef
>>> <
>>> Is 1 (One, single) instruction. It occupies 3 words, but it is 1 instruction.
>>> <
>>> So is::
>>> <
>>> STD #0x123456789abcdef,[Rd,Rs<<3,#0x123456789abcdef]
>>> <
>>> 1 instruction, this time it occupies 5 words, but it remains 1 instruction.
>>> RISC-V code for this is atrocious.
>> Yeah...
>> BJX2 can't do this either.
>>
>> With jumbo encodings, one can at least do:
>> ADD R4, 0x12345678, R7
>> As a single 64-bit instruction.
>>
>> Could in theory do:
>> ADD R4, 0x123456789abcde, R7
>>
>> As a 96-bit encoding, if it were common enough to justify the LUT cost
>> of enabling it. Granted, these exist implicitly if one enables the SIMD
>> vector immediate values, since the SIMD immediate values need the same
>> mechanism.
>>
>>
>>
>> Still no 64-bit displacements, mostly for timing reasons.
>>
>> Despite there being a 96-bit mode, only the low 48 bits are subject to
>> address calculation, and only with a 33 bit displacement.
>>
>> The compiler can mostly gloss over this though, seeing if a person uses
>> 'long' as an array index.
>>
>> Though, annoyingly, this does mean that it needs to end up falling back
>> to a slower case if one uses 'size_t' or 'ssize_t' rather than 'int' for
>> their array index.
>>>>
>>>> Which is part of why I burnt such a big chunk of encoding space on a
>>>> "Load Imm24 into R0" instruction; 2 actually:
>>>> LDIZ Imm24u, R0 //Zero-Extend
>>>> LDIN Imm24n, R0 //One-Extend
>>>> Which can be seen as a virtual:
>>>> MOV Imm25s, R0
>>>>
>>> You are still wasting instructions pasting bits together that can be "had"
>>> and a constant. This consumes pipeline cycles, registers, forwarding
>>> energy,... There is no cheaper way to deliver an operand into calculation
>>> than as a constant.
>> As noted, this is excluding "jumbo", which eliminates most of the
>> multi-op bit-pasting, but isn't regarded as part of the core ISA in the
>> smaller profiles (and didn't exist in early forms of the ISA design).
>>
>>
>> Then again, one option could be to promote the jumbo prefixes to the
>> core ISA, in a similar way to what happened with predicated instructions.
>>
>> Early on, I realized that the underlying logic for predicated
>> instructions was still needed for conditional branches, so there wasn't
>> any good reason *not* to promote it to core.
>>>>
>>>> But, it sort of paid off as this instruction left encoding space that
>>>> could also be used for things like Jumbo Prefixes and PrWEX encodings,
>>>> which in some of my other design attempts I had attempted
>>>> (unsuccessfully) to conjoin them with the Branch instructions (where
>>>> trying to WEX a branch instruction is also invalid in my designs).
>>>>
>>> Yes, go ahead and pat yourself on the back for something I consider
>>> to be poor.
>> Well:
>> MOV Imm25s, R0
>> Is sort of a sledgehammer solution, but like, it is workable in the
>> majority of cases...
> <
> MOV Rd,#123456789abcdef
> <
> works in all cases..........


Click here to read the complete article
Re: bus wars, How much space did the 68000 registers take up?

<902acd94-b9b7-4246-a143-48da4c86c44en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33148&group=comp.arch#33148

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:4507:b0:765:9dc7:4bc2 with SMTP id t7-20020a05620a450700b007659dc74bc2mr37434qkp.5.1689006031595;
Mon, 10 Jul 2023 09:20:31 -0700 (PDT)
X-Received: by 2002:a17:90b:1089:b0:262:c252:3724 with SMTP id
gj9-20020a17090b108900b00262c2523724mr10580718pjb.8.1689006031065; Mon, 10
Jul 2023 09:20:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Mon, 10 Jul 2023 09:20:30 -0700 (PDT)
In-Reply-To: <u8fro0$2e489$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:d92:2c2a:9546:45e;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:d92:2c2a:9546:45e
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com>
<u8duml$chsc$1@newsreader4.netcologne.de> <u8f3b7$kqn$1@gal.iecc.com>
<u8f4r5$27re5$1@dont-email.me> <u8f61s$18e8$2@gal.iecc.com> <u8fro0$2e489$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <902acd94-b9b7-4246-a143-48da4c86c44en@googlegroups.com>
Subject: Re: bus wars, How much space did the 68000 registers take up?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Mon, 10 Jul 2023 16:20:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: MitchAlsup - Mon, 10 Jul 2023 16:20 UTC

On Sunday, July 9, 2023 at 9:51:48 PM UTC-5, BGB wrote:
> On 7/9/2023 3:41 PM, John Levine wrote:
> > According to BGB <cr8...@gmail.com>:
> >>> The original 68000 came in 16 and 8 bit bus versions, just like the 8086 and 8088.
> >>>
> >>> Legend says that if Moto had been able to ship the 68008 in quantity,
> >>> IBM would have used it in the IBM PC rather than the 8088. If only.
> >>
> >> I guess a question is if it had been used in the PC instead of x86, if
> >> Motorola could have then made it performance competitive with what later
> >> x86 systems became?...
> >
> > Hard to say. At that point Intel just executed better than Moto.
> >
> Could be.
> Either that, or there was some architectural factor at play.
<
Cost !!
8088 was in a smaller package than 68008.
<
> >> OTOH, the instruction encoding does seem at least cleaner than x86...
> >
> > No S* Sherlock. And the huge win of flat rather than segmented addressing.
> >
> That hardware x86 decoders work at all is kind of impressive in a way...
> >> I guess another mystery could have been if a 32-bit RISC design could
> >> have been made more viable with an 8 or 16 bit memory bus?...
> >>
> >> From what I can gather, processors from that era didn't really use L1
> >> or L2 caches though. This wouldn't likely bode well.
> >
> > Cache? What's a cache? The PC was shipped in 1981 and the first
> > general purpose CPU chips I know with a cache were the 68030 in 1987
<
A whooping 256 bytes
<
> > and i486 in 1989.
<
A whooping 8K bytes.
<
You forgot Mc88100--88200 was a 16KB 4-way set associative cache
with 64-entry fully associative TLB in '88-or so.
<
> OK.
>
> As can be noted, my familiarity with computers from that era is a bit
> sketchy at times...

Re: bus wars, How much space did the 68000 registers take up?

<u8hbjj$2cs3$2@gal.iecc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33149&group=comp.arch#33149

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.cmpublishers.com!adore2!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: comp.arch
Subject: Re: bus wars, How much space did the 68000 registers take up?
Date: Mon, 10 Jul 2023 16:28:35 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <u8hbjj$2cs3$2@gal.iecc.com>
References: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8f61s$18e8$2@gal.iecc.com> <u8fro0$2e489$1@dont-email.me> <902acd94-b9b7-4246-a143-48da4c86c44en@googlegroups.com>
Injection-Date: Mon, 10 Jul 2023 16:28:35 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="78723"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <27f3682e-a7cd-44e7-98bb-67b603b6b03en@googlegroups.com> <u8f61s$18e8$2@gal.iecc.com> <u8fro0$2e489$1@dont-email.me> <902acd94-b9b7-4246-a143-48da4c86c44en@googlegroups.com>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Mon, 10 Jul 2023 16:28 UTC

According to MitchAlsup <MitchAlsup@aol.com>:
>> > Cache? What's a cache? The PC was shipped in 1981 and the first
>> > general purpose CPU chips I know with a cache were the 68030 in 1987
><
>A whooping 256 bytes
><
>> > and i486 in 1989.
><
>A whooping 8K bytes.
><
>You forgot Mc88100--88200 was a 16KB 4-way set associative cache
>with 64-entry fully associative TLB in '88-or so.

You're right, I did, but in fairness, so did everyone else.

Never actually saw an AViiON.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly


devel / comp.arch / Re: bus wars, How much space did the 68000 registers take up?

Pages:123456789101112
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor