home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / arch / 8338 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.9 KB  |  39 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!tallis.enet.dec.com!kirk
  3. From: kirk@tallis.enet.dec.com (Matthew B. Kirk)
  4. Subject: Re: Translating ML (was Re: MVC and MVCL)
  5. Message-ID: <1992Jul27.002600.18548@nntpd.lkg.dec.com>
  6. Sender: usenet@nntpd.lkg.dec.com (USENET News System)
  7. Organization: Digital Equipment Corporation
  8. Date: Mon, 27 Jul 1992 01:07:21 GMT
  9. Lines: 28
  10.  
  11.  
  12. In article <65D202Zn1bIR01@JUTS.ccc.amdahl.com>, jjs40@cd.amdahl.com (John Sullivan) writes...
  13. >As I understand it, the ability to translate VAX assembly code to Alpha is
  14. >highly dependent on the "good behavior" of the original VAX code, such
  15. >as seperate data/code segments, no self-modifying code, well behaved OS calls,
  16. >etc.  Obviously it's possible to handle these cases, but then your
  17. >compile-time translation degenerates to run-time emulation with a big
  18. >performance hit (and a lot of added complexity.)
  19.  
  20. Not exactly.  Not having separate data and code segments will not affect
  21. the performance of your translated images provided that you have no self
  22. modifying code.  What you do is to tell the translator that code in 
  23. read/write PSECTs should not be interpreted.
  24.  
  25. While the translator will complain about a number of poorly behaved types
  26. of code (e.g. unaligned stack, code that doesn't follow the VAX calling
  27. standard, etc), it will still translate them.  
  28.  
  29. I'm not sure I understand what you mean by "well behaved OS calls".  If
  30. you mean calls to undocumented, unsupported system services, then no, 
  31. the translator doesn't support them.                                
  32. =============================================================================
  33. Matthew Kirk                           kirk@tallis.enet.dec.com
  34.  
  35. All opinions expressed here are mine and do not reflect those of Digital
  36. Equipment Corporation.
  37. =============================================================================
  38.