From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,14f3fa9fb2c63b2d X-Google-Attributes: gidf891f,public X-Google-Thread: fc89c,14f3fa9fb2c63b2d X-Google-Attributes: gidfc89c,public X-Google-Thread: 109fba,14f3fa9fb2c63b2d X-Google-Attributes: gid109fba,public X-Google-Thread: fb4a0,14f3fa9fb2c63b2d X-Google-Attributes: gidfb4a0,public X-Google-Thread: f678f,14f3fa9fb2c63b2d X-Google-Attributes: gidf678f,public X-Google-Thread: 103376,14f3fa9fb2c63b2d X-Google-Attributes: gid103376,public X-Google-Thread: 102b75,14f3fa9fb2c63b2d X-Google-Attributes: gid102b75,public X-Google-Thread: 10cc59,14f3fa9fb2c63b2d X-Google-Attributes: gid10cc59,public X-Google-ArrivalTime: 1993-12-16 15:28:46 PST Xref: gmd.de comp.lang.misc:5292 comp.lang.ada:8888 comp.lang.pascal:17715 comp.lang.c++:40773 comp.unix.programmer:10975 comp.arch:18211 comp.unix.osf.misc:847 comp.unix.unixware:797 comp.lang.dylan:1583 comp.lang.eiffel:2123 comp.lang.lisp:5077 Newsgroups: comp.lang.misc,comp.lang.ada,comp.lang.pascal,comp.lang.c++,comp.unix.programmer,comp.arch,comp.unix.osf.misc,comp.unix.unixware,comp.lang.dylan,comp.lang.eiffel,comp.lang.lisp Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!netcomsv!netcomsv!zycad!leo From: leo@zycad.com (Leo Broukhis) Subject: Re: translation of x86 binary to native Message-ID: <1993Dec16.214522.26199@zycad.com> Organization: Zycad Corporation, Fremont, CA References: Date: Thu, 16 Dec 1993 21:45:22 GMT In article yoder@austin.ibm.com () writes: >I'm pretty sure that SoftPC translates to native machine code >and then runs it (as opposed to interpreting x86 code an instruction >at a time). IBM's PCSIM for AIX also follows this method. A while ago I ran a program which determines the depth of instrustion buffer, on SunPC. The result was zero, that is instructions are executed one by one, probably by compiling each x86 instruction into corresponding native code (1-3 native instructions for most x86 opcodes) and doing "recompilation by request", i.e. instruction is compiled when it is about to be executed, and compiled code is discarded when corresponding location is overwritten. Pretty simple but space consuming. The next speedup might be to compile the whole basic blocks if they were executed several times without modification. -- Disclaimer implied. -- Leonid A. Broukhis | Misce, Da, Signa: After each e-mail message.