Commit Graph

2634 Commits

Author SHA1 Message Date
Jaklyy e93381dfa4 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-21 12:31:54 -04:00
Jaklyy af09e37d53 attempt at twl timings
also rework main ram's early finish handling
2024-10-21 11:38:26 -04:00
Jaklyy 744f5c9fcd small fixes 2024-10-19 16:51:40 -04:00
Jaklyy a32d59774e Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-19 12:35:39 -04:00
Jaklyy e254ac3240 fix ldrd/strd itcm timings 2024-10-19 12:35:27 -04:00
Jaklyy 8fff17f03f fix resets 2024-10-19 11:01:16 -04:00
Jaklyy d4216309a2 hdfg 2024-10-19 11:00:51 -04:00
Jaklyy 051b236839 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-18 21:10:39 -04:00
Jaklyy e33d19cf14 fix a few misc things? 2024-10-18 21:08:56 -04:00
Jaklyy 9ed4c66592 add support for 1 reg ldm/stm a9 timings and fix a bug 2024-10-18 17:56:56 -04:00
Jaklyy 8ff0946b8a mrc causes interlocks 2024-10-18 17:10:00 -04:00
Jaklyy 0e6d3fd834 fix bad logical leaps 2024-10-18 16:32:02 -04:00
Jaklyy cc031cd4b8 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-18 15:01:14 -04:00
Jaklyy e2a810147f re-add interlocks
breaks gcc debug builds for ??? reason
2024-10-18 15:00:55 -04:00
Jaklyy 68e8ff41eb this barely makes a difference in practice but it's less inefficient 2024-10-17 10:08:11 -04:00
Jaklyy ffb24e7088 wrong bitshift 2024-10-16 22:42:24 -04:00
Jaklyy 26a6e887ad aarch64 neon impl take one
fingers crossed it compiles!
2024-10-16 22:26:56 -04:00
Jaklyy d7212643f1 move arm9 code fetches into the cycle add routine
setting up for re-adding interlocks
2024-10-16 12:21:48 -04:00
Jaklyy 9f2b097e96 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-15 22:36:29 -04:00
Jaklyy 52ddaa73cf fix resets 2024-10-15 22:36:21 -04:00
Jaklyy 21763ceed3 reduce memtimings lut granularity 2024-10-15 21:20:10 -04:00
Jaklyy c605c93d8e still dumb 2024-10-15 21:08:46 -04:00
Jaklyy 3fcdc45029 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-15 21:08:13 -04:00
Jaklyy c00b188c05 im dumb 2024-10-15 21:08:07 -04:00
Jaklyy 460fd45aed remove some old code 2024-10-15 20:27:09 -04:00
Jaklyy bb2727b786 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-15 20:25:16 -04:00
Jaklyy 05c153e9ab Merge branch 'interpreter-fixes' into less-ambitious-timing-rework 2024-10-15 20:23:14 -04:00
Jaklyy 5f003eb967 fix builds with jit disabled 2024-10-15 20:23:03 -04:00
Jaklyy d476593eec add notes 2024-10-15 12:40:35 -04:00
Jaklyy d8d2fcd94a more optimizations 2024-10-14 23:43:11 -04:00
Jaklyy 263dd20ec3 nvmnvmnvm 2024-10-14 22:48:25 -04:00
Jaklyy ca7d938bb1 update for new write buffer implementation 2024-10-14 20:18:23 -04:00
Jaklyy 9f3ebeafa7 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-14 20:16:58 -04:00
Jaklyy 026719acef improve timing model 2024-10-14 20:15:03 -04:00
Jaklyy f74c21d110 Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-13 20:07:04 -04:00
Jaklyy 801f43dfc5 reimplement codemem
i dont feel like i actually had a good reason for disabling this...
2024-10-13 20:06:39 -04:00
Jaklyy 1afefdce1d use sse for set lookups 2024-10-13 08:39:07 -04:00
Jaklyy 206fc94d68 Merge branch 'interpreter-fixes' into less-ambitious-timing-rework 2024-10-12 14:35:28 -04:00
Jaklyy e0e78a2bc8 make empty r-list instructions a bit nicer
pass bools as a single u8 instead and combine thumb and restore cpsr flags since they're mutually exclusive
2024-10-12 11:10:06 -04:00
Jaklyy a8722d8c56 tcms shouldn't be cacheable 2024-10-11 02:47:41 -04:00
Jaklyy 6b8671d80a Merge branch 'less-ambitious-timing-rework' into chemical-x 2024-10-11 02:05:44 -04:00
Jaklyy 9f6cbd8e84 implement drain write buffer cache command 2024-10-10 23:24:20 -04:00
Jaklyy 3d246ddf73 tcms just aren't bufferable 2024-10-10 22:54:33 -04:00
Jaklyy 34bba2589e tcm (and cache?) reads dont trigger write buffer drains
additionally drains are triggered even in no cache + no buffer regions despite documentation not specifying such
2024-10-10 20:52:47 -04:00
Jaklyy 5c120f45ee Merge branch 'interpreter-fixes' into less-ambitious-timing-rework 2024-10-10 20:34:00 -04:00
Jaklyy 787d0c9afc mrc r15 updates flags
also my prior implementation made mrc w/ r15 raise an exception by accident
oops!
2024-10-10 11:09:07 -04:00
Jaklyy 93dce82b07 implement cmp with "rd == 15" on arm9
cmp and friends with bits 12-15 set to 1 borrow characteristics from their legacy 26 bit p variants
thumb version does nothing of note
2024-10-10 10:48:17 -04:00
Jaklyy 3870216fd0 correction: 2024-10-10 03:53:51 -04:00
Jaklyy 53b38c363f ok no it didn't lie to me 2024-10-10 03:32:53 -04:00
Jaklyy e25dca0030 writing to the write buffer has a 1 cycle delay before it can be done again 2024-10-10 03:14:01 -04:00