English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 05 December 2020, 18:43   #1
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 198
How to config Advanced Jit Settings?

I would like to know how you configure this section of the emulator, taking into account that a 68060 processor is in use. I would also like to know where you can read what each parameter of that section does.

falken is offline  
Old 06 December 2020, 15:17   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
Hard flush = Affects how JIT handles CPU cache flushed. No hard flush: keep translated code in memory but mark it as "needs to be checked", reuses existing translated code if original m68k code didn't change. If hard flush: always flush all translated code. Performance optimization. Without it static code (like OS/ROM code) gets translated again and again after each cache flush.

No flags = if JIT detects that following instruction(s) are known not to care about CPU flag contents, skip CCR setup part of instruction emulation. Performance optimization. Can be always enabled, if something breaks when it is enabled: JIT bug.

Constant jump = not sure.

Direct = memory accesses go directly to memory. Bypass memory mapping. Much faster. Can only work if "normal" RAM, no mirrors, no on the fly remap etc.. For example can't be used (disabled automatically) if emulating accelerator board with map rom.

Indirect = memory accesses use normal UAE memory banking method. Works always.

Catch unexpected exceptions = if JIT crashes (because program did something too stupid or corrupted stack etc..) tries to recover.
Toni Wilen is offline  
Old 07 December 2020, 17:43   #3
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 198
Quote:
Originally Posted by Toni Wilen View Post
Hard flush = Affects how JIT handles CPU cache flushed. No hard flush: keep translated code in memory but mark it as "needs to be checked", reuses existing translated code if original m68k code didn't change. If hard flush: always flush all translated code. Performance optimization. Without it static code (like OS/ROM code) gets translated again and again after each cache flush.

No flags = if JIT detects that following instruction(s) are known not to care about CPU flag contents, skip CCR setup part of instruction emulation. Performance optimization. Can be always enabled, if something breaks when it is enabled: JIT bug.

Constant jump = not sure.

Direct = memory accesses go directly to memory. Bypass memory mapping. Much faster. Can only work if "normal" RAM, no mirrors, no on the fly remap etc.. For example can't be used (disabled automatically) if emulating accelerator board with map rom.

Indirect = memory accesses use normal UAE memory banking method. Works always.

Catch unexpected exceptions = if JIT crashes (because program did something too stupid or corrupted stack etc..) tries to recover.
Thank you for the valuable info!
falken is offline  
Old 07 December 2020, 22:39   #4
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
From some old docs:

Constant Jump = If this enabled, unconditional branches will not end a block. Effectively, UAE-JIT compiles "through" them. Generally, that's a good idea, as it improves performance.
However, it makes soft cache flushing impossible for some blocks, so if you experience lots and lots of soft cache flushes (e.g. when using a Mac emulator), you might try "no" and see whether it does any better.
rutra80 is offline  
Old 07 December 2020, 23:03   #5
Aladin
Registered User
 
Join Date: Nov 2016
Location: France
Posts: 855
in CopyMemAIO documentation:

http://aminet.net/package/util/boot/CopyMemAIO

For a fast emulation most important are the Advanced JIT Settings in WinUAE:
Cache Size: 16MB
Check FPU Support
Check Constant Jump
NoCheck Hard flush
Select Direct
Check No flags
Check Catch unexpected exceptions
Aladin is offline  
Old 08 December 2020, 15:29   #6
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 198
Thank you guys ! With that information, you can get a better insight into those functions.
falken is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced UAE expansion board/Boot ROM Settings DaMi support.WinUAE 3 16 November 2017 13:54
advanced chipset - clock settings honx support.WinUAE 7 04 December 2016 09:49
Lock settings while loading a new config. NewDeli request.UAE Wishlist 5 11 September 2009 06:16
Problem With Jit Settings markpage support.WinUAE 40 20 June 2009 16:01
config settings in WinUAE... overburn support.WinUAE 9 19 January 2005 10:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:30.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10460 seconds with 15 queries