home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / misc / 4024 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  3.2 KB

  1. Xref: sparky comp.lang.misc:4024 comp.arch:11623
  2. Path: sparky!uunet!mcsun!sun4nl!cwi.nl!dik
  3. From: dik@cwi.nl (Dik T. Winter)
  4. Newsgroups: comp.lang.misc,comp.arch
  5. Subject: Re: Double length integer arithmetic
  6. Message-ID: <8321@charon.cwi.nl>
  7. Date: 13 Dec 92 00:03:37 GMT
  8. References: <Bz1rFw.9s1@mentor.cc.purdue.edu> <8311@charon.cwi.nl> <Bz5DIs.2uH@mentor.cc.purdue.edu>
  9. Sender: news@cwi.nl
  10. Followup-To: comp.lang.misc
  11. Organization: CWI, Amsterdam
  12. Lines: 45
  13.  
  14. In article <Bz5DIs.2uH@mentor.cc.purdue.edu> hrubin@mentor.cc.purdue.edu (Herman Rubin) writes:
  15.  > In article <8311@charon.cwi.nl> dik@cwi.nl (Dik T. Winter) writes:
  16.  > >In article <Bz1rFw.9s1@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
  17.  > > >                                                     The hardware has
  18.  > > > deteriorated, except for speed, for the number theorist; when Lehmer
  19.  > > > wrote his criticism, virtually all computers had double-length integer
  20.  > > > arithmetic.
  21.  > >You asserted that before, and I asked you to name a few computers from the
  22.  > >beginning of Fortran that had those capabilities.  I never saw a response.
  23.  > >Can you respond now?
  24.  > 
  25.  > The IBM 704-709 series, which were the machines for which Fortran was written;
  26.  > The Univac 1100 series; the CDC 1604 and 3600; and at least the great bulk of
  27.  > the von Neumann type machines.  I am  not too familiar with the some of the
  28.  > earlier machines, but the more-or-less standard hardware of that time had an
  29.  > accumulator and a multiplier/quotient register; the actual additions were
  30.  > done in the accumulator, and on multiplication the least significant part
  31.  > was shifted into the MQ register, with the most significant part in the
  32.  > accumulator, and on division, with the double-length dividend in the A/MQ
  33.  > registers, the remainder was left in the accumulator as the quotient was
  34.  > produced in the MQ register.    
  35.  
  36. While I now remember this was not the question I posed some time ago, I
  37. see that you now say that virtually all computers did *not* have
  38. double-length integer arithmetic.  What you say is that they had
  39. n*n->2n and 2n/n->n.  I agree with that.  A new question: what current
  40. machines do not have those operations?  (I know for multiply: Cray,
  41. HP-PA version I, and Motorola 88000, do you know others?  I know also
  42. that the newer version of HP-PA does provide the requested multiply.
  43. There are a few more that do not provide the divide, but they do in most
  44. cases not even provide HW integer division.  Sometimes designers have
  45. reasons to omit something.  And, BTW, there are also old processors
  46. that do not provide HW integer division!  And, as another BTW, the
  47. processors I know that do multiply by a multiply-step instructions
  48. provide the double length product: Sparc version 7 and earlier (version
  49. 8 has the multiply), AMD 29000 (later versions have the multiply) and
  50. IBM PC/RT.)
  51.  
  52. My old question, which you never answered, was based on another assertion
  53. by you.  You told us that in the early days of Fortran virtually all
  54. processors had single*single->double fp multiply.  My question still stands:
  55. name a few from that time.
  56. -- 
  57. dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland
  58. home: bovenover 215, 1025 jn  amsterdam, nederland; e-mail: dik@cwi.nl
  59.