Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Nonsense. Space is blue and birds fly through it. -- Heisenberg


devel / comp.os.cpm / Z80 vs 8088 speed

SubjectAuthor
* Z80 vs 8088 speedNils M Holm
`* Re: Z80 vs 8088 speedDennis Boone
 `* Re: Z80 vs 8088 speedZbig
  `- Re: Z80 vs 8088 speedNils M Holm

1
Z80 vs 8088 speed

<krcg5hFh2hmU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4610&group=comp.os.cpm#4610

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: nmh...@sraddha.invalid (Nils M Holm)
Newsgroups: comp.os.cpm
Subject: Z80 vs 8088 speed
Date: 12 Nov 2023 17:26:09 GMT
Organization: TARFU
Lines: 17
Sender: Nils M Holm <nmh@sraddha.local>
Message-ID: <krcg5hFh2hmU1@mid.individual.net>
X-Trace: individual.net R3SEUnN/QVACL0vuRd9h5wSBB23rtsLOf0V4hkEtXLtYiSliaR
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:YtfVMjJIcn1DJ20ANyH7VhV/Wcg= sha256:Cb0wS3vKGnR8FzVXAtxk5zF1FhTHLFoRgcYl+596cZ4=
User-Agent: tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.4-RELEASE (amd64))
 by: Nils M Holm - Sun, 12 Nov 2023 17:26 UTC

Just compiled my T3X/0 compiler on an 8088 @ 4.77 MHz under DOS
and was surprised to see that it takes only slightly less time
than on an Z80 @ 4MHz under CP/M. See http://t3x.org/t3x/t3x0.html

I would have guessed that the 8088 is much faster at about
the same clock speed, because it has more 16-bit operations
and does multiplication and division in hardware. Of course
the compiler back ends also play a role, but the Z80 backend
typically emits *more* instructions for the same program.

I have never used an 8088 back in the days. In case you have,
what was your experience? Any technical explanation for my
results?

--
Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org

Re: Z80 vs 8088 speed

<LhmcncROKryBu8z4nZ2dnZfqn_GdnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4612&group=comp.os.cpm#4612

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 12 Nov 2023 19:23:08 +0000
Sender: Dennis Boone <drb@yagi.h-net.org>
From: drb...@ihatespam.msu.edu (Dennis Boone)
Subject: Re: Z80 vs 8088 speed
Newsgroups: comp.os.cpm
References: <krcg5hFh2hmU1@mid.individual.net>
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/13.1-RELEASE-p2 (amd64))
Message-ID: <LhmcncROKryBu8z4nZ2dnZfqn_GdnZ2d@giganews.com>
Date: Sun, 12 Nov 2023 19:23:08 +0000
Lines: 10
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-WJHNVZqjERu0AicaXN4uSPL2X56or2Z1GE3NHDuwcIE+2R2c96cYq2vKfuT3Zb26V+DP/Pj906ewgeU!heffhniCVF9rK09eG5V4CfeVmMJAo9uvhMiFryP6+IdtfTDnusNV3S4aOqujJaBhNK6WrOU=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Dennis Boone - Sun, 12 Nov 2023 19:23 UTC

> I would have guessed that the 8088 is much faster at about
> the same clock speed, because it has more 16-bit operations
> and does multiplication and division in hardware. Of course
> the compiler back ends also play a role, but the Z80 backend
> typically emits *more* instructions for the same program.

The 8088 gives up a substantial portion of any 16-bit advantage to its
8-bit external bus.

De

Re: Z80 vs 8088 speed

<dfa8d0b6-2730-4a46-8564-d818f96b552dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4620&group=comp.os.cpm#4620

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:42d0:0:b0:41c:b480:df9b with SMTP id g16-20020ac842d0000000b0041cb480df9bmr47918qtm.7.1700310350410;
Sat, 18 Nov 2023 04:25:50 -0800 (PST)
X-Received: by 2002:a17:90a:ac09:b0:280:98bd:d8df with SMTP id
o9-20020a17090aac0900b0028098bdd8dfmr599486pjq.7.1700310350015; Sat, 18 Nov
2023 04:25:50 -0800 (PST)
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.os.cpm
Date: Sat, 18 Nov 2023 04:25:49 -0800 (PST)
In-Reply-To: <LhmcncROKryBu8z4nZ2dnZfqn_GdnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.112.217; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.112.217
References: <krcg5hFh2hmU1@mid.individual.net> <LhmcncROKryBu8z4nZ2dnZfqn_GdnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dfa8d0b6-2730-4a46-8564-d818f96b552dn@googlegroups.com>
Subject: Re: Z80 vs 8088 speed
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Sat, 18 Nov 2023 12:25:50 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Zbig - Sat, 18 Nov 2023 12:25 UTC

> The 8088 gives up a substantial portion of any 16-bit advantage to its
> 8-bit external bus.

Not just that: https://trixter.oldskool.org/2011/06/04/at-a-disadvantage/

Quick, without doing any research: What early 1980s computer was faster,
the IBM PC or the Commodore 64? The IBM PC ran an 8088 at nearly 5MHz,
whereas the C64 ran a 6502 variant at 1MHz. The PC cost thousands of dollars,
the C64 hundreds. The PC had a 1 megabyte address space; the C64 only 64K.
Is this a trick question?

It is! The C64 was faster. [..]

Re: Z80 vs 8088 speed

<kruajrFem6nU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4621&group=comp.os.cpm#4621

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: nmh...@sraddha.invalid (Nils M Holm)
Newsgroups: comp.os.cpm
Subject: Re: Z80 vs 8088 speed
Date: 19 Nov 2023 11:41:47 GMT
Organization: TARFU
Lines: 19
Sender: Nils M Holm <nmh@sraddha.local>
Message-ID: <kruajrFem6nU1@mid.individual.net>
References: <krcg5hFh2hmU1@mid.individual.net> <LhmcncROKryBu8z4nZ2dnZfqn_GdnZ2d@giganews.com> <dfa8d0b6-2730-4a46-8564-d818f96b552dn@googlegroups.com>
X-Trace: individual.net JnUMCM1Ybvbvm2L3mJ3qhgEaggbKrJf/quT9R0u1003w2KTymJ
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:HI8eQnGNkTdREVyb5azt5REeZ2w= sha256:3w4+zB8wAU8PntJe5rJOBHbadaFjvRfcJfqCE+fsMG0=
User-Agent: tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.4-RELEASE (amd64))
 by: Nils M Holm - Sun, 19 Nov 2023 11:41 UTC

Zbig <zbigniew2011@gmail.com> wrote:
>> The 8088 gives up a substantial portion of any 16-bit advantage to its
>> 8-bit external bus.
>
> Not just that: https://trixter.oldskool.org/2011/06/04/at-a-disadvantage/
>
> Quick, without doing any research: What early 1980s computer was faster,
> the IBM PC or the Commodore 64? The IBM PC ran an 8088 at nearly 5MHz,
> whereas the C64 ran a 6502 variant at 1MHz. The PC cost thousands of dollars,
> the C64 hundreds. The PC had a 1 megabyte address space; the C64 only 64K.
> Is this a trick question?
>
> It is! The C64 was faster. [..]

Interesting! So the real surprise is that the 8088 at about the same
clock speed is almost as fast as the Z80.

--
Nils M Holm < n m h @ t 3 x . o r g > http://t3x.org

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor