D-Cache setting on 68020
Posted: Thu Nov 05, 2020 10:29 pm
I'm confused by the behaviour of data cache setting on the 68020 processor options in minimig.
With this option enabled, no data cache is detected by the amiga - for instance using sysinfo to show instruction/data cache state, or command-line tools to show/enable/disable caches. The instruction cache is detected.
Granted, the cache may well be implemented in a way that's not visible to the simulated amiga hardware, which would be in keeping with the 'pretend' 68020 as that chip did not have a data cache.
What's really confusing though is how the amiga behaves with the cache switched on/off.
Using sysinfo as a benchmark, there's no difference in performance between having d-cache switched on or off - the results are identical.
Is the cache setting working? Is it always enabled or disabled regardless of the gui setting?
Am I just "holding it wrong"?
As I say, confused.
With this option enabled, no data cache is detected by the amiga - for instance using sysinfo to show instruction/data cache state, or command-line tools to show/enable/disable caches. The instruction cache is detected.
Granted, the cache may well be implemented in a way that's not visible to the simulated amiga hardware, which would be in keeping with the 'pretend' 68020 as that chip did not have a data cache.
What's really confusing though is how the amiga behaves with the cache switched on/off.
Using sysinfo as a benchmark, there's no difference in performance between having d-cache switched on or off - the results are identical.
Is the cache setting working? Is it always enabled or disabled regardless of the gui setting?
Am I just "holding it wrong"?
As I say, confused.