home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / arch / 9382 < prev    next >
Encoding:
Text File  |  1992-09-11  |  3.9 KB  |  76 lines

  1. Xref: sparky comp.arch:9382 comp.lang.misc:3043
  2. Newsgroups: comp.arch,comp.lang.misc
  3. Path: sparky!uunet!sun-barr!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!rz.ruhr-uni-bochum.de!jan
  4. From: jan@pallas.neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen)
  5. Subject: Re: Goals, Cost, and Flexibility (was Re: "Training" of programmers)
  6. Message-ID: <JAN.92Sep12155439@pallas.neuroinformatik.ruhr-uni-bochum.de>
  7. In-reply-to: crowl@jade.CS.ORST.EDU's message of 11 Sep 92 18:47:44 GMT
  8. Organization: Inst. f. Neuroinformatik, Ruhr-Universitaet Bochum, FRG
  9. References: <Btx4vF.Jx6@mentor.cc.purdue.edu> <1992Sep4.151001.9886@sei.cmu.edu>
  10.     <Bu5qD3.GAM@mentor.cc.purdue.edu> <1992Sep11.184744.19329@CS.ORST.EDU>
  11. Date: 12 Sep 92 15:54:39
  12. Lines: 62
  13.  
  14. In article <1992Sep11.184744.19329@CS.ORST.EDU> 
  15. crowl@jade.CS.ORST.EDU (Lawrence Crowl) writes:
  16.    >And then the hardware designers, being told that something is useless, drop
  17.    >it from the instruction set?
  18.  
  19.    You misunderstand what has happened in the industry.  The hardware designers
  20.    were told that something was rarely used, and therefore was not cost
  21.    effective.  As good engineers, they dropped the feature.
  22.  
  23. Ah yes. And them somebody thought of an algorithm, reducing the complexity
  24. of some important programme. Unfortunately, because of a few cents' worth
  25. of cost savings in the hardware design, the implementation is ten to 1000
  26. times slower than necessary. Sheesh, how cost effective! 
  27.  
  28. Pray tell, how are you, using this philosophy of "it's only rarely used",
  29. going to avoid ending up with processors which can do nothing but NANDs?
  30. They're still Trung machines, but I'd rather not use them for my simulations.
  31.  
  32.    >Designing flexibility in both hardware and software is not that expensive;
  33.    >putting in something left out may be.
  34.  
  35.    [...] I invite you to provide _evidence_ in support of your claim.
  36.  
  37.    >A simple example is that of square root. The cost of putting in square root
  38.    >on any machine which has "classical" division hardware is essentially zero
  39.    >at the design and construction stage,but an algorithm to do it is otherwise
  40.    >is necessarily slow and costly.
  41.  
  42.    Only costly when making simplistic comparisons.  If the lack of square root
  43.    hardware increases my run time from 10 seconds to 10.0001 seconds (which is
  44.    probably realistic for many if not most program runs), it is _not_ costly.
  45.  
  46. And that _is_ a simplistic comparison. Why should "many if not most" 
  47. programmes be good enough reason for elimiting a function? I think Herman
  48. is talking about incremental cost effectiveness. And to give you an example:
  49. When Inmos added an FPU to the transputer, they put in a barrel shifter and
  50. a 3bit/cycle mutiplier. Taking these as a given, they put in the microcode
  51. for square root and remainder because that's all it cost them: some more
  52. microcode. Should they just leave them out just to spite their customers?
  53.  
  54.    >Bit vectors do not necessarily start on a word, or even a byte, boundary,
  55.  
  56.    Yes, but if only one in a million don't, supporting nonaligned bit vectors
  57.    probably isn't cost effective.
  58.  
  59. And again, these decisions are limiting what gets done. Why are currently
  60. proposed cryptoalgorithms using key lengths that are powers of two? Surely,
  61. one of the reasons is that current hardware isn't able to process bit strings
  62. that don't fall on 64 ot 128 bit boundaries efficiently.
  63.  
  64.    >and again, it is easier to deal with the problem at hardware design time
  65.    >rather than in software.
  66.  
  67.    This claim is strongly supported by the wide abundance of hardware
  68.    implemented compilers and spreadsheet packages.  :)  
  69.  
  70. Not quite that, but look at IBM's VM/HPO. A large part of the virtual machine
  71. assists and thus of VM is actually done in microcode, probably individually
  72. for every model series. Saving 25% or more of your 3090's processing power
  73. is certainly worth a few man year's microcoding slavery.
  74.  
  75. Jan Vorbrueggen, Inst. f. Neuroinformatik, EuheUniversitaet Bochum, FRG
  76.