Welcome, Guest. Please login or register.

Author Topic: Best version of 68040.library to use with WinUAE.  (Read 6290 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Best version of 68040.library to use with WinUAE.
« on: October 09, 2003, 03:58:28 PM »
040 optimised code is only faster on a real 040, because it uses tricks that the 040 hardware can do better than other CPUs. It's not faster under emulation, trust me. I notice no difference between 020/040/060 optimised code on the fastest 68k emulation currently available - MorphOS Trance.

In fact, UAE's 040 emulation can be a wee bit buggy too, another reason to stick to 020 code.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Best version of 68040.library to use with WinUAE.
« Reply #1 on: October 09, 2003, 04:21:15 PM »
Quote
Karlos wrote:
MOS speed advantage is not just down to its 68K emulation - the fact that the OS calls (usually the most time consuming) are PPC native helps just as much. No doubt register allocation is a trivial operation on PPC too ;-)


I meant more the fact that Trance is Hotspot JIT, the fastest variant available.

Quote
On my PC at least, 040 optimised code running in 040 emulation mode (all other UAE settings unchanged) is faster than than 020/882 code in 040 emulation mode. This is unusual, unless the 040 emulation is written differently in some way.


I suppose then it depends on the PC's CPU and memory bandwidth. If you say that 040 code is faster on WinUAE for you I believe you, but there's no logical reason why it should be faster (at least that I can think of).