Commit Graph

100 Commits

Author SHA1 Message Date
unknown b890afe78b [RSP] some scope and spacing formatting clean-ups 2015-03-18 00:50:48 -04:00
zilmar 080f7dfc17 Update version Number:
Glide64: 2.0.0.4
Project64: 2.2.0.2
RSP: 1.7.0.12
Nrage: 1.7.0.12
2015-03-10 18:36:58 +11:00
unknown cb9f9e2b56 keeping $0 overwrite prevention to just the CPU interpreter loop
Tried my best to make sure I didn't miss any op-codes.  (Ctrl+F searching for "!= 0" and "== 0" throught the file shows me that I didn't.)  If I did miss any op-codes, it's no bug, just remaining extra unnecessary checking for zero.
2015-03-08 20:20:05 -04:00
unknown 1772f1467c Prevent remaining possibilities of overwriting $zero in RSP.
In the RSP, MFC0, MFC2, and CFC2 were all susceptible to overwriting $zero.  Some of us have tried waiting for some games to use handcoded assembly in an attempt to purposely overwrite $zero in their microcode (to throw off emulators), but so far what few occurrences there have been of this have not included using those 3 opcodes.  Since it was decided to centralize the security of register $zero in the main R4300 CPU, it was decided to do so in the RSP as well.
2015-03-08 20:17:18 -04:00
LegendOfDragoon 7f5aa6b521 Implement MMX version of VABS in RSP Recompiler 2015-03-01 03:39:14 -08:00
LegendOfDragoon b4dbc570a5 Small optimization to VSUB 2015-03-01 03:33:17 -08:00
LegendOfDragoon 9706484850 Small optimization to VADD 2015-03-01 03:31:57 -08:00
LegendOfDragoon 9bb8ca9b3c Small optimization to VMUDH 2015-03-01 03:25:41 -08:00
LegendOfDragoon 9e4f3d2e0f Small optimization to VMUDL 2015-03-01 03:18:17 -08:00
LegendOfDragoon fa4fcc9d93 Small optimization to VMULF 2015-03-01 03:07:16 -08:00
LegendOfDragoon 3b208a79cd Implement recompiler version of Cop2_CT 2015-03-01 02:59:10 -08:00
LegendOfDragoon bdce1a41ef Implement recompiler version of Cop2_CF 2015-03-01 01:52:46 -08:00
zilmar f5e36d8356 Merge pull request #146 from cxd4/yo_dawg_i_herd_u_liek_stdint
Redo pull request #92
2015-02-26 16:20:33 +11:00
no 51c18b755b included LB to apply to the last commit 2015-02-26 00:15:26 -05:00
no 76da145c2a declare and initialize all in one line 2015-02-26 00:02:38 -05:00
unknown c323eda4bb (RSP) exact size types for scalar unit emulation and signedness matching 2015-02-25 22:57:19 -05:00
unknown 39865b8025 type size cleanups to RSP memory emulation 2015-02-25 22:45:33 -05:00
unknown 637b022f40 Introduce portable, standard integer types to RSP CPU. 2015-02-25 22:21:43 -05:00
zilmar e51ec31e65 Update versions
Project64: 2.2.0.1
Glide64: 2.0.0.3
RSP: 1.7.0.11
Nrage: 2.4.0.1
RDB: 2.2.2
2015-02-22 19:43:15 +11:00
Emmet Young 783f2d0668 Slight mistake in Version.h for DLL's, was setting VFT_APP instead of VFT_DLL 2015-02-22 00:45:00 +11:00
zilmar 662e3efa27 Update project settings for visual studio 2013 2015-02-20 20:09:05 +11:00
zilmar 436888dd6b Update version numbers and create a package zip 2015-02-19 19:03:33 +11:00
zilmar 6be9e796ee Merge pull request #100 from LegendOfDragoon/master
Fix mistakes in IsNextInstructionMmx() and UseRspFlags()
2015-02-19 14:24:27 +11:00
LegendOfDragoon 8aa40e4119 Add some missing instructions to UseRspFlags()
This change should get rid of some message box popups when enabling Show
Compiler Errors.
2015-02-18 18:34:32 -08:00
LegendOfDragoon 36e5d8d353 Fix problem with IsNextInstructionMmx()
It's supposed to check the next instruction, which is PC, rather than
the current instruction which is CompilePC. This mistake is what caused
graphical errors in RE2.
2015-02-18 18:18:27 -08:00
zilmar 8a6c2b2555 RSP.vcproj: Remove some of the unused files 2015-02-19 08:15:06 +11:00
zilmar 5a288052b8 fix version string include 2015-02-18 07:47:41 +11:00
Emmet Young 4a8986d416 Hopefully add correct files for Visual Studio 2008 2015-02-17 21:07:15 +11:00
Emmet Young e540a7fdac Old common version.cpp and version.h is no longer required, remove it. 2015-02-17 21:00:44 +11:00
Emmet Young 7a6a22b8ec RSP Use Version.h version info in resource file 2015-02-17 20:45:57 +11:00
zilmar 975ec2dce8 Merge pull request #93 from cxd4/so_i_herd_u_liek_TargetName_and_TargetPath
Fix linker warning MSB8012 in VS2013 for RSP module.
2015-02-17 08:24:22 +11:00
unknown 5975976d82 matched VS2013 RSP rel to RSP dbg, glide rel and glide dbg 2015-02-16 15:41:04 -05:00
unknown d0c7798e08 removed unnecessary MFC dependencies from RCs 2015-02-13 12:09:02 -05:00
unknown 6b55726e59 unified RSP compiler N/A operand specifiers to a single macro 2015-02-02 15:10:54 -05:00
zilmar b10487ee07 Merge branch 'master' of https://github.com/project64/project64 2015-02-02 17:12:09 +11:00
LegendOfDragoon 0f1010379f Implement a quick fix for Instruction Reordering
Instruction Reordering broke Mia Hamm and possibly other games too. The
easiest way to fix the problem was to simply disable reordering for
specific cases that were never accounted for.
2015-01-31 17:23:43 -08:00
zilmar e116c9e692 Merge branch 'master' of https://github.com/project64/project64 2015-02-01 06:30:53 +11:00
zilmar 9eceed0fef #pull request 42 2015-02-01 06:27:27 +11:00
LegendOfDragoon 1741623482 Fixed some mistakes in GetInstructionInfo
Not only were certain instructions missing, but also some were in the
wrong place or had the wrong attributes.

Also VSUB needed to be added to IsNextInstructionMmx.
2015-01-31 04:35:43 -08:00
project64 15e389cbe2 Merge pull request #26 from LegendOfDragoon/master
Improve Recompiler Analysis for Vector Destination and Accumulators
2015-01-31 18:10:04 +11:00
zilmar 8e715efe44 Cleaned up some warnings in the rsp 2015-01-29 19:57:13 +11:00
project64 abca1bd56f Merge pull request #30 from cxd4/master
fixed 17 compiler warnings about RSP "nameless struct/union" cases
2015-01-29 14:45:54 +11:00
Nicholas 862eb7c48b Add support for Visual Studio 2013 2015-01-27 16:07:44 +11:00
unknown 5877daf7b3 isolated, nameless union in struct SHUFFLE, named union SHUFFLE 2015-01-25 14:22:18 -05:00
unknown 22f13e1739 offset operates w/ base; immediate operates w/ rs (fixes nothing) 2015-01-25 14:07:48 -05:00
unknown 66850bf553 isolated, nameless union in struct OPCODE, named union OPCODE
There were no other members of struct `tagOPCODE` besides one nameless union, so, to fix some nameless union compiler warnings, I deleted struct tagOPCODE and named the nameless union, union tagOPCODE.  Since "OpCode.h" is #include'd 9 times across the RSP source, technically this commit fixes 9 warning messages, even though it's really just 1 warning.
2015-01-25 13:58:12 -05:00
LegendOfDragoon ab30871f57 Improve Vector Destination Analysis
Some functions weren't implemented and others were implemented
incorrectly. There are more potential optimizations to implement for the
analysis.
2015-01-24 18:33:34 -08:00
LegendOfDragoon e8ad2bbc5e Add more instructions to Accumulator analysis
Some of these typos confused me when I enabled Show Compiler Errors.
2015-01-24 15:39:54 -08:00
unknown 5f9605ec04 Merge branch 'master' of https://github.com/project64/project64 2015-01-24 16:23:10 -05:00
unknown fd564c802a RSP recompiler cheating expects a RSP function address: p_func. 2015-01-24 16:21:39 -05:00