Commit Graph

27 Commits

Author SHA1 Message Date
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
c20af1aff1 [RSP] s/BOOL/Boolean 2016-02-14 13:49:47 -05:00
9ed9529cfe [RSP] Fix #include Rsp.h for file system case-sensitivity. 2016-02-11 03:04:45 -05:00
zilmar a228a9d1f9 line ends ? 2016-01-27 20:11:59 +11:00
LegendOfDragoon 36d491c989 Fix issue with STV in Vector Dest Analysis
STV can write to multiple registers, so it needs to do extra checking to
determine whether or not the destination register is used.
2015-11-30 20:40:01 -08:00
LegendOfDragoon b2f73ecb93 Optimize Vector Dest Analysis in RSP Recompiler
LPV, LUV, and LHV always write to an entire vector register, so it's
beneficial to account for that in Vector Destination Analysis.
2015-11-30 19:45:43 -08:00
toehead2001 923f6a485a "Project 64" -> "Project64" 2015-11-09 22:21:49 -07:00
unknown fcfad37360 [RSP] junk trailing whitespace cleanups 2015-06-19 13:09:24 -04:00
LegendOfDragoon 82f614ff2d Fix / Optimize RSP Accumulator Analysis
the & 0xFFC was missing, which caused it to return true when it should
have returned false. This means that LLE audio should be more optimized
now.

I also made it do delay slot, incase the delay slot instruction writes
to accumulator. Minor optimization here.

As for JAL, I made it do break instead of return FALSE because in Battle
For Naboo, it actually does come back and continue an existing
calculation. I think it is only an issue if you do a separate analysis
for the Low Accumulator and Mid/High Accumulators. It's still better to
be safe, just incase I or someone else actually implement a separate
analysis for the Accumulators later down the road.
2015-04-19 20:56:36 -07:00
LegendOfDragoon eda19cfc5e Fix regression in GetInstructionInfo
I previously made a commit to fix a reordering issue, but did not
realize it needed that COPO_MF_Instruction flag for branching. This
should fix the Ogre Battle issue.
2015-04-14 22:07:45 -07:00
LegendOfDragoon 7f5aa6b521 Implement MMX version of VABS in RSP Recompiler 2015-03-01 03:39:14 -08: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
unknown 6b55726e59 unified RSP compiler N/A operand specifiers to a single macro 2015-02-02 15:10:54 -05: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
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
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
Nicholas 1e1249903d Fix re order instructions for quake II with lle graphics 2015-01-25 08:07:38 +11:00
LegendOfDragoon 5df4a806b4 Optimized a few instructions
Optimized VOR for games like Perfect Dark
Implemented VNAND, VNOR, and VNXOR for recompiler
Minor change in SQV
2015-01-12 14:19:41 -08:00
LegendOfDragoon 1cb03b4120 Matched RSP interpreter more closely
I have only seen the edgecase for SQV happen when
IsRegConst(RSPOpC.base) == TRUE. Changing SQV fixed Telefoot / Mia Ham.

I optimized VAND, for games like Kirby64.
2015-01-12 11:43:07 -08:00
LegendOfDragoon 02fe2e7241 More Fixes
The possibility of the RSP instruction at address 0xFFC being JR was
never accounted for. This fixes Wave Race and Star Wars - Shadow of the
Empire.

The accumulator analysis was wrong, which broke games like Mario No
Photopie.
2015-01-11 19:49:04 -08:00
zilmar a05ff4f3c2 RSP: For Analysis, add flag ops and MF CP 0 2013-01-29 21:44:59 +11:00
zilmar 89bc4087ef updated zlib, Moved and cleaned up the project settings in to property sheets also cleaned up some warnings 2012-09-26 09:23:20 +10:00
zilmar c99c1d6a6f git-svn-id: https://localhost/svn/Project64/trunk@3 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-11-14 20:47:53 +00:00