home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12399 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.5 KB  |  41 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!ftpbox!mothost!lmpsbbs!supra.comm.mot.com!rittle
  3. From: rittle@supra.comm.mot.com (Loren James Rittle)
  4. Subject: Re: SAS/C 6.0 Details (LONG!)
  5. Organization: Land Mobile Products Sector, Motorola Inc.
  6. Date: Mon, 17 Aug 1992 16:06:12 GMT
  7. Message-ID: <1992Aug17.160612.5738@lmpsbbs.comm.mot.com>
  8. References: <BsxCu2.5A7@unx.sas.com> <VINSCI.92Aug15020642@nic.nic.funet.fi>
  9. Sender: news@lmpsbbs.comm.mot.com (Net News)
  10. Nntp-Posting-Host: 145.1.80.40
  11. Lines: 28
  12.  
  13. In article <VINSCI.92Aug15020642@nic.nic.funet.fi> vinsci@nic.funet.fi (Leonard Norrgard) writes:
  14. >Doug, how does the new code generator of SAS/C 6.0 measure up against
  15. >GCC 2?  Why not post some data?
  16.  
  17. Well, I'm not Doug, but in fact since I don't work for SAS I may be a
  18. better judge... :-)
  19.  
  20. I use GCC 2.2.2 and c89 at work (DECstation); Microtec C at work
  21. (crosscompiler on DECstation for 680x0); and GCC 2.1 and SAS/C at home
  22. (Amiga).  I am quite impressed with the code generator / [auto] inliner
  23. / optimizer in SAS/C 6.0.  Without listing a bunch of meaningless
  24. benchmarks, I'll say that SAS/C 6.0 puts SAS/C on par with GCC 2.x.  I
  25. will compare SAS/C 5.1b to SAS/C 6.0 in a general sense:
  26.  
  27. ls-4.5ljr when recompiled under SAS/C 6.0 goes on average
  28. 10-20% faster and is 10-20% smaller than the 5.1b compiled version.
  29.  
  30. I have some other programs that show better speedup factors.
  31.  
  32. >I have a special interest in the code generation for switch()
  33. >...
  34. >search, rather than through a linear search.  Has this been
  35. >implemented yet?
  36.  
  37. I can't answer this.
  38.  
  39. Regards,
  40. Loren
  41.