Commit Graph

249 Commits

Author SHA1 Message Date
zilmar 4a5ede2287 [Android] get CArmRecompilerOps::SPECIAL_JALR to use dynamic registers 2016-10-01 21:40:58 +10:00
zilmar 8f6ca9c15a [Android[ void CArmRecompilerOps::SPECIAL_JR() 2016-10-01 20:52:33 +10:00
zilmar 75fba4be38 [Android] get CArmRecompilerOps::LWC1 to use reg caching 2016-10-01 20:35:02 +10:00
zilmar b2ebefd767 [Android] fix CArmRecompilerOps::CACHE() 2016-10-01 20:33:17 +10:00
zilmar 047d8b6d84 [Android] Get CArmRecompilerOps::LB to use reg caching 2016-10-01 20:31:35 +10:00
zilmar 6e8b25ecf0 [Android] do not try to unmap reg 0 2016-10-01 20:24:42 +10:00
zilmar b427722113 [Android] Get CArmRecompilerOps::ADDI() to use register caching 2016-10-01 19:05:15 +10:00
zilmar aa241e61a0 [Android] fix CArmRecompilerOps::JAL 2016-10-01 18:40:12 +10:00
zilmar aa6f026e04 [Android] get CArmRecompilerOps::BGEZ_Compare to use reg caching 2016-10-01 18:39:06 +10:00
zilmar db65ab1ef0 [Android] Get CArmRecompilerOps::BLTZ_Compare to use reg caching 2016-10-01 18:38:03 +10:00
zilmar 189e3b25f7 [Android] Get CArmRecompilerOps::BLEZ_Compare to use register caching 2016-10-01 18:33:48 +10:00
zilmar ffd791404d [Android] get CArmRecompilerOps::BGTZ_Compare to use register caching 2016-10-01 18:27:02 +10:00
zilmar ff4093938f [Android] get CArmRecompilerOps::BEQ_Compare to use register caching 2016-10-01 18:16:11 +10:00
zilmar 71875c0d7b [Android] Get CArmRecompilerOps::BNE_Compare to use register caching 2016-10-01 18:12:46 +10:00
zilmar cf698d7076 [Android] Add CArmRegInfo::ResetRegProtection 2016-10-01 17:05:33 +10:00
zilmar 9c8e7309de [Android] Fix up CArmRegInfo::Map_TempReg 2016-10-01 16:55:06 +10:00
zilmar a0b3a02f5f [Android] Fix up CArmRegInfo::UnMap_ArmReg 2016-10-01 16:52:33 +10:00
zilmar 81ebd33304 [Android] Move CArmRegInfo::FreeArmReg and CArmRegInfo::UnMap_AllFPRs 2016-10-01 15:32:01 +10:00
zilmar 516985ba21 [Android] fix up CArmRegInfo::WriteBackRegisters 2016-10-01 15:27:34 +10:00
zilmar 512d2e7825 [Android] Add check for ShouldPushPopReg 2016-10-01 14:38:45 +10:00
zilmar ccf7f7feda [Android[ Add Map_GPR_64bit 2016-10-01 14:22:23 +10:00
zilmar 7701894ef0 [Android] Add Map_GPR_32bit 2016-10-01 13:21:02 +10:00
zilmar 74727e8e39 [Android] Add CArmRegInfo::FixRoundModel 2016-10-01 12:35:00 +10:00
zilmar 0cc9ae52b2 [Android] fix accident tempo 2016-10-01 11:45:06 +10:00
zilmar 1a16d46368 [Android] Get TestVariable to use temp registers 2016-10-01 11:44:21 +10:00
zilmar 5e7b18700d [Android] Get SubConstFromVariable to use temp registers 2016-10-01 11:42:26 +10:00
zilmar 05e19ef139 [Android] Fix StoreArmRegToArmRegPointer 2016-10-01 11:41:25 +10:00
zilmar 5367ffe728 [Android] Get PopArmReg to handle the other registers 2016-10-01 11:40:25 +10:00
zilmar b0f9a7773d [Android] Get PushArmReg to handle the rest of the registers 2016-10-01 11:37:50 +10:00
zilmar f41484339d [Android] Get MoveConstToVariable to use map temp 2016-10-01 11:33:28 +10:00
zilmar fbe89fd614 [Android] Get CompareArmReg to handle larger registers 2016-10-01 11:32:29 +10:00
zilmar f90c3d76e1 [Android] Add XorArmRegToArmReg 2016-10-01 10:54:23 +10:00
zilmar 338881c4ab [Android] Add XorArmRegToArmReg 2016-10-01 10:43:31 +10:00
zilmar 25954e657e [Android] Add XorConstToArmReg 2016-10-01 10:36:40 +10:00
zilmar 25e2125a63 [Android[ Add StoreArmRegToArmRegPointer 2016-10-01 10:35:31 +10:00
zilmar f9cf02ada0 [Android] Add SignExtendByte 2016-10-01 10:34:14 +10:00
zilmar cdba209aea ]Android] Add ShiftLeftImmed 2016-10-01 10:21:54 +10:00
zilmar 5f787d8540 [Android] Add ShiftRightUnsignImmed 2016-10-01 10:16:25 +10:00
zilmar 4174ec153b [Android] Add MulF32 2016-10-01 09:32:32 +10:00
zilmar c0802d11c7 [Android] Add OrArmRegToArmReg 2016-10-01 09:26:52 +10:00
zilmar 24973f49e2 [Android] Add MoveVariableToFloatReg 2016-10-01 09:21:40 +10:00
zilmar 51109ffe27 [Android] Add StoreFloatRegToArmRegPointer 2016-10-01 09:13:06 +10:00
zilmar 793f0e5cc4 [Android] Add LoadFloatingPointControlReg 2016-10-01 08:38:56 +10:00
zilmar 8e76c17ca1 [Android] Add LoadArmRegPointerToFloatReg 2016-10-01 08:22:19 +10:00
zilmar 4418985aa6 [Android] Add LoadArmRegPointerToArmReg 2016-10-01 08:00:18 +10:00
zilmar 46a724d9b7 [Android] Add LoadArmRegPointerByteToArmReg 2016-10-01 07:20:51 +10:00
zilmar bf56f9f626 [Android] get CompareArmRegToConst to take a uint32_t 2016-10-01 07:10:44 +10:00
zilmar ebf1ab63b8 [Android] Add another case to AddConstToArmReg 2016-10-01 06:43:43 +10:00
zilmar 4121511cf2 [Android] switch order of LoadArmRegPointerToArmReg 2016-10-01 06:42:18 +10:00
zilmar 6214abb248 [Android] Flip order of variables in MoveConstToArmReg 2016-10-01 06:36:49 +10:00
zilmar 93475500e2 [Android] Add mapping temp register 2016-10-01 05:58:04 +10:00
zilmar 8d836692a4 [Project64] Add map variable 2016-09-30 23:33:07 +10:00
zilmar c633124418 [Project64] Make sure ArmRegInfo.cpp can log 2016-09-29 22:20:06 +10:00
zilmar a5fee4f644 [Android] Add m_InCallDirect flag 2016-09-29 22:17:54 +10:00
zilmar bee1440813 [Android] fix up CArmOps::AddConstToArmReg 2016-09-29 22:15:33 +10:00
zilmar 17f740911c [Android] Add Arm32Opcode handling for AndArmRegToArmReg 2016-09-29 22:03:06 +10:00
zilmar b15a8b1fbc [Android] Add CArmOps::AddConstToArmReg 2016-09-29 21:59:18 +10:00
zilmar b175442aac [Android] Add Arm32Opcode handling for CArmOps::AddArmRegToArmReg 2016-09-29 21:58:10 +10:00
zilmar a8f2ce86f4 [Android] Arm: Add definition of fpu registers 2016-09-29 21:56:33 +10:00
zilmar bae7494a6f [Android] Add more opcode definitions 2016-09-29 21:54:12 +10:00
zilmar bc3bd4b146 [Project64] Fix CFunctionMap link issue 2016-09-29 21:03:23 +10:00
zilmar 6cfd981b7d [Android] Pre-allocate memory 2016-09-26 21:10:11 +10:00
zilmar b04a170f0e [Project64] Move Round model to RegBase 2016-09-25 08:29:45 +10:00
zilmar bf0674f62f [Project64] Add more ARM recompiler code 2016-08-12 23:49:03 +10:00
zilmar bb6f04b199 [Project64] Add asm_functions.S 2016-08-11 21:31:15 +10:00
zilmar 146ff34894 [Poject64] Add Arm recompiler 2016-08-11 21:09:21 +10:00
zilmar 268a88c812 [Project64] Fix up function address for arm thumb 2016-08-07 19:03:16 +10:00
zilmar 1e6c6ed707 [Project64] Some code clean up in RecompilerClass.cpp/h 2016-08-07 16:48:33 +10:00
zilmar 2d90bfbd20 [Project64] fix FixRoundModel for non win32 system 2016-08-07 16:43:26 +10:00
zilmar 70b174b160 [Project64] Remove CompileNow from CompileExit 2016-08-07 16:32:34 +10:00
zilmar ec0a027339 [Project64 tweak some changes in x86 recompiler 2016-08-07 16:26:29 +10:00
zilmar 9f10e7e0ca [Project64] Sync system in exit block 2016-07-20 22:33:29 +10:00
zilmar f5b4fae7fe [Project64] Use LinkJump 2016-07-20 22:31:34 +10:00
zilmar d1be767d24 [Project64] Move fpu used in to Reg Base 2016-07-20 22:22:56 +10:00
zilmar 1046540866 [Project64] Change text in CCodeBlock::Compile 2016-07-18 17:19:20 +10:00
zilmar d1a96067cb Merge pull request #1156 from Nekokabu/master
Add some of the 64DD Registers to SW_Const
2016-07-12 07:19:04 +10:00
Nekokabu 330ccd30aa Update x86RecompilerOps.cpp 2016-07-11 23:46:45 +09:00
Nekokabu 17aecea5e4 Update x86RecompilerOps.cpp
UnknownOpcode are comment out
2016-07-11 21:48:58 +09:00
Nekokabu 5ceea0f2c2 Add some of the 64DD Registers to SW_Const 2016-07-11 21:27:33 +09:00
zilmar 0743240985 Merge pull request #1153 from Nekokabu/master
Add 0x04600000-0x0460000C to LW.
2016-07-11 03:40:10 +10:00
Nekokabu c56814a3fc Update x86RecompilerOps.cpp 2016-07-09 20:28:37 +09:00
zilmar a141e72899 [Project64] Move ArmOpCode.h 2016-07-09 12:46:46 +10:00
zilmar 35c64e5d16 [Project64] Check g_DDRom in LW_KnownAddress 2016-07-07 21:25:11 +10:00
zilmar f09fcc47cd [Project64] Make sure the x86 recompiler code is used just on x86 2016-07-07 06:14:12 +10:00
zilmar 21c0518c4d [Project64] Get this call working for gcc 2016-07-06 20:44:28 +10:00
zilmar f4ae388721 [Project64] delete m_RecompilerOps as CX86RecompilerOps 2016-07-05 20:32:10 +10:00
zilmar 842d29e8bb [Project64] Move BeforeCallDirect and AfterCallDirect in to CX86RegInfo 2016-07-05 20:13:21 +10:00
zilmar 35f9e053b7 [Project64] Log opcode in PreCompileOpcode not in each op 2016-07-05 19:41:54 +10:00
zilmar 4fc1869a8c [Project64] Use m_Opcode directory on load ops 2016-07-04 21:51:30 +10:00
zilmar ca9a85241a [Project64] Fix call to setting to CDMA 2016-07-04 18:09:23 +10:00
zilmar 778caf78f0 [Project64] Get x86/x86RecompilerOps.cpp to use an base interface 2016-07-04 17:51:11 +10:00
zilmar cd0f305124 [Project64] Remove CRecompilerOps from CMipsMemoryVM 2016-07-03 20:17:45 +10:00
zilmar 433c76446b [Project64] Move more x86 code in to x86/x86RecompilerOps.cpp 2016-07-03 15:22:14 +10:00
zilmar 78b6f9cc66 [Project64] Change branch to use enum instead of callback 2016-06-30 19:11:46 +10:00
zilmar c8cd2914a6 {project64] Move compiling load/store instructions in to x86/x86RecompilerOps.cpp 2016-06-29 23:40:36 +10:00
zilmar 519ac09711 [project64] Make RecompPos a global 2016-06-28 21:22:30 +10:00
ca5dbf181d Fix unresolved g_RecompPos to name m_RecompPos. 2016-06-28 01:35:15 -04:00
zilmar 1e2cc8eb90 [Project64] Get x86ops to use a function not a macro 2016-06-28 06:12:04 +10:00
zilmar 00cf9eb14d [Project64] #include reginfo.h to JumpInfo.h 2016-06-28 04:15:12 +10:00
zilmar 78184ad32a [Project64] Code clean up of ExitInfo.h 2016-06-28 04:13:35 +10:00
zilmar b2bc2245d7 [Project64] Rename RegInfo.cpp to x86/x86/x86RegInfo.cpp 2016-06-27 21:49:15 +10:00
zilmar f544308495 [Project64] Rename x88ops.cpp to x86/x86ops.cpp 2016-06-27 20:54:53 +10:00
zilmar a931fff6bb [Project64] Rename RecompilerOps to x86/x86RecompilerOps.cpp 2016-06-27 20:31:18 +10:00
zilmar 11be52a917 [Project64] Rename x86CodeLog.cpp to RecompilerCodeLog.cpp 2016-06-27 17:26:35 +10:00
LegendOfDragoon dd581741d6 Implement COP1_D_ROUND_L in cpu recompiler 2016-05-22 23:47:02 -07:00
LegendOfDragoon de00171747 Implement COP1_S_ROUND_L in cpu recompiler 2016-05-22 23:28:07 -07:00
5ca3354acb unresolved vsprintf() 2016-04-21 00:30:26 -04:00
zilmar 1e222705e4 [Project64] Add platform.h to x86CodeLog.cpp 2016-04-20 19:16:02 +10:00
zilmar 9bcacfb8c3 [Project64] Remove windows.h from x86CodeLog.cpp 2016-04-20 07:57:43 +10:00
zilmar e8ab06fac3 [Project64] Get x86CodeLog to use Clog 2016-04-19 20:38:14 +10:00
zilmar 959a77dcde [Project64] Use setting to get log dir 2016-03-10 22:15:40 +11:00
luigiblood 03bd97c46b [Recompiler] Fix COP0_MT() Cause case
Results in 64DD IPL ROM fully working in Recompiler.
Thanks zilmar!
2016-01-28 23:59:53 +01:00
zilmar 8bf0902d33 [Projct64] Use real value for _RC_NEAR, _RC_CHOP, etc 2016-01-27 20:53:08 +11:00
zilmar 2d435936ec [Project64] Change DWORD to uint32_t in CRecompilerOps::SPECIAL_DADDU 2016-01-27 20:51:16 +11:00
zilmar a228a9d1f9 line ends ? 2016-01-27 20:11:59 +11:00
LegendOfDragoon 392d63a0de Fix regression in CRecompilerOps::SPECIAL_DADDU()
It should only add carry if GetMipsRegLo(source2) != 0
2016-01-23 02:18:08 -08:00
LegendOfDragoon 53baf6d792 Fix issue with SPECIAL_DADDU 2016-01-18 12:22:58 -08:00
zilmar 1dd05282d8 [Project64] Misc code clean up 2016-01-18 22:31:36 +11:00
zilmar 5dca0c80a5 [Project64] Use memory management code for RecompilerMemory.cpp 2016-01-18 22:30:01 +11:00
zilmar b8c00dd5fe [Project64] Remove #include <Objbase.h> from RecompilerClass.cpp 2016-01-18 22:28:38 +11:00
zilmar b173fbb642 [Project64] Remove windows.h from CodeSection.cpp 2016-01-18 22:04:49 +11:00
zilmar e212bee0a4 [Project64] Fix rounding code to compile on VS 2008 2016-01-18 05:44:19 +11:00
zilmar f87c2051b5 [Project64] Get the rounding code to use fesetround 2016-01-17 17:34:05 +11:00
zilmar c92922259a Merge pull request #879 from cxd4/more-concat-fixes
[core] Fix more incompatible string concatenations in CPU messages.
2016-01-14 13:49:23 +11:00
no 7bf9a23e28 Try using stdstr_f instead to concatenate inside DisplayError(). 2016-01-13 20:04:31 -05:00
zilmar 266b277a1d [Project64] Remove windows.h from FunctionMapClass.cpp 2016-01-14 08:38:54 +11:00
no 87376ec7b1 unknown string concatenation in DisplayError 2016-01-13 15:42:01 -05:00
no 7994f21868 unknown string concatentation in CPU_Message and stdstr_f 2016-01-13 15:36:46 -05:00
zilmar aea724b81a [Project64] Add stdafx.h 2016-01-13 22:53:48 +11:00
zilmar 51cc15687d [Project64] get headers to be full path 2016-01-13 22:15:30 +11:00
zilmar 0211680a16 [Project64] Needed to update CodeSection.cpp 2015-12-24 07:38:50 +11:00
zilmar 73549ee72f {Project64] Convert internal strings to be utf8 instead of utf16 2015-12-24 07:04:36 +11:00
no 83ab2996aa undeclared memset() 2015-12-21 15:28:53 -05:00
no 33bbd39b99 undeclared memset() 2015-12-21 15:26:44 -05:00
no b3a6b03fb9 undeclared sprintf() 2015-12-21 15:22:39 -05:00
no 6a18af08a3 undeclared sprintf() 2015-12-21 15:18:20 -05:00
no 9dab4b3bed undeclared memcpy() 2015-12-21 15:17:29 -05:00
zilmar 012e247514 [Project64] Remove __interface CMipsMemory_CallBack 2015-12-21 18:35:22 +11:00
zilmar f23ba48309 [Project64] Clean up LoopAnalysis.cpp 2015-12-21 18:26:51 +11:00
zilmar 6b07620b74 [Project64] Cleanup RecompilerOps.cpp 2015-12-21 18:24:16 +11:00
zilmar fcc3a0fa8b Merge branch 'master' of https://github.com/project64/project64 2015-12-21 17:01:51 +11:00
no c1d80674fe s/common/Common 2015-12-19 18:57:27 -05:00
zilmar 5c27d6d1e8 [Project64] rename tofix to legacycode 2015-12-15 17:01:06 +11:00
zilmar 95a3319735 [Project64] Update logging system to use module and severity 2015-12-14 21:51:33 +11:00
zilmar b4a3516654 [Project64] Clean up RecompilerMemory.cpp 2015-12-13 19:26:41 +11:00
zilmar c3a9525006 [Project64] Cleanup RecompilerClass.cpp 2015-12-13 18:52:22 +11:00
zilmar 17b24f299f [Project64] Get Breakpoint to use char * instead of wchar_t * for filename 2015-12-09 22:37:58 +11:00
zilmar 65ebd6ff55 [Project64] Clean up X86ops.cpp 2015-12-09 22:26:58 +11:00
zilmar a429a7fd08 [Project64] Create Project64-core 2015-12-06 21:05:39 +11:00