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