03 May 2013, 21:37 | #1 |
Registered User
Join Date: Jun 2012
Location: Austria
Posts: 76
|
Question about the possibility of JIT in FS-UAE under Windows
FS-UAE looks great, using that since few days for demo watching Any chance that at any point is JIT upcoming also for the Windows Versions? Since some games and Demos are quite power demanding it would be nice to see that feature for the Win Versions too. Other then that.. great work
|
06 May 2013, 00:45 | #2 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Hi, there's really no reason JIT couldn't work on Windows too. When I looked at the JIT feature, and made necessary changes to make it work, it only worked on Linux and OS X, and crashed on Windows. I have not spent much time trying to figure out why, but simply disabled the JIT feature on Windows altogether.
Presumably, the bug is related to register parameter passing, C calling convention, or something similar. It is not a high-priority for me to fix that, but I won't discount the possibility that I will look at it. Also, I'll accept patches if someone else fixes it |
18 December 2013, 00:32 | #3 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
I found out why JIT does not (currently) work on Windows.
compemu_raw_x86.cpp defines different registers to pass arguments in via, depending on whether the platform is Windows (ECX_INDEX, EDX_INDEX) or not (EAX_INDEX, EDX_INDEX). So the fix is either to adjust REGPARAM #defines accordingly, or use same REGPARAM defines and the same registers on both Windows and non-Windows (both approaches should work). Either way, JIT should work also on Windows starting with version 2.3.14 |
20 December 2013, 21:48 | #4 |
Registered User
Join Date: Jun 2012
Location: Austria
Posts: 76
|
That sounds promising, looking forward for it
|
20 December 2013, 22:08 | #5 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
It is enabled in the latest development version, currently 2.3.15dev
Last edited by FrodeSolheim; 20 December 2013 at 22:16. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possibility to configure the location of the FS-UAE folder | jani-matti | support.FS-UAE | 12 | 29 November 2012 22:29 |
FS-UAE - Why it have no JIT? | nexusle | support.FS-UAE | 19 | 13 May 2012 13:39 |
JIT on E-UAE PPC? | _ThEcRoW | support.OtherUAE | 8 | 06 May 2011 23:55 |
JIT/Sound Question | eCat | support.WinUAE | 2 | 06 May 2010 21:17 |
Possibility of Amiga virus launched under emulator impacting host Windows PC? | watzwat | New to Emulation or Amiga scene | 27 | 22 September 2007 17:55 |
|
|