home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12821 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  2.9 KB

  1. Path: sparky!uunet!olivea!decwrl!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: SASC 6.0 (food for thought)
  5. Message-ID: <BtpHpo.9KB@unx.sas.com>
  6. Date: 28 Aug 92 18:22:35 GMT
  7. References: <25440014@hpsad.sad.hp.com> <BtHqsn.Cyv@unx.sas.com> <SIE.92Aug28144523@introitus.fulcrum.bt.co.uk>
  8. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  9. Organization: SAS Institute Inc.
  10. Lines: 66
  11. Originator: walker@twix.unx.sas.com
  12. Nntp-Posting-Host: twix.unx.sas.com
  13.  
  14.  
  15. In article <SIE.92Aug28144523@introitus.fulcrum.bt.co.uk>, sie@fulcrum.bt.co.uk (Simon Raybould) writes:
  16. |> In article <BtLDsK.z9@unx.sas.com> walker@twix.unx.sas.com (Doug Walker) writes:
  17. |>    In article <1992Aug25.221919.12437@ccu.umanitoba.ca>, kaarts@ccu.umanitoba.ca (Kenneth John Aarts) writes:
  18. |>    |> In general, what is the average speedup for a generic program by generating
  19. |>    |> 030 specific code?
  20. |> 
  21. |>    I got curious and tried the Dhrystone 2.0 benchmark on my A3000.
  22. |>    I got the following results:
  23. |> 
  24. |>      V5.10, 68000:   6362.7 Dhrystones/sec
  25. |> 
  26. |>      V5.10, 68030:   7287.4       "
  27. |> 
  28. |>      V6.0,  68000:   8039.4       "
  29. |> 
  30. |>      V6.0,  68030:   8708.3       "
  31. |> 
  32. |>    This was with full optimization and registerized parameters
  33. |>    in both versions.
  34. |> 
  35. |> 
  36. |> What about the 68040 ?
  37. |> There are quite a lot of amigas around with 68040's these days.
  38.  
  39. |> Simon J Raybould    (sie@fulcrum.bt.co.uk)            //              {o.o}
  40.  
  41. OK, one more try... I found that I wasn't really cranking up
  42. the optimization as far as it would go, so I did it again.
  43. This time I set the inlining function up as high as it would
  44. go, which increased the code size significantly but bought
  45. some additional speed.
  46.  
  47. The V5.10 numbers are the same, the V6 numbers are new.  All numbers
  48. were generated on an Amiga 3000/25.
  49.  
  50.    V5.10, 68000:   6362.7 Dhrystones/sec
  51.    V5.10, 68030:   7287.4       "
  52.  
  53.    V6.0,  68000    8321.8       "
  54.    V6.0,  68030    9202.5       "
  55.  
  56. Then I did the same set of tests on an Amiga 3000 with a 68040
  57. board installed:
  58.  
  59.    V5.10, 68000:   20761.2 Dhrystones/sec
  60.    V5.10, 68040:   24477.2      "
  61.    
  62.    V6.0,  68000:   25603.8      "
  63.    V6.0,  68040:   28301.9      "
  64.  
  65. Note that since the Dhrystone benchmark doesn't use floating
  66. point, there would be no difference between code compiled for
  67. the 68030 or 68040.  The only difference between SAS/C code
  68. generated for the '030 and the '040 is that floating point
  69. instructions which must be emulated on an '040 are not
  70. generated.
  71.  
  72. -- 
  73.   *****
  74. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  75.  *|. o.| ||                                          1200/2400/9600 Dual
  76.   | o  |//     For all you do, this bug's for you!
  77.   ====== 
  78. usenet: walker@unx.sas.com                            bix: djwalker 
  79. Any opinions expressed are mine, not those of SAS Institute, Inc.
  80.