Squashed 'external/ircolib/' changes from ce3cd726c..de6e324bd

de6e324bd separate emu thread
10d3daf86 Roms List improvements
95d202f37 Let's make the rom list process on a separate thread so the emulator doesnt take ages to load.
fc306967f Wow the ROM Header was just completely busted. Game list view works now
bad1691ee fuck this shit
2b59e5f46 game list in progress
d26417b83 remappable inputs in progress
ac4af8106 input
e72abc240 update readme
430139dc9 Qt6 frontend
3080d4d45 Fix this small bug too
08cd13b85 Cop0 unused functions do not actually pose a threat (as per manual). They don't do anything, so shall we.
61bb4fb44 make idle loop detection a little more specific with where the load goes
b037de4c3 SAZDFsdff
12e81e73e need to figure out why n64-systemtest loops indefinitely at some address that appears to be valid (i think it's me not invalidating the cache properly)
204f0e13b idle skipping seems to work!
cb8bb634a sdkfjlasdf
58e5c89c1 Fix compilation issue on my machine (no idea)
24fb2898e attempting more serious idle skipping
214719577 Place rsp.Step inside cached interpreter. Gains about 3 more fps
bb97dcc23 mmmmm
920b77d38 wjkhasdfjhkasdf
430ccdab4 it's a start...
4f42a673a Cached interpreter plays Mario 64. Start looking into RSP as well
c9a030787 idle skipping works!
5fbda03ce new idea
366637aba Idle skipping... maybe?
609fa2fb0 Cache instructions implemented but broken lmao. Commented out for now
e140a6d12 - Stop using inheritance for CPU, instead use composition. - Introduce KAIZEN_JIT_ENABLED optional define instead of relying on __aarch64__ and the like. - More cache work
68e613057 prep cache impl
811b4d809 fix clang format
fda755f7d idk
d5024ebbf small MI refactor in preparation of (eventually) implementing the RDRAM interface properly
694b45341 Merge commit '206dcdedf195fb320913584180edb12c7731e396' as 'external/SDL'
206dcdedf Squashed 'external/SDL/' content from commit 4d17b99d0a
4d16e1cb4 need to update sdl
848b19920 Fix compilation error
db61b5299 Merge commit 'e94a94559f28e49678fbcf72199a5258137b0fe9' as 'external/imgui'
e94a94559 Squashed 'external/imgui/' content from commit 02e9b8cac
52edb3757 need to update imgui
c1a705e86 Emulate weird JALR behaviour
4b4c32f4b Fix exception for "unusable COP1" in 4 instructions i missed accidentally (again)
df5828142 Bug putting 0s in the log everywhere
f8b580048 Make isviewer a sink to file
8241e9735 Fix exception for "unusable COP1" in 4 instructions i missed accidentally
b29715f20 small changes
d9a620bc1 make use of my new small utility library
0d1aa938e Add 'external/ircolib/' from commit 'ce3cd726c8df8388d554abf8bb55d55020eb4450'
e64eb40b3 Fuck git

git-subtree-dir: external/ircolib
git-subtree-split: de6e324bde
This commit is contained in:
2026-06-15 11:56:38 +02:00
parent ce3cd726c8
commit 00cc9309cb
4479 changed files with 2943227 additions and 7 deletions
@@ -0,0 +1,182 @@
# CS_ARCH_AARCH64, 0, None
0xe0,0x8d,0x31,0x2e == cmeq v0.8b, v15.8b, v17.8b
0xe1,0x8f,0x28,0x6e == cmeq v1.16b, v31.16b, v8.16b
0x0f,0x8e,0x71,0x2e == cmeq v15.4h, v16.4h, v17.4h
0xc5,0x8c,0x67,0x6e == cmeq v5.8h, v6.8h, v7.8h
0x7d,0x8f,0xbc,0x2e == cmeq v29.2s, v27.2s, v28.2s
0xe9,0x8c,0xa8,0x6e == cmeq v9.4s, v7.4s, v8.4s
0xe3,0x8f,0xf5,0x6e == cmeq v3.2d, v31.2d, v21.2d
0xe0,0x3d,0x31,0x2e == cmhs v0.8b, v15.8b, v17.8b
0xe1,0x3f,0x28,0x6e == cmhs v1.16b, v31.16b, v8.16b
0x0f,0x3e,0x71,0x2e == cmhs v15.4h, v16.4h, v17.4h
0xc5,0x3c,0x67,0x6e == cmhs v5.8h, v6.8h, v7.8h
0x7d,0x3f,0xbc,0x2e == cmhs v29.2s, v27.2s, v28.2s
0xe9,0x3c,0xa8,0x6e == cmhs v9.4s, v7.4s, v8.4s
0xe3,0x3f,0xf5,0x6e == cmhs v3.2d, v31.2d, v21.2d
0xe0,0x3d,0x31,0x2e == cmhs v0.8b, v15.8b, v17.8b
0xe1,0x3f,0x28,0x6e == cmhs v1.16b, v31.16b, v8.16b
0x0f,0x3e,0x71,0x2e == cmhs v15.4h, v16.4h, v17.4h
0xc5,0x3c,0x67,0x6e == cmhs v5.8h, v6.8h, v7.8h
0x7d,0x3f,0xbc,0x2e == cmhs v29.2s, v27.2s, v28.2s
0xe9,0x3c,0xa8,0x6e == cmhs v9.4s, v7.4s, v8.4s
0xe3,0x3f,0xf5,0x6e == cmhs v3.2d, v31.2d, v21.2d
0xe0,0x3d,0x31,0x0e == cmge v0.8b, v15.8b, v17.8b
0xe1,0x3f,0x28,0x4e == cmge v1.16b, v31.16b, v8.16b
0x0f,0x3e,0x71,0x0e == cmge v15.4h, v16.4h, v17.4h
0xc5,0x3c,0x67,0x4e == cmge v5.8h, v6.8h, v7.8h
0x7d,0x3f,0xbc,0x0e == cmge v29.2s, v27.2s, v28.2s
0xe9,0x3c,0xa8,0x4e == cmge v9.4s, v7.4s, v8.4s
0xe3,0x3f,0xf5,0x4e == cmge v3.2d, v31.2d, v21.2d
0xe0,0x3d,0x31,0x0e == cmge v0.8b, v15.8b, v17.8b
0xe1,0x3f,0x28,0x4e == cmge v1.16b, v31.16b, v8.16b
0x0f,0x3e,0x71,0x0e == cmge v15.4h, v16.4h, v17.4h
0xc5,0x3c,0x67,0x4e == cmge v5.8h, v6.8h, v7.8h
0x7d,0x3f,0xbc,0x0e == cmge v29.2s, v27.2s, v28.2s
0xe9,0x3c,0xa8,0x4e == cmge v9.4s, v7.4s, v8.4s
0xe3,0x3f,0xf5,0x4e == cmge v3.2d, v31.2d, v21.2d
0xe0,0x35,0x31,0x2e == cmhi v0.8b, v15.8b, v17.8b
0xe1,0x37,0x28,0x6e == cmhi v1.16b, v31.16b, v8.16b
0x0f,0x36,0x71,0x2e == cmhi v15.4h, v16.4h, v17.4h
0xc5,0x34,0x67,0x6e == cmhi v5.8h, v6.8h, v7.8h
0x7d,0x37,0xbc,0x2e == cmhi v29.2s, v27.2s, v28.2s
0xe9,0x34,0xa8,0x6e == cmhi v9.4s, v7.4s, v8.4s
0xe3,0x37,0xf5,0x6e == cmhi v3.2d, v31.2d, v21.2d
0xe0,0x35,0x31,0x2e == cmhi v0.8b, v15.8b, v17.8b
0xe1,0x37,0x28,0x6e == cmhi v1.16b, v31.16b, v8.16b
0x0f,0x36,0x71,0x2e == cmhi v15.4h, v16.4h, v17.4h
0xc5,0x34,0x67,0x6e == cmhi v5.8h, v6.8h, v7.8h
0x7d,0x37,0xbc,0x2e == cmhi v29.2s, v27.2s, v28.2s
0xe9,0x34,0xa8,0x6e == cmhi v9.4s, v7.4s, v8.4s
0xe3,0x37,0xf5,0x6e == cmhi v3.2d, v31.2d, v21.2d
0xe0,0x35,0x31,0x0e == cmgt v0.8b, v15.8b, v17.8b
0xe1,0x37,0x28,0x4e == cmgt v1.16b, v31.16b, v8.16b
0x0f,0x36,0x71,0x0e == cmgt v15.4h, v16.4h, v17.4h
0xc5,0x34,0x67,0x4e == cmgt v5.8h, v6.8h, v7.8h
0x7d,0x37,0xbc,0x0e == cmgt v29.2s, v27.2s, v28.2s
0xe9,0x34,0xa8,0x4e == cmgt v9.4s, v7.4s, v8.4s
0xe3,0x37,0xf5,0x4e == cmgt v3.2d, v31.2d, v21.2d
0xe0,0x35,0x31,0x0e == cmgt v0.8b, v15.8b, v17.8b
0xe1,0x37,0x28,0x4e == cmgt v1.16b, v31.16b, v8.16b
0x0f,0x36,0x71,0x0e == cmgt v15.4h, v16.4h, v17.4h
0xc5,0x34,0x67,0x4e == cmgt v5.8h, v6.8h, v7.8h
0x7d,0x37,0xbc,0x0e == cmgt v29.2s, v27.2s, v28.2s
0xe9,0x34,0xa8,0x4e == cmgt v9.4s, v7.4s, v8.4s
0xe3,0x37,0xf5,0x4e == cmgt v3.2d, v31.2d, v21.2d
0xe0,0x8d,0x31,0x0e == cmtst v0.8b, v15.8b, v17.8b
0xe1,0x8f,0x28,0x4e == cmtst v1.16b, v31.16b, v8.16b
0x0f,0x8e,0x71,0x0e == cmtst v15.4h, v16.4h, v17.4h
0xc5,0x8c,0x67,0x4e == cmtst v5.8h, v6.8h, v7.8h
0x7d,0x8f,0xbc,0x0e == cmtst v29.2s, v27.2s, v28.2s
0xe9,0x8c,0xa8,0x4e == cmtst v9.4s, v7.4s, v8.4s
0xe3,0x8f,0xf5,0x4e == cmtst v3.2d, v31.2d, v21.2d
0xe0,0x27,0x50,0x0e == fcmeq v0.4h, v31.4h, v16.4h
0xe4,0x24,0x4f,0x4e == fcmeq v4.8h, v7.8h, v15.8h
0xe0,0xe7,0x30,0x0e == fcmeq v0.2s, v31.2s, v16.2s
0xe4,0xe4,0x2f,0x4e == fcmeq v4.4s, v7.4s, v15.4s
0x5d,0xe4,0x65,0x4e == fcmeq v29.2d, v2.2d, v5.2d
0x03,0x25,0x4c,0x2e == fcmge v3.4h, v8.4h, v12.4h
0xbf,0x27,0x5c,0x6e == fcmge v31.8h, v29.8h, v28.8h
0x03,0x25,0x4c,0x2e == fcmge v3.4h, v8.4h, v12.4h
0xbf,0x27,0x5c,0x6e == fcmge v31.8h, v29.8h, v28.8h
0xbf,0xe7,0x3c,0x6e == fcmge v31.4s, v29.4s, v28.4s
0x03,0xe5,0x2c,0x2e == fcmge v3.2s, v8.2s, v12.2s
0xf1,0xe5,0x6d,0x6e == fcmge v17.2d, v15.2d, v13.2d
0xbf,0xe7,0x3c,0x6e == fcmge v31.4s, v29.4s, v28.4s
0x03,0xe5,0x2c,0x2e == fcmge v3.2s, v8.2s, v12.2s
0xf1,0xe5,0x6d,0x6e == fcmge v17.2d, v15.2d, v13.2d
0xe0,0x27,0xd0,0x2e == fcmgt v0.4h, v31.4h, v16.4h
0xe4,0x24,0xcf,0x6e == fcmgt v4.8h, v7.8h, v15.8h
0xe0,0x27,0xd0,0x2e == fcmgt v0.4h, v31.4h, v16.4h
0xe4,0x24,0xcf,0x6e == fcmgt v4.8h, v7.8h, v15.8h
0xe0,0xe7,0xb0,0x2e == fcmgt v0.2s, v31.2s, v16.2s
0xe4,0xe4,0xaf,0x6e == fcmgt v4.4s, v7.4s, v15.4s
0x5d,0xe4,0xe5,0x6e == fcmgt v29.2d, v2.2d, v5.2d
0xe0,0xe7,0xb0,0x2e == fcmgt v0.2s, v31.2s, v16.2s
0xe4,0xe4,0xaf,0x6e == fcmgt v4.4s, v7.4s, v15.4s
0x5d,0xe4,0xe5,0x6e == fcmgt v29.2d, v2.2d, v5.2d
0xe0,0x99,0x20,0x0e == cmeq v0.8b, v15.8b, #{{0x0|0}}
0xe1,0x9b,0x20,0x4e == cmeq v1.16b, v31.16b, #{{0x0|0}}
0x0f,0x9a,0x60,0x0e == cmeq v15.4h, v16.4h, #{{0x0|0}}
0xc5,0x98,0x60,0x4e == cmeq v5.8h, v6.8h, #{{0x0|0}}
0x7d,0x9b,0xa0,0x0e == cmeq v29.2s, v27.2s, #{{0x0|0}}
0xe9,0x98,0xa0,0x4e == cmeq v9.4s, v7.4s, #{{0x0|0}}
0xe3,0x9b,0xe0,0x4e == cmeq v3.2d, v31.2d, #{{0x0|0}}
0xe0,0x89,0x20,0x2e == cmge v0.8b, v15.8b, #{{0x0|0}}
0xe1,0x8b,0x20,0x6e == cmge v1.16b, v31.16b, #{{0x0|0}}
0x0f,0x8a,0x60,0x2e == cmge v15.4h, v16.4h, #{{0x0|0}}
0xc5,0x88,0x60,0x6e == cmge v5.8h, v6.8h, #{{0x0|0}}
0x7d,0x8b,0xa0,0x2e == cmge v29.2s, v27.2s, #{{0x0|0}}
0x91,0x8a,0xa0,0x6e == cmge v17.4s, v20.4s, #{{0x0|0}}
0xe3,0x8b,0xe0,0x6e == cmge v3.2d, v31.2d, #{{0x0|0}}
0xe0,0x89,0x20,0x0e == cmgt v0.8b, v15.8b, #{{0x0|0}}
0xe1,0x8b,0x20,0x4e == cmgt v1.16b, v31.16b, #{{0x0|0}}
0x0f,0x8a,0x60,0x0e == cmgt v15.4h, v16.4h, #{{0x0|0}}
0xc5,0x88,0x60,0x4e == cmgt v5.8h, v6.8h, #{{0x0|0}}
0x7d,0x8b,0xa0,0x0e == cmgt v29.2s, v27.2s, #{{0x0|0}}
0xe9,0x88,0xa0,0x4e == cmgt v9.4s, v7.4s, #{{0x0|0}}
0xe3,0x8b,0xe0,0x4e == cmgt v3.2d, v31.2d, #{{0x0|0}}
0xe0,0x99,0x20,0x2e == cmle v0.8b, v15.8b, #{{0x0|0}}
0xe1,0x9b,0x20,0x6e == cmle v1.16b, v31.16b, #{{0x0|0}}
0x0f,0x9a,0x60,0x2e == cmle v15.4h, v16.4h, #{{0x0|0}}
0xc5,0x98,0x60,0x6e == cmle v5.8h, v6.8h, #{{0x0|0}}
0x7d,0x9b,0xa0,0x2e == cmle v29.2s, v27.2s, #{{0x0|0}}
0xe9,0x98,0xa0,0x6e == cmle v9.4s, v7.4s, #{{0x0|0}}
0xe3,0x9b,0xe0,0x6e == cmle v3.2d, v31.2d, #{{0x0|0}}
0xe0,0xa9,0x20,0x0e == cmlt v0.8b, v15.8b, #{{0x0|0}}
0xe1,0xab,0x20,0x4e == cmlt v1.16b, v31.16b, #{{0x0|0}}
0x0f,0xaa,0x60,0x0e == cmlt v15.4h, v16.4h, #{{0x0|0}}
0xc5,0xa8,0x60,0x4e == cmlt v5.8h, v6.8h, #{{0x0|0}}
0x7d,0xab,0xa0,0x0e == cmlt v29.2s, v27.2s, #{{0x0|0}}
0xe9,0xa8,0xa0,0x4e == cmlt v9.4s, v7.4s, #{{0x0|0}}
0xe3,0xab,0xe0,0x4e == cmlt v3.2d, v31.2d, #{{0x0|0}}
0xe0,0xdb,0xf8,0x0e == fcmeq v0.4h, v31.4h, #0.0
0xe4,0xd8,0xf8,0x4e == fcmeq v4.8h, v7.8h, #0.0
0xe0,0xdb,0xa0,0x0e == fcmeq v0.2s, v31.2s, #0.0
0xe4,0xd8,0xa0,0x4e == fcmeq v4.4s, v7.4s, #0.0
0x5d,0xd8,0xe0,0x4e == fcmeq v29.2d, v2.2d, #0.0
0xe0,0xdb,0xf8,0x0e == fcmeq v0.4h, v31.4h, #0.0
0xe4,0xd8,0xf8,0x4e == fcmeq v4.8h, v7.8h, #0.0
0xe0,0xdb,0xa0,0x0e == fcmeq v0.2s, v31.2s, #0.0
0xe4,0xd8,0xa0,0x4e == fcmeq v4.4s, v7.4s, #0.0
0x5d,0xd8,0xe0,0x4e == fcmeq v29.2d, v2.2d, #0.0
0x03,0xc9,0xf8,0x2e == fcmge v3.4h, v8.4h, #0.0
0xbf,0xcb,0xf8,0x6e == fcmge v31.8h, v29.8h, #0.0
0xbf,0xcb,0xa0,0x6e == fcmge v31.4s, v29.4s, #0.0
0x03,0xc9,0xa0,0x2e == fcmge v3.2s, v8.2s, #0.0
0xf1,0xc9,0xe0,0x6e == fcmge v17.2d, v15.2d, #0.0
0x03,0xc9,0xf8,0x2e == fcmge v3.4h, v8.4h, #0.0
0xbf,0xcb,0xf8,0x6e == fcmge v31.8h, v29.8h, #0.0
0xbf,0xcb,0xa0,0x6e == fcmge v31.4s, v29.4s, #0.0
0x03,0xc9,0xa0,0x2e == fcmge v3.2s, v8.2s, #0.0
0xf1,0xc9,0xe0,0x6e == fcmge v17.2d, v15.2d, #0.0
0xe0,0xcb,0xf8,0x0e == fcmgt v0.4h, v31.4h, #0.0
0xe4,0xc8,0xf8,0x4e == fcmgt v4.8h, v7.8h, #0.0
0xe0,0xcb,0xa0,0x0e == fcmgt v0.2s, v31.2s, #0.0
0xe4,0xc8,0xa0,0x4e == fcmgt v4.4s, v7.4s, #0.0
0x5d,0xc8,0xe0,0x4e == fcmgt v29.2d, v2.2d, #0.0
0xe0,0xcb,0xf8,0x0e == fcmgt v0.4h, v31.4h, #0.0
0xe4,0xc8,0xf8,0x4e == fcmgt v4.8h, v7.8h, #0.0
0xe0,0xcb,0xa0,0x0e == fcmgt v0.2s, v31.2s, #0.0
0xe4,0xc8,0xa0,0x4e == fcmgt v4.4s, v7.4s, #0.0
0x5d,0xc8,0xe0,0x4e == fcmgt v29.2d, v2.2d, #0.0
0x83,0xda,0xf8,0x2e == fcmle v3.4h, v20.4h, #0.0
0x01,0xd9,0xf8,0x6e == fcmle v1.8h, v8.8h, #0.0
0x01,0xd9,0xa0,0x6e == fcmle v1.4s, v8.4s, #0.0
0x83,0xda,0xa0,0x2e == fcmle v3.2s, v20.2s, #0.0
0xa7,0xd9,0xe0,0x6e == fcmle v7.2d, v13.2d, #0.0
0x83,0xda,0xf8,0x2e == fcmle v3.4h, v20.4h, #0.0
0x01,0xd9,0xf8,0x6e == fcmle v1.8h, v8.8h, #0.0
0x01,0xd9,0xa0,0x6e == fcmle v1.4s, v8.4s, #0.0
0x83,0xda,0xa0,0x2e == fcmle v3.2s, v20.2s, #0.0
0xa7,0xd9,0xe0,0x6e == fcmle v7.2d, v13.2d, #0.0
0x50,0xe8,0xf8,0x0e == fcmlt v16.4h, v2.4h, #0.0
0x8f,0xe8,0xf8,0x4e == fcmlt v15.8h, v4.8h, #0.0
0x50,0xe8,0xa0,0x0e == fcmlt v16.2s, v2.2s, #0.0
0x8f,0xe8,0xa0,0x4e == fcmlt v15.4s, v4.4s, #0.0
0xa5,0xeb,0xe0,0x4e == fcmlt v5.2d, v29.2d, #0.0
0x50,0xe8,0xf8,0x0e == fcmlt v16.4h, v2.4h, #0.0
0x8f,0xe8,0xf8,0x4e == fcmlt v15.8h, v4.8h, #0.0
0x50,0xe8,0xa0,0x0e == fcmlt v16.2s, v2.2s, #0.0
0x8f,0xe8,0xa0,0x4e == fcmlt v15.4s, v4.4s, #0.0
0xa5,0xeb,0xe0,0x4e == fcmlt v5.2d, v29.2d, #0.0