Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Bernd Paysan <paysan@informatik.tu-muenchen.de>
Subject: Re: OOO 68k (was: Intel Basic and Applied Research (and the DEC lawsuit))
Date: 1997/06/15	[thread overview]
Message-ID: <33A3E5DF.1137B0C5@informatik.tu-muenchen.de> (raw)
In-Reply-To: 3391C732.98803357@cs.wisc.edu


Andy Glew wrote:
> Each x86 instruction corresponds to a single sequence of RISCy uops:
> 
>         ADD reg, mem
>                 tmp := load( MEM )
>                 reg := add( reg, tmp )
> 
> The addressing modes have only limited orthogonality - you only
> have to look one or two instruction bytes ahead, to get the MODRM
> bit, and you can tell whether it is a REG,REG or REG,MEM form.
> 
> Each VAX/68K addressing mode is potentially a little program of
> its own.  Each addressing mode corresponds to a variable sequence
> of uops.  Parsing of the second operand cannot really begin until the
> first has been understood.

It's a while ago that I programmed 68k, but IMHO you are wrong here. The
68k is more a PDP11-lookalike than a VAX-lookalike. Most 68k
instructions are not too far away from x86 instructions (one reg, one
mem), important exception: MOVE. To obtain the length of a 68k
instruction, you only have to check the first instruction word, and
since the 68k designer had limited microcode ROM in mind, it's quite
efficient. MOVE has 1, 2, or 3 in the first nibble. Only the offset, the
index+offset and the "misc" mode has an extension, and only the "misc"
modes have more than one extension words. You have to special check some
operations like MOVEM or the divsl/divul operations, but these are
multi-cycle anyway, so it's not much of a problem if you can't decode
another instruction in that slot.

It's a bit different for the new addressing modes on the 68020, but
AFAIK these modes are rarely used, since these programs won't run on a
68000 and have a performance hit on the 68040 and 68060.

You can convert most 68k ops to the following ROP sequence:

tmp1 = load_update(mem)
tmp2|reg2 = op(tmp1, reg1)
?store_update(mem, tmp2)

Since the 68k has separated A and D regs, it's easy to do the address
update in parallel (it doesn't even require an additional port). PA-RISC
shows that load/store and update address in one instruction is possible
even on RISC machines, and the PA-RISC addressing modes features
everything the 68k has (not including the brain damaged 68020 modes).

-- 
Bernd Paysan
"Late answers are wrong answers!"
http://www.informatik.tu-muenchen.de/~paysan/



  reply	other threads:[~1997-06-15  4:00 UTC|newest]

Thread overview: 342+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <TryinToo-ya02408000R1305970822200001@news.digex.net>
1997-05-13  4:00 ` DEC sues Intel! Buy stock in a law firm Terry C. Shannon
1997-05-13  4:00   ` DEC sues Intel! No more Pentiums for them! Tim May
1997-05-13  4:00     ` John Logan
1997-05-13  4:00       ` Tim May
1997-05-13  4:00         ` Robert Collins
1997-05-13  4:00           ` Tim May
1997-05-14  4:00             ` Robert Collins
1997-05-14  4:00           ` Patrick Chase
1997-05-13  4:00             ` Tim May
1997-05-14  4:00             ` John Hascall
1997-05-14  4:00           ` bill davidsen
1997-05-16  4:00             ` Mark E. Levy
1997-05-13  4:00         ` gfrano
1997-05-13  4:00           ` Tim May
1997-05-13  4:00             ` Michael Rothberg
1997-05-14  4:00             ` Larry Kilgallen
1997-05-14  4:00             ` CJT
1997-05-14  4:00             ` Carl Perkins
     [not found]             ` <tcmay-ya023180001305971712580001@news.znet.com>
1997-05-14  4:00               ` DEC will use K6 as "Backup" if Intel cuts off shipments Mark Hahn
1997-05-14  4:00                 ` Ketil Z Malde
1997-05-14  4:00                   ` bill davidsen
1997-05-14  4:00                 ` bill davidsen
1997-05-14  4:00                 ` botoo
1997-05-14  4:00                   ` Paul Ayers
1997-05-14  4:00               ` Anthony D. Tribelli
1997-05-14  4:00                 ` Rob
1997-05-14  4:00                   ` bill davidsen
1997-05-14  4:00               ` bill davidsen
     [not found]                 ` <337BA94B.40C0@ix.netcom.com>
1997-05-15  4:00                   ` H.W. Stockman
1997-05-18  4:00                     ` George
1997-05-18  4:00                       ` Ross Alexander
1997-05-20  4:00                     ` Hallam-Baker
1997-05-28  4:00                       ` Tim Llewellyn
1997-05-15  4:00             ` DEC sues Intel! No more Pentiums for them! Like a tea tray in the sky...
     [not found]               ` <337dd975.6724404@204.127.4.22>
1997-05-17  4:00                 ` Applejax
1997-05-17  4:00                   ` Tim May
1997-05-20  4:00             ` Stephen Knilans
1997-05-20  4:00               ` Tony A.
1997-05-20  4:00                 ` Ron Natalie
1997-05-20  4:00                 ` Namara
1997-05-20  4:00               ` Jeffrey L. Bell
1997-05-21  4:00                 ` John Hascall
1997-05-21  4:00                   ` John R. Campbell
1997-05-28  4:00                     ` Tim May
1997-05-28  4:00                       ` Tony A.
1997-05-29  4:00                         ` Namara
1997-05-28  4:00                       ` Joe Ragosta
1997-05-28  4:00                         ` /nassar
1997-05-29  4:00                         ` DanteMatrix
1997-05-30  4:00                           ` Kenneth Almquist
1997-05-31  4:00                             ` Guest
1997-06-02  4:00                               ` jfmezei
1997-06-02  4:00                                 ` Me
1997-06-02  4:00                               ` Terry C. Shannon
1997-05-29  4:00                       ` Aru Anidiot
1997-05-30  4:00                         ` John Price
1997-05-31  4:00                           ` Don McKenzie
1997-05-31  4:00                             ` Jason Hatcher
1997-05-31  4:00                           ` Bob Wyman
1997-05-31  4:00                             ` Joe Ragosta
1997-06-01  4:00                               ` Larry Kilgallen
1997-06-02  4:00                               ` Kenneth Almquist
1997-06-05  4:00                                 ` Joe Ragosta
1997-06-05  4:00                                   ` Tim May
1997-06-02  4:00                               ` John R. Campbell
1997-06-05  4:00                                 ` Namara
1997-05-29  4:00                       ` DEC sues Intel! DEC PCBU scared Ed Knapton
1997-05-14  4:00           ` DEC sues Intel! No more Pentiums for them! bill davidsen
1997-05-15  4:00             ` Ketil Z Malde
1997-05-15  4:00             ` Like a tea tray in the sky...
1997-05-14  4:00           ` Larry Kilgallen
1997-05-17  4:00           ` jfmezei
1997-05-18  4:00             ` Petri Backstrom
1997-05-13  4:00         ` Hydrochloric Asad
1997-05-14  4:00           ` Ketil Z Malde
1997-05-14  4:00           ` Terry C. Shannon
1997-05-20  4:00           ` Stephen Knilans
     [not found]         ` <337f12c5.5513607@nntp.ix.netcom.com>
1997-05-13  4:00           ` Tim May
1997-05-14  4:00             ` Larry Kilgallen
1997-05-14  4:00               ` bill davidsen
1997-05-16  4:00                 ` Terry C. Shannon
1997-05-14  4:00             ` Terry C. Shannon
1997-05-14  4:00               ` remember the '030 (Re: " Paul DeMone
1997-05-17  4:00             ` jfmezei
1997-05-14  4:00           ` Anthony D. Tribelli
1997-05-14  4:00             ` Terry C. Shannon
1997-05-14  4:00         ` Jon Fiedler
1997-05-17  4:00         ` jfmezei
1997-05-17  4:00           ` Aaron 'AlphaMan' Sakovich
1997-05-13  4:00       ` Terry Kennedy
1997-05-14  4:00         ` Terry C. Shannon
1997-05-14  4:00           ` W. Kyle Gilbertson
1997-05-14  4:00           ` W. Kyle Gilbertson
1997-05-14  4:00           ` Reg Burgess
1997-05-15  4:00           ` Petri Backstrom
1997-05-15  4:00           ` Rich Towle - MD6-FDC
1997-05-15  4:00             ` Douglas Borsom
1997-05-15  4:00               ` Brandon Hines
     [not found]               ` <5lg9ru$4o9$1@news.fm.intel.com>
1997-05-15  4:00                 ` Tony Tribelli
1997-05-15  4:00                 ` Tim May
1997-05-15  4:00               ` bill davidsen
1997-05-16  4:00                 ` Like a tea tray in the sky...
1997-05-16  4:00             ` Aaron 'AlphaMan' Sakovich
1997-05-15  4:00           ` Carl Perkins
1997-05-14  4:00         ` Stuart Bullock
1997-05-20  4:00           ` Stephen Knilans
1997-05-20  4:00             ` Stuart Bullock
1997-05-14  4:00         ` Jerome Jahnke
     [not found]         ` <33791713.6404DD8B@ix.netcom.com>
1997-05-14  4:00           ` Subir Grewal
1997-05-14  4:00             ` bill davidsen
1997-05-14  4:00             ` James C. Stutts
1997-05-14  4:00               ` Intel Basic and Applied Research (and the DEC lawsuit) Tim May
1997-05-14  4:00                 ` Steve Meyer
     [not found]                   ` <337B85CD.686F@world.std.comNOSPAM>
1997-05-16  4:00                     ` Craig Burley
1997-05-17  4:00                       ` Allison
1997-05-20  4:00                         ` John  Bayko
1997-05-16  4:00                     ` Allison
1997-05-16  4:00                     ` reslfj
1997-05-14  4:00                 ` Paul DeMone
1997-05-15  4:00                   ` H.W. Stockman
1997-05-15  4:00                     ` Jeffrey S. Dutky
1997-05-16  4:00                       ` Andy Glew
1997-05-16  4:00                         ` Paul DeMone
1997-05-19  4:00                           ` Allen J. Baum
1997-05-19  4:00                             ` Patrick Chase
1997-05-20  4:00                               ` Elmer Phud
1997-05-20  4:00                         ` Zalman Stern
1997-05-20  4:00                           ` Alberto C Moreira
1997-05-21  4:00                           ` Joe Hinrichs
1997-05-24  4:00                             ` John  Bayko
1997-05-28  4:00                               ` Zalman Stern
1997-05-25  4:00                             ` Zalman Stern
1997-05-28  4:00                               ` Rich Adams
1997-05-29  4:00                                 ` Maynard Handley
1997-05-30  4:00                                   ` Ketil Z Malde
1997-05-29  4:00                                 ` Joe Buck
1997-05-29  4:00                                   ` Rob Rodgers
1997-05-29  4:00                                   ` Vance R. Haemmerle
1997-05-29  4:00                                     ` Rich Adams
1997-05-30  4:00                                       ` Vance R. Haemmerle
1997-05-29  4:00                                   ` Zalman Stern
1997-05-29  4:00                                     ` Kevin Oberman
1997-05-29  4:00                                     ` Rich Adams
1997-05-29  4:00                                       ` Karl Gibbs
1997-05-30  4:00                                         ` Rich Adams
1997-05-29  4:00                                     ` Vance R. Haemmerle
1997-05-27  4:00                             ` Andy Glew
1997-05-21  4:00                           ` Mike Haertel
1997-05-27  4:00                           ` Andy Glew
1997-05-31  4:00                             ` John  Bayko
1997-06-01  4:00                               ` Andy Glew
1997-06-02  4:00                                 ` Jerry Leichter
1997-06-01  4:00                             ` Curt Sampson
1997-06-01  4:00                               ` Andy Glew
1997-06-15  4:00                                 ` Bernd Paysan [this message]
1997-06-16  4:00                                   ` OOO 68k (was: Intel Basic and Applied Research (and the DEC lawsuit)) John R. Mashey
1997-06-16  4:00                                     ` Allen J. Baum
1997-06-02  4:00                               ` Intel Basic and Applied Research (and the DEC lawsuit) Mike Haertel
1997-05-18  4:00                       ` John  Bayko
1997-05-20  4:00                       ` D. J. Bernstein
1997-05-15  4:00                     ` Sean Eric Fagan
1997-05-16  4:00                       ` H.W. Stockman
1997-05-20  4:00                         ` Zalman Stern
1997-05-17  4:00                       ` Ron Natalie
1997-05-17  4:00                         ` Stefan Monnier
1997-05-15  4:00                     ` Henry Baker
1997-05-16  4:00                       ` Del Cecchi
1997-05-15  4:00                     ` Tim May
     [not found]                       ` <337da19d.3384747@news.demon.co.uk>
1997-05-15  4:00                         ` Tim May
1997-05-16  4:00                           ` Jon Leech
1997-05-16  4:00                             ` John Hascall
1997-05-16  4:00                             ` Allison
1997-05-20  4:00                           ` Uwe Leinberger GSI Darmstadt
1997-05-21  4:00                             ` Why people accept bad computers John  Bayko
1997-05-22  4:00                               ` Eugene A. Pallat
1997-05-23  4:00                                 ` Stewart Stremler
1997-05-23  4:00                                   ` Rob Rodgers
1997-05-23  4:00                                     ` Stewart Stremler
1997-05-23  4:00                                       ` Uwe Leinberger GSI Darmstadt
1997-05-24  4:00                                         ` Stewart Stremler
1997-05-24  4:00                                       ` Eugene A. Pallat
1997-05-25  4:00                                         ` Henry Baker
1997-05-27  4:00                                       ` Alberto C Moreira
1997-05-23  4:00                                     ` Paul David Fox
1997-05-23  4:00                                       ` mac
1997-05-24  4:00                                         ` Scott Gilbert
1997-05-24  4:00                                           ` Rob Rodgers
1997-05-25  4:00                                             ` Ian Kemmish
1997-05-25  4:00                                               ` ANDREW GRYGUS 
1997-05-25  4:00                                                 ` Scott Gilbert
1997-05-26  4:00                                                   ` ANDREW GRYGUS 
1997-05-26  4:00                                                     ` DanteMatrix
1997-05-26  4:00                                                       ` ANDREW GRYGUS 
1997-05-27  4:00                                                         ` DanteMatrix
1997-05-27  4:00                                                           ` ANDREW GRYGUS 
1997-05-27  4:00                                                             ` DanteMatrix
1997-05-28  4:00                                                             ` Ben Clifford
1997-05-27  4:00                                                           ` Mark E. Levy
1997-05-28  4:00                                                           ` Joe Ragosta
1997-05-26  4:00                                                       ` Martin Knoblauch
1997-05-27  4:00                                                         ` DanteMatrix
1997-05-27  4:00                                                           ` Scott Gilbert
1997-05-27  4:00                                                           ` James C. Stutts
1997-05-27  4:00                                                             ` DanteMatrix
1997-05-28  4:00                                                           ` OrangeTide
1997-05-28  4:00                                                             ` DanteMatrix
1997-05-28  4:00                                                       ` Joe Ragosta
1997-05-28  4:00                                                         ` DanteMatrix
1997-05-28  4:00                                                         ` Eugene A. Pallat
1997-05-26  4:00                                                     ` Scott Gilbert
1997-05-27  4:00                                                       ` Del Cecchi
1997-05-27  4:00                                                   ` Ian Baker
1997-05-25  4:00                                                 ` Peter Mayne
     [not found]                                               ` <5m9vf9$ilu@dfw-ixnews9.ix.netco <01bc6999$23d5acd0$d889d8cd@atlantis>
1997-05-28  4:00                                                 ` John  Bayko
1997-05-30  4:00                                                   ` Chris Colohan
     [not found]                                               ` <5m9vf9$ilu@dfw-ixnews9.ix.netco <01bc694f$7dbb96f0$9e89d8cd@atlantis>
1997-05-28  4:00                                                 ` John  Bayko
1997-05-29  4:00                                                   ` Scott Gilbert
     [not found]                                               ` <5m9vf9$ilu@dfw-ixne <joe.ragosta-ya02408000R2805970813170001@news.dol.net>
1997-06-02  4:00                                                 ` Richard Tobin
1997-05-24  4:00                                           ` John  Bayko
1997-05-26  4:00                                             ` Joe Ragosta
1997-05-26  4:00                                               ` Rob Rodgers
1997-05-28  4:00                                                 ` Joe Ragosta
1997-05-28  4:00                                                   ` Rob Rodgers
1997-05-29  4:00                                               ` Philip Blaiklock
1997-05-26  4:00                                             ` Daniel Tracy
1997-05-27  4:00                                             ` Maynard Handley
1997-05-26  4:00                                           ` Joe Ragosta
1997-05-26  4:00                                             ` John Nagle
1997-05-28  4:00                                               ` Joe Ragosta
1997-05-28  4:00                                                 ` DanteMatrix
1997-05-30  4:00                                           ` Paul David Fox
1997-05-30  4:00                                             ` Bill Moyer
1997-05-30  4:00                                               ` Alberto C Moreira
1997-05-30  4:00                                                 ` Joe Buck
1997-06-02  4:00                                                 ` Paul David Fox
1997-06-03  4:00                                                 ` Jerry Coffin
1997-06-04  4:00                                                   ` Joe Buck
1997-06-02  4:00                                               ` Paul David Fox
1997-06-03  4:00                                               ` bruce varley
1997-06-03  4:00                                                 ` Hugo Fillafel
1997-05-24  4:00                                         ` Phillip Helbig
1997-05-25  4:00                                           ` David Given
1997-05-26  4:00                                             ` Erik Trulsson
1997-05-26  4:00                                               ` Martin Knoblauch
1997-05-26  4:00                                                 ` Robert Billing
1997-05-26  4:00                                                 ` Marco S Hyman
1997-05-27  4:00                                                   ` Al Castanoli
1997-05-27  4:00                                                   ` Gene Wirchenko
1997-05-30  4:00                                                 ` Gaven Miller
1997-05-24  4:00                                         ` Rob Rodgers
1997-06-12  4:00                                           ` Eugene N. Miya
1997-05-23  4:00                                       ` Jeff Fox
1997-05-23  4:00                                         ` Rob Rodgers
1997-05-25  4:00                                           ` Anders Blicher Petersen
1997-05-27  4:00                                         ` KrisM28
1997-05-23  4:00                                       ` dave porter
1997-05-23  4:00                                         ` John Price
1997-05-26  4:00                                         ` Joe Ragosta
1997-05-27  4:00                                           ` William Taylor
1997-06-02  4:00                                           ` Steve Kanefsky
1997-05-24  4:00                                       ` Arun Sharma
1997-05-24  4:00                                         ` Robert Billing
1997-05-24  4:00                                         ` Kevin and Brian Stone
1997-05-24  4:00                                           ` DanteMatrix
1997-05-26  4:00                                             ` Timothy A. Seufert
1997-05-28  4:00                                               ` Stefan Monnier
1997-05-26  4:00                                             ` Joe Ragosta
1997-05-26  4:00                                               ` DanteMatrix
1997-06-07  4:00                                         ` Brip Ferdinal
1997-06-09  4:00                                           ` amas
1997-05-29  4:00                                   ` Eugene A. Pallat
1997-05-27  4:00                               ` Shez
1997-05-23  4:00                             ` Intel Basic and Applied Research (and the DEC lawsuit) Stanley Chow
     [not found]                       ` <337B8F96.2653@swcp.com>
     [not found]                         ` <tcmay-ya023180001505971847100001@news.znet.com>
1997-05-16  4:00                           ` Larry Kilgallen
1997-05-18  4:00                           ` Victor Yodaiken
1997-05-15  4:00                   ` 432 (was Re: Intel Basic and Applied Research (and the DEC lawsuit)) Richard A. O'Keefe
1997-05-15  4:00                     ` Ron Natalie
1997-05-16  4:00                       ` Piercarlo Grandi
1997-05-17  4:00                         ` Siva Chander
1997-05-20  4:00                           ` Zalman Stern
1997-05-20  4:00                             ` Paul DeMone
1997-05-21  4:00                           ` Piercarlo Grandi
1997-05-21  4:00                             ` Ron Natalie
1997-05-15  4:00                     ` Jerry Leichter
1997-05-15  4:00                       ` Zalman Stern
1997-05-15  4:00                 ` Intel Basic and Applied Research (and the DEC lawsuit) RokNroB
1997-05-14  4:00                   ` Maynard Handley
1997-05-14  4:00                     ` Tim May
1997-05-30  4:00                       ` Hugh LaMaster
1997-05-16  4:00                     ` Siva Chander
1997-05-16  4:00                       ` Curt Sampson
1997-05-16  4:00                       ` Joe Buck
1997-05-17  4:00                       ` Paul DeMone
1997-05-17  4:00                         ` H.W. Stockman
1997-05-19  4:00                           ` Paul DeMone
1997-05-19  4:00                             ` H.W. Stockman
1997-05-19  4:00                           ` RokNroB
1997-05-29  4:00                             ` Steve Kahler
1997-05-29  4:00                               ` Hydrochloric Asad
1997-05-29  4:00                               ` Rob Barris
1997-05-17  4:00                         ` Henry Baker
     [not found]                       ` <337D310E.6B25@easyinternet.net>
1997-05-17  4:00                         ` Joe Buck
1997-05-17  4:00                           ` Paul DeMone
1997-05-15  4:00                   ` John Hascall
1997-05-15  4:00                     ` Peter Hamer
1997-05-16  4:00                       ` Baroque Intel Processors (was Re: Intel Basic and Applied Research (and the DEC lawsuit)) John Hascall
1997-05-16  4:00                     ` Intel Basic and Applied Research (and the DEC lawsuit) Allison
1997-05-14  4:00               ` DEC sues Intel! No more Pentiums for them! Vance R. Haemmerle
1997-05-14  4:00               ` Dennis Moran
1997-05-15  4:00                 ` James C. Stutts
1997-05-14  4:00                   ` Dirk Grunwald
1997-05-15  4:00                   ` Bruce Harris
     [not found]                     ` <01bc6165$59603640$5b0520ce@c00li0>
     [not found]                       ` <337BA50D.1BA6CA85@netcom.com>
1997-05-16  4:00                         ` Ketil Z Malde
     [not found]                     ` <5lfpac$osr@ultranews.duc.auburn.edu>
1997-05-16  4:00                       ` Joshua Cope
1997-05-16  4:00                         ` James C. Stutts
1997-05-16  4:00                         ` Bruce Harris
1997-05-14  4:00           ` KSG
1997-05-20  4:00         ` Like a tea tray in the sky...
1997-05-20  4:00         ` Stephen Knilans
1997-05-20  4:00           ` D.Webb
1997-05-22  4:00           ` MWencek
1997-05-29  4:00             ` Steve Kahler
1997-05-29  4:00               ` John R. Campbell
1997-06-02  4:00                 ` Guy Harris
1997-06-04  4:00                 ` Siva Chander
1997-05-30  4:00               ` jfmezei
1997-05-31  4:00                 ` Terry C. Shannon
1997-05-30  4:00               ` scot
1997-05-30  4:00                 ` Curious
1997-05-17  4:00   ` DEC sues Intel! Buy stock in a law firm jfmezei
1997-05-18  4:00   ` William Taylor
1997-05-19  4:00     ` jfmezei
1997-05-20  4:00       ` bill davidsen
1997-05-21  4:00         ` Rich Adams
1997-05-22  4:00           ` William Taylor
1997-05-22  4:00             ` John R. Campbell
1997-05-23  4:00               ` Rich Adams
1997-05-21  4:00         ` John R. Campbell
1997-05-23  4:00           ` Computer Press Accuracy (was DEC sues Intel! Buy stock in a law firm.) Larry Kilgallen
1997-05-23  4:00             ` John R. Campbell
1997-05-24  4:00             ` Gerhard Hoffmann
1997-05-25  4:00               ` Terry C. Shannon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox