home *** CD-ROM | disk | FTP | other *** search
- Path: news.mira.net.au!news
- From: bytey@werple.net.au (Chris Hames)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: 680X0 -> PPC translator?
- Date: 29 Feb 1996 11:57:42 +1100
- Organization: Werple Internet, Melbourne
- Message-ID: <4h2tm6$meq@werple.net.au>
- References: <4fstt2$old@newsstand.cit.cornell.edu> <PETERM.96Feb19135541@tui.maths.irl.cri.nz> <4glch6$rle@ra.nrl.navy.mil> <1190.6631T892T581@und.ida.liu.se> <4gvg0v$j2j@newsstand.cit.cornell.edu> <4h0dum$lb0@werple.net.au> <19960228.43D838.45DF@an173.du.pipex.com>
- NNTP-Posting-Host: werple.mira.net.au
-
- m.hendry@dial.pipex.com (Mathew Hendry) writes:
-
- >Chris Hames (bytey@werple.net.au) wrote:
- >:
- >: Yes but code hunks can contain data and data hunks can contain code. You
- >: need a much more strict executable format if you want to static translate to
- >: another processor for all cases (without an unlimited machine).
-
- >In which case you need an emulation engine as well as a static translator.
-
- Then you might as well go for dynamic compilation. Your static translator
- is not going to be able to handle _many_ situations so you will get arbitrary
- PPC code in the first place and since you are going to fall back interpretive
- or dynamic-compilation anyway why try for static translation which the more
- you think about it the more certain you become of what a nightmare it would
- be in AmigaOS's case. So if you accept that any good static translator with
- fall back emulation would be some factor times larger project than a
- dynamic-compilation one you have to ask for what gain. IMHO the gain would
- be little, the time spent compiling with dynamic-compilation is minimal when
- compared with what software today spends most of its time doing (loops of
- unchanging code). Sure you could make more interblock optimizations and
- spend more time looking for optimizations but having written a
- dynamic-recompilation engine and can say that the time spent compiling has
- never been a concern when looking at better optimization methods.
-
-
- --
- Chris Hames bytey@werple.mira.net.au (OR bytey@melbourne.dialix.oz.au)
- "How do I start another MS Windows process on this machine ?" 'huh ?'
- "Don't real IBM-PC's have the PC-Task icon to double click ?"
-