Article View: comp.os.linux.hardware
Article #827Re: P4 vs Athlon for Linux latexing, is gcc-2.95 responsible?
From: David Kastrup
Date: Tue, 18 Jun 2002 13:02
Date: Tue, 18 Jun 2002 13:02
71 lines
4722 bytes
4722 bytes
real-address-in-sig@flur.bltigibbet (Rowland McDonnell) writes: > David Kastrup <David.Kastrup@t-online.de> wrote: > > > real-address-in-sig@flur.bltigibbet (Rowland McDonnell) writes: > > > > > David Kastrup <David.Kastrup@t-online.de> wrote: > > > > > > > And the > > > > 8080 still was a rather clean design. The Z80, in constrast, was > > > > convenient but awful: the price you paid for some of its features was > > > > prohibitively high. > > > > > > Hmm... Maybe, maybe - but was there anything missing from the Z80 > > > compared to the 8080? > > > > No, it was upwards machine code compatible, > > Righto - ta. (memory told me that was the case). So if the 8080's a > rather clean design and the Z80 has everything the 8080 has, how can the > Z80 be awful? Because it is upwards machine code compatible. That means that they had to squeeze the additional commands of the Z80 into few remaining opcodes, which necessitated compound opcodes. Those were implemented in microcode which still took considerable time to execute. This lead to longer execution times (and interrupt latencies). For example, things like rlc (ix+3) took up 23 clock cycles. In contrast, ld e,3; add hl,de; rlc (hl) took the same cycle count, was usually as applicable, and introduced less interrupt latency. In general, the extended opcodes were quite longer, and you needed to know the machine quite well in order to know when it would be better not to use them. Contrast this with the design of the 6809, for example, where the indexing modes were sanely and tightly integrated into the processor design. > > but the assembly language > > was more "natural" > > Umm... So if the Z80's got a more natural assembly language, doesn't > that make it less awful than the 8080? Could it be that you have difficulties comprehending the difference between assembly language and machine language? Restricting yourself to the opcodes of 8080, you could use Z80 assembly language for programming 8080 processors in a more readable manner. The design of assembly language readability bears no relation to the kludginess of the processor design. > > (as long as you did not use the upward compatible > > TECO assembly language). > > Uhuh. > > > You could convert 8080 assembly language to > > 8086 assembly language mechanically (register set and command set > > matched, even though binaries didn't), > > So I'd been told - but you seem to be a bit more authoritative than > most... Sole purpose of the LAHF and SAHF instructions (load/store AH register to flags) is to facilitate reasonably fast replacements of the PUSH PSW and POP PSW instructions from the 8080. Your P4 processor still has LAHF and SAHF. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email: David.Kastrup@t-online.de
Technical Details
Message-ID:
<x57kkw2101.fsf@tupik.goethe.zz>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsmm01.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<3D0B57CB.5060406@nospam.com> <cVYO8.93284$pw3.4355@sccrnsc03> <MPG.1776a491ca74b5bf989edd@powernews.libero.it> <1fdyury.16lgkkf1d22zw9N%real-address-in-sig@flur.bltigibbet> <x5it4h2d58.fsf@tupik.goethe.zz> <1fdyxzl.1eky32lcx38cvN%real-address-in-sig@flur.bltigibbet> <x58z5c3oop.fsf@tupik.goethe.zz> <1fdz2df.191or1l176qjmiN%real-address-in-sig@flur.bltigibbet>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,ea3300a83f1f851c
X-Google-Attributes: gidf9e16,public
X-Google-Thread: 102b32,ea3300a83f1f851c
X-Google-Attributes: gid102b32,public
X-Google-Thread: f65d0,ea3300a83f1f851c
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 1045b9,ea3300a83f1f851c
X-Google-Attributes: gid1045b9,public
X-Google-ArrivalTime: 2002-06-18 06:08:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsmm01.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: David Kastrup <David.Kastrup@t-online.de>
Newsgroups: comp.os.linux.hardware,gnu.gcc,comp.sys.ibm.pc.hardware.chips,comp.text.tex
Subject: Re: P4 vs Athlon for Linux latexing, is gcc-2.95 responsible?
Date: 18 Jun 2002 15:02:38 +0200
Organization: T-Online
Lines: 71
Sender: dak@tupik.goethe.zz
Message-ID: <x57kkw2101.fsf@tupik.goethe.zz>
References: <3D0B57CB.5060406@nospam.com> <cVYO8.93284$pw3.4355@sccrnsc03> <MPG.1776a491ca74b5bf989edd@powernews.libero.it> <1fdyury.16lgkkf1d22zw9N%real-address-in-sig@flur.bltigibbet> <x5it4h2d58.fsf@tupik.goethe.zz> <1fdyxzl.1eky32lcx38cvN%real-address-in-sig@flur.bltigibbet> <x58z5c3oop.fsf@tupik.goethe.zz> <1fdz2df.191or1l176qjmiN%real-address-in-sig@flur.bltigibbet>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.t-online.com 1024405435 02 12357 uBepbVSbSVAL86 020618 13:03:55
X-Complaints-To: abuse@t-online.com
X-Sender: 520018396234-0001@t-dialin.net
X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl
\!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i";/yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^
Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50