home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / intel / 3123 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  5.1 KB

  1. Path: sparky!uunet!europa.eng.gtefsd.com!emory!sol.ctr.columbia.edu!usc!news.service.uci.edu!ucivax!gateway
  2. From: mmorton@Bonnie.ICS.UCI.EDU
  3. Subject: mac vs ibm
  4. Message-ID: <9301281141.aa17806@Bonnie.ics.uci.edu>
  5. Newsgroups: comp.sys.intel
  6. Lines: 68
  7. Date: 28 Jan 93 19:41:21 GMT
  8.  
  9. In reply to David's request for some info on Motorola vs Intel, here are my
  10. two cents on the subject:  about 5 years ago, it was looking to me like Motorolawas the better choice.  The 386 was out but 286 was still the dominant CPU in
  11. PCs at the time and making any comparison such as 68000 vs 286, the 68000
  12. has a flat address space, supports 32 bit data types directly, etc and in my
  13. own experience, it seems like a 68000 is faster much of the time than a 286 of
  14. same clock speed.  Those published benchmarks are not generally a real great
  15. way of finding out which is "better" of two fairly significantly different
  16. architectures.  Which is to say, a mac fan can find a benchmark saying 680x0
  17. is faster and same with IBM fans and Intel.  Now, Intel 32 bit architecture has
  18. established itself and the 486 is available in clockspeeds DX-50, and DX2-66 and
  19. the fastest I have heard 68040s clocking is 40MHz.  Since both 486 and 68040
  20. claim around 1.3 cycles per instruction and both accomplish about the same
  21. computational work per instruction, clockspeed seems like a good deciding
  22. characteristic.  Further, I have not priced macs extensively but 68030-16s and
  23. 68030-20s are a few grand and the top of the line 68040s seem to be around
  24. 5 to 8 grand.  Now, a DX2-66 with local bus video and harddrive controller is
  25. around $3,000 typically.  So not only are Intel computers currently the fastest
  26. but they are the fastest per dollar too.
  27.   At this point, I would mention a few things about the architectures of an
  28. Intel 486 compared to a 68040.  486 with a little effort can be forced out of
  29. its 8086 real mode (a common criticism among mac people is that IBMs are
  30. limited by standards set down in 1981 etc) and into protected in a default
  31. 32 bit code segment so that you have flat address space and 32 bit operands.
  32. Further, with segmentation, you can have complete relocatability of code and
  33. data.  On Motorola, to have data relocatability you would use program counter
  34. relative addressing modes, some of which do not exist on earlier 680x0 chips
  35. and all of which take extra instruction word(s) to encode.  Intel sacrifices
  36. no floating point instructions and no memory protection/virtual memory
  37. facilities in integrating those funcitons onto the 486.  68040 gives up some
  38. instructions supported by the 68882 floating point processor and the 68851
  39. memory management unit.  The Intel programming model is a small specialized
  40. register set with instructions specifically for memory block moves.  The 16
  41. bit addressing modes are not terribly orthogonal but the 32 bit modes are,
  42. with scaling of register indices available.  The Intel instruction set is
  43. encoded in a byte oriented fashion and is very compact, supporting sign
  44. extended byte addressing to save space and data objects take up only as much
  45. memory space as they need, with word and dword alignment being transparent
  46. to the programmer.
  47.    Motorola on the other hand, on the early chips required word alignment and
  48. 80 bit mantissa real numbers are stored as 96 bit with 16 do nothing bits in
  49. order to maintain 32 bit alignment in memory (Intel stores these as tbytes).
  50. In Motorola's favor, the 68000 series has supported 32 bit addressing and
  51. data from the beginning so current and future versions of the chip do not
  52. have complicated architectures to support different programming models on
  53. the same chip.  The 68882 allows direct access to floating point registers
  54. where Intel implements its 80x87 register set as a floating stack.  This, I
  55. suppose, makes it easy to evaluate postfix expressions but you must maintain
  56. stack integrity or you will get NaNs or exception crashes.  The Motorola
  57. programming model is 8 general purpose address and data registers and most
  58. of the time, what you can do with one, you can do with another.  Everything
  59. is oriented towards 32 bit although it does support byte data types and there
  60. are sign extended word addressing modes to save space.  In general though,
  61. an 80x86 program to do something will take up less space than the Motorola
  62. counterpart.  Motorola doesn't support specialized instructions like string
  63. moves on Intel, in fact, there isn't even a push or pop instruction.  You
  64. use an addressing mode and move to or from (a7) in order to push and pop.
  65. I am not saying this is bad, it is just a different philosophy.  ON intel,
  66. you generally have a way to do something and that's how you do it.  On
  67. Motorola, you have the basic tools to do lots of stuff and you code what
  68. you want to do (string moves, pushes and pops, etc) with instructions and
  69. addressing modes that can accomplish a bunch of other stuff as well.
  70.    I think arguing Motorola vs Intel you will end up concluding it is a matter
  71. of preferrence.  I have programmed both and can operate comfortably in both,
  72. appreciating the advantages that one has over the other.  So the choice of
  73. which to use, to me, is a question of which is faster, which at this point
  74. looks like Intel.
  75.  
  76.       Mike
  77.