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
+248
View File
@@ -0,0 +1,248 @@
# CS_ARCH_AARCH64, 0, None
0x85,0x14,0x40,0xb9 = ldr w5, [x4, #20]
0x64,0x00,0x40,0xf9 = ldr x4, [x3]
0xe2,0x13,0x40,0xf9 = ldr x2, [sp, #32]
0xe5,0x07,0x40,0x3d = ldr b5, [sp, #1]
0xe6,0x07,0x40,0x7d = ldr h6, [sp, #2]
0xe7,0x07,0x40,0xbd = ldr s7, [sp, #4]
0xe8,0x07,0x40,0xfd = ldr d8, [sp, #8]
0xe9,0x07,0xc0,0x3d = ldr q9, [sp, #16]
0x64,0x00,0x40,0x39 = ldrb w4, [x3]
0x85,0x50,0x40,0x39 = ldrb w5, [x4, #20]
0x69,0x00,0xc0,0x39 = ldrsb w9, [x3]
0xe2,0x03,0x82,0x39 = ldrsb x2, [sp, #128]
0xe2,0x43,0x40,0x79 = ldrh w2, [sp, #32]
0xe3,0x43,0xc0,0x79 = ldrsh w3, [sp, #32]
0x25,0x31,0x80,0x79 = ldrsh x5, [x9, #24]
0xe9,0x03,0x82,0xb9 = ldrsw x9, [sp, #512]
0xe5,0x13,0x80,0xf9 = prfm pldl3strm, [sp, #32]
0xff,0x13,0x80,0xf9 = prfm #31, [sp, #32]
0x40,0x00,0x80,0xf9 = prfm pldl1keep, [x2]
0x41,0x00,0x80,0xf9 = prfm pldl1strm, [x2]
0x42,0x00,0x80,0xf9 = prfm pldl2keep, [x2]
0x43,0x00,0x80,0xf9 = prfm pldl2strm, [x2]
0x44,0x00,0x80,0xf9 = prfm pldl3keep, [x2]
0x45,0x00,0x80,0xf9 = prfm pldl3strm, [x2]
0x50,0x00,0x80,0xf9 = prfm pstl1keep, [x2]
0x51,0x00,0x80,0xf9 = prfm pstl1strm, [x2]
0x52,0x00,0x80,0xf9 = prfm pstl2keep, [x2]
0x53,0x00,0x80,0xf9 = prfm pstl2strm, [x2]
0x54,0x00,0x80,0xf9 = prfm pstl3keep, [x2]
0x55,0x00,0x80,0xf9 = prfm pstl3strm, [x2]
0x95,0x78,0xa5,0xf8 = prfm pstl3strm, [x4, x5, lsl #3]
0x64,0x00,0x00,0xf9 = str x4, [x3]
0xe2,0x13,0x00,0xf9 = str x2, [sp, #32]
0x85,0x14,0x00,0xb9 = str w5, [x4, #20]
0xe5,0x07,0x00,0x3d = str b5, [sp, #1]
0xe6,0x07,0x00,0x7d = str h6, [sp, #2]
0xe7,0x07,0x00,0xbd = str s7, [sp, #4]
0xe8,0x07,0x00,0xfd = str d8, [sp, #8]
0xe9,0x07,0x80,0x3d = str q9, [sp, #16]
0x64,0x00,0x00,0x39 = strb w4, [x3]
0x85,0x50,0x00,0x39 = strb w5, [x4, #20]
0xe2,0x43,0x00,0x79 = strh w2, [sp, #32]
0x62,0x00,0x40,0xb8 = ldur w2, [x3]
0xe2,0x83,0x41,0xb8 = ldur w2, [sp, #24]
0x62,0x00,0x40,0xf8 = ldur x2, [x3]
0xe2,0x83,0x41,0xf8 = ldur x2, [sp, #24]
0xe5,0x13,0x40,0x3c = ldur b5, [sp, #1]
0xe6,0x23,0x40,0x7c = ldur h6, [sp, #2]
0xe7,0x43,0x40,0xbc = ldur s7, [sp, #4]
0xe8,0x83,0x40,0xfc = ldur d8, [sp, #8]
0xe9,0x03,0xc1,0x3c = ldur q9, [sp, #16]
0x69,0x00,0xc0,0x38 = ldursb w9, [x3]
0xe2,0x03,0x88,0x38 = ldursb x2, [sp, #128]
0xe3,0x03,0xc2,0x78 = ldursh w3, [sp, #32]
0x25,0x81,0x81,0x78 = ldursh x5, [x9, #24]
0xe9,0x03,0x98,0xb8 = ldursw x9, [sp, #-128]
0x64,0x00,0x00,0xb8 = stur w4, [x3]
0xe2,0x03,0x02,0xb8 = stur w2, [sp, #32]
0x64,0x00,0x00,0xf8 = stur x4, [x3]
0xe2,0x03,0x02,0xf8 = stur x2, [sp, #32]
0x85,0x40,0x01,0xb8 = stur w5, [x4, #20]
0xe5,0x13,0x00,0x3c = stur b5, [sp, #1]
0xe6,0x23,0x00,0x7c = stur h6, [sp, #2]
0xe7,0x43,0x00,0xbc = stur s7, [sp, #4]
0xe8,0x83,0x00,0xfc = stur d8, [sp, #8]
0xe9,0x03,0x81,0x3c = stur q9, [sp, #16]
0x64,0x00,0x00,0x38 = sturb w4, [x3]
0x85,0x40,0x01,0x38 = sturb w5, [x4, #20]
0xe2,0x03,0x02,0x78 = sturh w2, [sp, #32]
0xe5,0x03,0x82,0xf8 = prfum pldl3strm, [sp, #32]
0x83,0x08,0x41,0xb8 = ldtr w3, [x4, #16]
0x83,0x08,0x41,0xf8 = ldtr x3, [x4, #16]
0x83,0x08,0x41,0x38 = ldtrb w3, [x4, #16]
0x69,0x08,0xc0,0x38 = ldtrsb w9, [x3]
0xe2,0x0b,0x88,0x38 = ldtrsb x2, [sp, #128]
0x83,0x08,0x41,0x78 = ldtrh w3, [x4, #16]
0xe3,0x0b,0xc2,0x78 = ldtrsh w3, [sp, #32]
0x25,0x89,0x81,0x78 = ldtrsh x5, [x9, #24]
0xe9,0x0b,0x98,0xb8 = ldtrsw x9, [sp, #-128]
0x85,0x48,0x01,0xb8 = sttr w5, [x4, #20]
0x64,0x08,0x00,0xf8 = sttr x4, [x3]
0xe2,0x0b,0x02,0xf8 = sttr x2, [sp, #32]
0x64,0x08,0x00,0x38 = sttrb w4, [x3]
0x85,0x48,0x01,0x38 = sttrb w5, [x4, #20]
0xe2,0x0b,0x02,0x78 = sttrh w2, [sp, #32]
0xfd,0x8c,0x40,0xf8 = ldr x29, [x7, #8]!
0xfe,0x8c,0x40,0xf8 = ldr x30, [x7, #8]!
0x05,0x1c,0x40,0x3c = ldr b5, [x0, #1]!
0x06,0x2c,0x40,0x7c = ldr h6, [x0, #2]!
0x07,0x4c,0x40,0xbc = ldr s7, [x0, #4]!
0x08,0x8c,0x40,0xfc = ldr d8, [x0, #8]!
0x09,0x0c,0xc1,0x3c = ldr q9, [x0, #16]!
0xfe,0x8c,0x1f,0xf8 = str x30, [x7, #-8]!
0xfd,0x8c,0x1f,0xf8 = str x29, [x7, #-8]!
0x05,0xfc,0x1f,0x3c = str b5, [x0, #-1]!
0x06,0xec,0x1f,0x7c = str h6, [x0, #-2]!
0x07,0xcc,0x1f,0xbc = str s7, [x0, #-4]!
0x08,0x8c,0x1f,0xfc = str d8, [x0, #-8]!
0x09,0x0c,0x9f,0x3c = str q9, [x0, #-16]!
0xfe,0x84,0x1f,0xf8 = str x30, [x7], #-8
0xfd,0x84,0x1f,0xf8 = str x29, [x7], #-8
0x05,0xf4,0x1f,0x3c = str b5, [x0], #-1
0x06,0xe4,0x1f,0x7c = str h6, [x0], #-2
0x07,0xc4,0x1f,0xbc = str s7, [x0], #-4
0x08,0x84,0x1f,0xfc = str d8, [x0], #-8
0x09,0x04,0x9f,0x3c = str q9, [x0], #-16
0xfd,0x84,0x40,0xf8 = ldr x29, [x7], #8
0xfe,0x84,0x40,0xf8 = ldr x30, [x7], #8
0x05,0x14,0x40,0x3c = ldr b5, [x0], #1
0x06,0x24,0x40,0x7c = ldr h6, [x0], #2
0x07,0x44,0x40,0xbc = ldr s7, [x0], #4
0x08,0x84,0x40,0xfc = ldr d8, [x0], #8
0x09,0x04,0xc1,0x3c = ldr q9, [x0], #16
0xe3,0x09,0x42,0x29 = ldp w3, w2, [x15, #16]
0xe4,0x27,0x7f,0xa9 = ldp x4, x9, [sp, #-16]
0xc2,0x0d,0x42,0x69 = ldpsw x2, x3, [x14, #16]
0xe2,0x0f,0x7e,0x69 = ldpsw x2, x3, [sp, #-16]
0x4a,0x04,0x48,0x2d = ldp s10, s1, [x2, #64]
0x4a,0x04,0x40,0x6d = ldp d10, d1, [x2]
0x02,0x0c,0x41,0xad = ldp q2, q3, [x0, #32]
0xe3,0x09,0x02,0x29 = stp w3, w2, [x15, #16]
0xe4,0x27,0x3f,0xa9 = stp x4, x9, [sp, #-16]
0x4a,0x04,0x08,0x2d = stp s10, s1, [x2, #64]
0x4a,0x04,0x00,0x6d = stp d10, d1, [x2]
0x02,0x0c,0x01,0xad = stp q2, q3, [x0, #32]
0xe3,0x09,0xc2,0x29 = ldp w3, w2, [x15, #16]!
0xe4,0x27,0xff,0xa9 = ldp x4, x9, [sp, #-16]!
0xc2,0x0d,0xc2,0x69 = ldpsw x2, x3, [x14, #16]!
0xe2,0x0f,0xfe,0x69 = ldpsw x2, x3, [sp, #-16]!
0x4a,0x04,0xc8,0x2d = ldp s10, s1, [x2, #64]!
0x4a,0x04,0xc1,0x6d = ldp d10, d1, [x2, #16]!
0xe3,0x09,0x82,0x29 = stp w3, w2, [x15, #16]!
0xe4,0x27,0xbf,0xa9 = stp x4, x9, [sp, #-16]!
0x4a,0x04,0x88,0x2d = stp s10, s1, [x2, #64]!
0x4a,0x04,0x81,0x6d = stp d10, d1, [x2, #16]!
0xe3,0x09,0xc2,0x28 = ldp w3, w2, [x15], #16
0xe4,0x27,0xff,0xa8 = ldp x4, x9, [sp], #-16
0xc2,0x0d,0xc2,0x68 = ldpsw x2, x3, [x14], #16
0xe2,0x0f,0xfe,0x68 = ldpsw x2, x3, [sp], #-16
0x4a,0x04,0xc8,0x2c = ldp s10, s1, [x2], #64
0x4a,0x04,0xc1,0x6c = ldp d10, d1, [x2], #16
0xe3,0x09,0x82,0x28 = stp w3, w2, [x15], #16
0xe4,0x27,0xbf,0xa8 = stp x4, x9, [sp], #-16
0x4a,0x04,0x88,0x2c = stp s10, s1, [x2], #64
0x4a,0x04,0x81,0x6c = stp d10, d1, [x2], #16
0xe3,0x09,0x42,0x28 = ldnp w3, w2, [x15, #16]
0xe4,0x27,0x7f,0xa8 = ldnp x4, x9, [sp, #-16]
0x4a,0x04,0x48,0x2c = ldnp s10, s1, [x2, #64]
0x4a,0x04,0x40,0x6c = ldnp d10, d1, [x2]
0xe3,0x09,0x02,0x28 = stnp w3, w2, [x15, #16]
0xe4,0x27,0x3f,0xa8 = stnp x4, x9, [sp, #-16]
0x4a,0x04,0x08,0x2c = stnp s10, s1, [x2, #64]
0x4a,0x04,0x00,0x6c = stnp d10, d1, [x2]
0x00,0x68,0x60,0xb8 = ldr w0, [x0, x0]
0x00,0x78,0x60,0xb8 = ldr w0, [x0, x0, lsl #2]
0x00,0x68,0x60,0xf8 = ldr x0, [x0, x0]
0x00,0x78,0x60,0xf8 = ldr x0, [x0, x0, lsl #3]
0x00,0xe8,0x60,0xf8 = ldr x0, [x0, x0, sxtx]
0x21,0x68,0x62,0x3c = ldr b1, [x1, x2]
0x21,0x78,0x62,0x3c = ldr b1, [x1, x2, lsl #0]
0x21,0x68,0x62,0x7c = ldr h1, [x1, x2]
0x21,0x78,0x62,0x7c = ldr h1, [x1, x2, lsl #1]
0x21,0x68,0x62,0xbc = ldr s1, [x1, x2]
0x21,0x78,0x62,0xbc = ldr s1, [x1, x2, lsl #2]
0x21,0x68,0x62,0xfc = ldr d1, [x1, x2]
0x21,0x78,0x62,0xfc = ldr d1, [x1, x2, lsl #3]
0x21,0x68,0xe2,0x3c = ldr q1, [x1, x2]
0x21,0x78,0xe2,0x3c = ldr q1, [x1, x2, lsl #4]
0xe1,0x6b,0x23,0xfc = str d1, [sp, x3]
0xe1,0x5b,0x23,0xfc = str d1, [sp, w3, uxtw #3]
0xe1,0x6b,0xa3,0x3c = str q1, [sp, x3]
0xe1,0x5b,0xa3,0x3c = str q1, [sp, w3, uxtw #4]
0x26,0x7c,0x5f,0x08 = ldxrb w6, [x1]
0x26,0x7c,0x5f,0x48 = ldxrh w6, [x1]
0x27,0x0d,0x7f,0x88 = ldxp w7, w3, [x9]
0x27,0x0d,0x7f,0xc8 = ldxp x7, x3, [x9]
0x64,0x7c,0x01,0xc8 = stxr w1, x4, [x3]
0x64,0x7c,0x01,0x88 = stxr w1, w4, [x3]
0x64,0x7c,0x01,0x08 = stxrb w1, w4, [x3]
0x64,0x7c,0x01,0x48 = stxrh w1, w4, [x3]
0xe2,0x18,0x21,0xc8 = stxp w1, x2, x6, [x7]
0x22,0x19,0x21,0x88 = stxp w1, w2, w6, [x9]
0xe4,0xff,0xdf,0x88 = ldar w4, [sp]
0xe4,0xff,0xdf,0xc8 = ldar x4, [sp]
0xe4,0xff,0xdf,0x08 = ldarb w4, [sp]
0xe4,0xff,0xdf,0x48 = ldarh w4, [sp]
0xc3,0xfc,0x9f,0x88 = stlr w3, [x6]
0xc3,0xfc,0x9f,0xc8 = stlr x3, [x6]
0xc3,0xfc,0x9f,0x08 = stlrb w3, [x6]
0xc3,0xfc,0x9f,0x48 = stlrh w3, [x6]
0xc3,0xfc,0x9f,0x88 = stlr w3, [x6]
0xc3,0xfc,0x9f,0xc8 = stlr x3, [x6]
0xe3,0xff,0x9f,0x08 = stlrb w3, [sp]
0xe3,0xff,0x9f,0x08 = stlrb w3, [sp]
0xe3,0xff,0x9f,0x08 = stlrb w3, [sp]
0x82,0xfc,0x5f,0x88 = ldaxr w2, [x4]
0x82,0xfc,0x5f,0xc8 = ldaxr x2, [x4]
0x82,0xfc,0x5f,0x08 = ldaxrb w2, [x4]
0x82,0xfc,0x5f,0x48 = ldaxrh w2, [x4]
0x22,0x98,0x7f,0x88 = ldaxp w2, w6, [x1]
0x22,0x98,0x7f,0xc8 = ldaxp x2, x6, [x1]
0x27,0xfc,0x08,0xc8 = stlxr w8, x7, [x1]
0x27,0xfc,0x08,0x88 = stlxr w8, w7, [x1]
0x27,0xfc,0x08,0x08 = stlxrb w8, w7, [x1]
0x27,0xfc,0x08,0x48 = stlxrh w8, w7, [x1]
0xe2,0x98,0x21,0xc8 = stlxp w1, x2, x6, [x7]
0x22,0x99,0x21,0x88 = stlxp w1, w2, w6, [x9]
0xab,0x83,0x5f,0xf8 = ldur x11, [x29, #-8]
0xab,0x73,0x40,0xf8 = ldur x11, [x29, #7]
0x00,0x20,0x40,0xb8 = ldur w0, [x0, #2]
0x00,0x00,0x50,0xb8 = ldur w0, [x0, #-256]
0x22,0xe0,0x5f,0x3c = ldur b2, [x1, #-2]
0x43,0x30,0x40,0x7c = ldur h3, [x2, #3]
0x63,0xc0,0x5f,0x7c = ldur h3, [x3, #-4]
0x83,0x30,0x40,0xbc = ldur s3, [x4, #3]
0xa3,0xc0,0x5f,0xbc = ldur s3, [x5, #-4]
0xc4,0x40,0x40,0xfc = ldur d4, [x6, #4]
0xe4,0x80,0x5f,0xfc = ldur d4, [x7, #-8]
0x05,0x81,0xc0,0x3c = ldur q5, [x8, #8]
0x25,0x01,0xdf,0x3c = ldur q5, [x9, #-16]
0xab,0x83,0x1f,0xf8 = stur x11, [x29, #-8]
0xab,0x73,0x00,0xf8 = stur x11, [x29, #7]
0x00,0x20,0x00,0xb8 = stur w0, [x0, #2]
0x00,0x00,0x10,0xb8 = stur w0, [x0, #-256]
0x22,0xe0,0x1f,0x3c = stur b2, [x1, #-2]
0x43,0x30,0x00,0x7c = stur h3, [x2, #3]
0x63,0xc0,0x1f,0x7c = stur h3, [x3, #-4]
0x83,0x30,0x00,0xbc = stur s3, [x4, #3]
0xa3,0xc0,0x1f,0xbc = stur s3, [x5, #-4]
0xc4,0x40,0x00,0xfc = stur d4, [x6, #4]
0xe4,0x80,0x1f,0xfc = stur d4, [x7, #-8]
0x05,0x81,0x80,0x3c = stur q5, [x8, #8]
0x25,0x01,0x9f,0x3c = stur q5, [x9, #-16]
0x23,0xf0,0x5f,0x38 = ldurb w3, [x1, #-1]
0x44,0x10,0x40,0x78 = ldurh w4, [x2, #1]
0x65,0xf0,0x5f,0x78 = ldurh w5, [x3, #-1]
0x86,0xf0,0xdf,0x38 = ldursb w6, [x4, #-1]
0xa7,0xf0,0x9f,0x38 = ldursb x7, [x5, #-1]
0xc8,0x10,0xc0,0x78 = ldursh w8, [x6, #1]
0xe9,0xf0,0xdf,0x78 = ldursh w9, [x7, #-1]
0x01,0x11,0x80,0x78 = ldursh x1, [x8, #1]
0x22,0xf1,0x9f,0x78 = ldursh x2, [x9, #-1]
0x43,0xa1,0x80,0xb8 = ldursw x3, [x10, #10]
0x64,0xf1,0x9f,0xb8 = ldursw x4, [x11, #-1]
0x23,0xf0,0x1f,0x38 = sturb w3, [x1, #-1]
0x44,0x10,0x00,0x78 = sturh w4, [x2, #1]
0x65,0xf0,0x1f,0x78 = sturh w5, [x3, #-1]