E-UAE vs Trance
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Thinking out loud here.

    E-UAE for MorphOS does not have 68k JIT but interpretive emulator.

    68k OS3.x version of E-UAE runs using the Trance JIT emulator.

    So in theory the 68k version running under Trance will be quicker than the PPC version, as Trance will JIT the whole emulation whereas PPC E-UAE will run an interpreted 68k emulation.

    Or am I mad/stupid?
  • »06.04.07 - 06:16
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    DJBase
    Posts: 745 from 2003/4/6
    From: Germany
    Yes, you are mad. The programs are still using the static 68k Emulation provided by UAE.
    Mac mini, PowerPC G4 1.5 GHz, ATI Radeon 9200 64 MB, 1 GB RAM, 80 GB HDD, MorphOS 3.18
    PowerBook, PowerPC G4 1.67 GHz, ATI Radeon 9700 128 MB, 2 GB RAM, 250 GB mSATA HDD, MorphOS 3.18
  • »06.04.07 - 06:49
    Profile Visit Website
  • Butterfly
    Butterfly
    mdma
    Posts: 85 from 2003/5/4
    Quote:


    DJBase wrote:
    Yes, you are mad. The programs are still using the static 68k Emulation provided by UAE.


    But the "static 68k emulation provided by E-UAE" is being run as a JIT'ed task under Trance surely?

    What is difference between 68k progam A and 68k program B running under Trance?

    Program A being say PPaint
    Program B being E-UAE

    As far as Trance knows both are just 68k programs that it recompiles, it isn't aware that E-UAE is also emulating a 68k interpretively.
  • »06.04.07 - 08:20
    Profile
  • Moderator
    Kronos
    Posts: 2326 from 2003/2/24
    What you'll get is:

    An 68k done by UAE's static emu running on an 68k done by Trance...

    So if we say trance has an efficeny of 50% and UAE static has 1% (dunno, just as an example).

    EUAE-MOS:
    1000MHz * 0.01 = 10MHz

    EUAE-68k+Trance:
    1000MHz * 0.5 *0.01 = 5MHz


    Very simplefied but still true.
  • »06.04.07 - 08:34
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Kronos is right. 68k programs running in UAE still dont get translated to PPC. They run through UAE's static interpreter and JIT would only translate interpreter, not data going through interpreter.

    If UAE had 68k JIT then this case could be different with PPC native UAE. It is possibly faster translate 68k code to 68k and let Trance translate code to PPC than use static 68k emulation natively on PPC.
    1 + 1 = 3 with very large values of 1
  • »06.04.07 - 10:11
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    pixie
    Posts: 147 from 2003/9/5
    From: Am*ga
    I thought that 68k UAE wouldn't be emulating 68k *at all*, now custom chips are a different history altogether...

    But I'm betting that UAE is only needed for running apps hitting custom hardware and as such, PPC version makes more sense
    pixie - writing from a paradise called Portugal
  • »06.04.07 - 12:17
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    merko
    Posts: 328 from 2003/5/19
    It has to emulate the 68k to provide cycle-by-cycle timing between cpu
    and custom chips. CPU and copperlist may work at the same time, and
    the display might not show correctly if the CPU is suddenly "running
    ahead". So an UAE JIT would really need to JIT both CPU and copper
    (and the other chips) at the same time.
  • »06.04.07 - 15:02
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    pixie
    Posts: 147 from 2003/9/5
    From: Am*ga
    From waht I recall of UAE native it didn't emulated the CPU... but that was far far away in time, it might be a false memory
    pixie - writing from a paradise called Portugal
  • »06.04.07 - 18:06
    Profile