home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / compiler / 1285 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.2 KB  |  51 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!gatech!news.byu.edu!eff!world!iecc!compilers-sender
  3. From: ssp@csl36h.csl.ncsu.edu (Santosh Pande)
  4. Subject: C as IL on parallel platforms
  5. Reply-To: ssp@csl36h.csl.ncsu.edu (Santosh Pande)
  6. Organization: Compilers Central
  7. Date: Wed, 29 Jul 1992 05:12:45 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-07-106@comp.compilers>
  10. Keywords: C, translator, summary
  11. Sender: compilers-sender@iecc.cambridge.ma.us
  12. Lines: 37
  13.  
  14. Thanks to everyone who replied to my posting about the 'Pros and cons of
  15. higher level intermediate languages'. From the responses, it appears that:
  16.  
  17.     (1) C is the most popular IL in use,
  18.     (2) Garbage collection / exception handling features in original
  19. language do not get efficiently mapped to C due to its inherent
  20. limitations,
  21.     (3) As far as other issues are concerned, one could generate an
  22. efficient C code (free of aliases etc) by styling the output of the
  23. translator properly,
  24.     (4) One might sometimes benefit due to the fact that C compilers
  25. are well-tuned to the target architecture.
  26.     
  27.     Interestingly I didn't receive any response on C as IL for
  28. parallel platforms!!
  29.     If aliases prevent interprocedural and other optimizations for
  30. RISC/ sequential machines; unless one is EXTRA careful, even the best of
  31. the compilers can prohibit parallelization/vectorization in the presence
  32. of pointers due to a hard dependence analysis at compile time!!
  33.     Fortunately with some C compilers, one can resort to mixing
  34. compiler directives (like nodepchk, noassoc, vector/concur etc. on
  35. Alliant, iPSC (icc)) that allow the translator to force certain
  36. optimizations in the presence of typical C referencing like pointers. 
  37.     My experience with C as IL for SISAL on iPSC/860 is quite
  38. satisfactory mainly due to fact that icc allows directives and does not
  39. give you a packaged black-box!! I would like to know from others about
  40. other platforms. 
  41. -- 
  42.  Santosh Pande,                 
  43.  Box. 7911,                 
  44.  Computer Systems Laboratory,       
  45.  Dept. Of Electrical & Computer Engg.           
  46.  North Carolina State University, Raleigh,     
  47.  NC-27695-7911
  48. -- 
  49. Send compilers articles to compilers@iecc.cambridge.ma.us or
  50. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  51.