Commit Graph

328 Commits

Author SHA1 Message Date
Denis Kopyrin 7d5c867bfd
Core: Fixed recompiler memory overrun for m_TestTimer (#2480) 2025-05-29 15:43:40 +09:30
zilmar 7eaf1c4ba3 Core: do not write back rt in CX86RecompilerOps::CompileLoadMemoryValue on exception 2025-02-21 11:13:54 +10:30
zilmar 5d21bf80b9 core: fix up missing exception check in CX86RecompilerOps::SPECIAL_DIV 2025-02-21 06:15:07 +10:30
zilmar fa57ce7fb8 core: make CX86RecompilerOps::SPECIAL_JALR handle 64bit PC 2025-02-20 13:25:44 +10:30
zilmar 5e029ecf6a Core: CX86RecompilerOps::CompileLoadMemoryValue some work on it generating an exception from invalid load address 2025-02-13 22:20:00 +10:30
zilmar bd38e7f2d6 Core: In CX86RecompilerOps::SPECIAL_JR store PC as 64bit 2025-02-13 22:15:20 +10:30
zilmar 9d28d9cf28 core: More work in making sure the Compiler sets 64bit PC 2025-02-13 16:29:25 +10:30
zilmar 1debcd1ca5 Core: In CX86RecompilerOps::CompileExit, make sure writing 64bit PC 2025-02-13 16:08:11 +10:30
zilmar 20f3e5e123 Core: In CX86RecompilerOps::COP1_S_CVT, CX86RecompilerOps::CompileCheckFPUResult32 set softfloat_exceptionFlags to the FPU exception value 2025-02-13 15:55:16 +10:30
zilmar a07f6eaf90 Core: In CX86RecompilerOps::COP0_MT update the count register when writing to Count 2025-02-13 12:24:20 +10:30
zilmar c7d8a70a4d Core: fix jump in CX86RecompilerOps::CompileSystemCheck 2024-12-27 09:02:37 +10:30
zilmar bfa3788562 Core: CX86RecompilerOps::COP1_D_Opcode fix return type of floating point register 2024-12-26 14:29:52 +10:30
zilmar 3c7e71adca Core: Fix up CX86RecompilerOps::COP1_D_Opcode for the registers it is using 2024-12-26 14:16:26 +10:30
zilmar fc79cb0344 Core: Add DwordLower for cvt.w 2024-12-26 09:35:07 +10:30
zilmar 7e74b98d5b Core: Fix up labels in CX86RecompilerOps::COP1_S_CVT 2024-12-19 21:59:42 +10:30
zilmar 57f278416e core: better handling of fpu registers with COP1_S_Opcode 2024-12-19 19:09:31 +10:30
zilmar 13a974e687 Core: in CX86RecompilerOps::COP1_CT ignore write to other registers 2024-12-19 09:58:30 +10:30
zilmar fba1c4bc3b Core: Fix up bug in CX86RecompilerOps::SPECIAL_AND 2024-12-19 09:57:25 +10:30
zilmar 473aeba2cf Core: Fix order of value in call to CMipsMemoryVM::SD_VAddr32 in recompiler 2024-12-12 21:22:32 +10:30
zilmar 5d64b3d920 Core: Better handling of Storing non 32bit values to non memory 2024-12-12 16:50:36 +10:30
zilmar 3164caf2d0 Core: allow Store/load ops be forced to 32bit version 2024-12-08 11:15:39 +10:30
zilmar 77cd679756 Core: Fix a bug in CX86RecompilerOps::SPECIAL_DIV 2024-12-05 17:05:52 +10:30
zilmar fc1210aac5 Core: Do not allow CX86RecompilerOps::SPECIAL_DSRL32 and CX86RecompilerOps::SPECIAL_DSRA32 to write to R0 2024-12-05 11:25:20 +10:30
zilmar 1e4ab04121 Core: Fix up CX86RecompilerOps::SPECIAL_DSUB when rd == rt 2024-12-05 11:06:42 +10:30
zilmar 04c1c3d024 Core: Fix up CX86RecompilerOps::SPECIAL_DADD 2024-12-05 10:03:45 +10:30
zilmar 1f3ef6d505 Core: CX86RecompilerOps::SPECIAL_NOR Ignore write to r0 2024-11-28 15:54:36 +10:30
zilmar 95015302d6 Core: Have CX86RecompilerOps::SPECIAL_XOR treat R0 as 64bit constant 2024-11-28 15:38:54 +10:30
zilmar a3c777ed84 Core: Have CX86RecompilerOps::SPECIAL_AND unmap the register on const write 2024-11-28 15:14:26 +10:30
zilmar 0de0bea07a Core: Ignore write in CX86RecompilerOps::SPECIAL_OR 2024-11-28 12:37:42 +10:30
zilmar 8d69671e93 Core: CX86RecompilerOps::ADDIU should not ignore when not 32bit mapped 2024-11-28 12:29:35 +10:30
zilmar 52d904702f Core: With CONST64 CX86RegInfo::WriteBackRegisters might not write the high 32bit correct 2024-11-28 11:39:41 +10:30
zilmar d5367d9291 Core: Better handling of SW with address not sign extended 2024-11-28 11:02:38 +10:30
zilmar fd05d9f42f core: if lwl or lwr, in CX86RecompilerOps::CompileLoadMemoryValue, make sure that we are loading rt 2024-11-21 21:33:42 +10:30
zilmar 5e1a40fffb Core: fix CX86RecompilerOps::CompileLoadMemoryValue Map_GPR_32bit when called from LWC1 2024-11-21 11:10:01 +10:30
zilmar 2ec9ed08a4 Core: Improve LW with address not sign extended test in recompiler 2024-11-14 17:02:18 +10:30
zilmar 97b2579b4b Core: Have the recompiler just deal with the Program Counter as 32bit 2024-11-07 17:05:16 +10:30
zilmar e419508c2b Core: On ExitReason_CheckPCAlignment make sure CompileSystemCheck is called 2024-11-07 12:13:28 +10:30
zilmar d06212e766 Core: CX86RecompilerOps::JAL stop double call to UpdateCounters 2024-11-07 11:05:55 +10:30
zilmar 905254615d Core: Change the handling of symbols inside asmjit usage 2024-10-31 06:50:17 +10:30
zilmar 17c501fa08 Core: clean up some code related to CompileStoreMemoryValue, like the exit method being an exception 2024-10-24 13:32:02 +10:30
zilmar 440894992a Core: remove the BreakPoint in handling ExitReason_CheckPCAlignment 2024-10-24 11:58:53 +10:30
zilmar 65ede5e3e8 Core: If jumping to an unaligned address then generate an exception 2024-10-24 10:31:48 +10:30
zilmar c39582b9ed Core: Make sure CX86RecompilerOps::SPECIAL_AND can not write to R0 2024-10-17 18:42:45 +10:30
zilmar 45e52e1d2a Core: in SPECIAL_SYSCALL, SPECIAL_BREAK only exit the block is the stage is PIPELINE_STAGE_NORMAL 2024-10-17 14:12:46 +10:30
zilmar 91f9cdaaa7 Core: Change the Program counter to be 64bit 2024-06-06 14:09:12 +09:30
zilmar 77ac4744a5 Core: Make sure fpu stack is being cleared 2024-05-23 11:52:58 +09:30
zilmar ec714cd90d Core: in CX86RecompilerOps::CompileCheckFPUResult64 protect RegPointer before Map_TempReg(asmjit::x86::eax) 2024-05-23 11:41:15 +09:30
zilmar 3baaa829de Core: Remove g_TLBLoadAddress, g_TLBStoreAddress global variables 2024-05-16 16:34:17 +09:30
zilmar 13bd420b2a Core: Sync FP status register in advanced block linking 2024-05-16 15:45:38 +09:30
zilmar 703a09d034 Core: Remove protecting memory option 2024-05-09 17:56:28 +09:30