Commit Graph

17 Commits

Author SHA1 Message Date
Rune Holm
a2b0521dbd move address translation cache fields from global variables to the m68k struct, as
this way we can pass around one pointer and access them all in the future.
This happens to win 5-10% performance, because now the code generator can generate a single
global variable pointer to get to all of the translation cache/range fields at once.
2021-06-18 22:01:22 +01:00
Rune Holm
b91e0e809d optimise away an unnecessary subtract on the instruction fetch fast path 2021-06-18 22:01:20 +01:00
beeanyew
62d18f9f13 Merge branch 'wip-crap' into main 2021-06-11 21:38:36 +02:00
Rune Holm
fe3b4bb032 pull the PC masking into the code translation cache, so that we only need to mask the PC on our slow path. Gives us another 5-10% speedup. 2021-06-11 19:34:03 +01:00
Rune Holm
3203ac8590 Created address translation fast path for code reads, separated slow path into separate function so the fast path is more likely to be inlined. 10-20% performance improvement 2021-06-11 18:37:57 +01:00
beeanyew
d882c8da74 Fix Musashi complation with various m68conf options 2021-05-07 00:46:19 +02:00
beeanyew
83fa34909f Fix up Musashi performance with prefetch enabled
Mapped memory ranges should always be given preference, since they can't actually cause a bus error or affect any read/write operations over the 68k bus.
2021-04-16 10:47:25 +02:00
shanshe
b2121be23f Bus Error and 68k OPs update (to latest MAME) 2021-04-13 18:31:06 +02:00
shanshe
e48448eff9 MMU and InstructionCache update (MAME's latest code) 2021-04-13 10:32:30 +02:00
shanshe
6c9276f882 FPU update as latest MAME 2021-04-13 10:00:48 +02:00
beeanyew
1f804c7e36 [WIP] IRQ experiments, revert Musashi speed hax for now 2021-03-08 15:53:23 +01:00
beeanyew
60acb37185 Certified Musashi speed hax
Probably requires a make clean due to things being in header files.
2021-02-18 05:29:59 +01:00
beeanyew
2e76e75128 Some Musashi mapping and RTG fixes/debug 2021-01-06 13:13:05 +01:00
beeanyew
4ee88c2266 Fix all the colors, fix some other stuff.
Workbench still doesn't work.
2021-01-06 04:56:33 +01:00
beeanyew
2e157e0665 Fix the stupid 2020-12-31 17:21:06 +01:00
beeanyew
2eb8474c92 Plug some read/write mappings directly into Musashi 2020-12-31 12:15:42 +01:00
Claude
e2f86a9c1a first commit 2020-10-31 09:26:56 +01:00