Commit Graph

322 Commits

Author SHA1 Message Date
Julio C. Rocha 5c04839f5c Include <intrin.h> on MSVC 14.1 or greater. 2017-07-30 12:14:59 -07:00
Julio C. Rocha c3365f15ec Added missing include for x64 build. 2017-07-30 02:13:39 -07:00
zilmar 2ab41bb395 Remove VS2008 project files 2017-03-15 20:14:25 +11:00
zilmar 45a09a6aef Update version numbers 2017-03-15 19:29:11 +11:00
zilmar f94fa3a2f6 Update version numbers 2016-11-28 07:43:17 +11:00
zilmar b19277223b [Project64] Add header to rsp plugin 2016-10-03 10:57:07 +11:00
zilmar 8084a5d3b6 Update vesion script to get 2.3.1, and update minor verion in other plugins 2016-09-17 07:43:48 +10:00
LegendOfDragoon 400c466278 Improve Compile_Special_SLT
It is supposed to skip if rd = 0, not rt. Also optimized the code a bit.
2016-08-23 12:12:55 -07:00
LegendOfDragoon c29bff4353 Fix 2 typos I made in previous commits 2016-08-23 11:40:24 -07:00
LegendOfDragoon 7a5a0731bd Optimize SW in RSP Recompiler 2016-08-23 01:17:01 -07:00
LegendOfDragoon 3d8482f402 Implement MoveConstToN64Mem
Also fix typo in MoveConstHalfToN64Mem
2016-08-23 01:15:18 -07:00
LegendOfDragoon d7eba5bde0 Optimize SH in RSP Recompiler 2016-08-22 19:57:27 -07:00
LegendOfDragoon 22ae106c3a Implement MoveConstHalfToN64Mem 2016-08-22 16:26:27 -07:00
LegendOfDragoon 6e99abb50a Optimize SB in RSP Recompiler 2016-08-22 16:09:37 -07:00
LegendOfDragoon 7f468bd939 Implement MoveConstByteToN64Mem 2016-08-22 16:05:56 -07:00
LegendOfDragoon c239d3b74b Optimize ANDI in RSP Recompiler
Seems to be use often enough.
2016-08-22 13:12:34 -07:00
LegendOfDragoon 10260dbdc8 Optimize SLTI in RSP Recompiler
Mia Hamm benefits from this optimization.
2016-08-22 12:54:24 -07:00
zilmar e81e77a2cc [Build] Get projects building 2016-06-07 20:25:32 +10:00
738f0ddd01 resolved merge conflict with Source/RSP/Main.cpp 2016-06-05 11:10:22 -04:00
zilmar ac40f39269 Update version numbers 2016-06-05 17:22:42 +10:00
zilmar b8507e6b4b Merge pull request #1002 from cxd4/rsp-compiled-o_OOO
[RSP] Optimize compiling scalar whole selections.
2016-06-05 17:12:26 +10:00
purplemarshmallow d46a9bc55a correct SemaphoreExit 2016-03-20 20:06:39 +01:00
purplemarshmallow ca3eacab27 add new per-game settings to the PJ64 RSP
mfc0 exit count and semaphore exit
2016-03-20 17:12:13 +01:00
Nicholas 83490b75b6 [RSP] Fix linkage issue 2016-02-24 10:06:11 +11:00
6075a2f4a3 [RSP] Macro-out some more WIN32 UI-specific stuff. 2016-02-15 15:55:07 -05:00
b349f3c239 [RSP] Use the central EXPORT #define for spec funcs. 2016-02-15 15:10:49 -05:00
30aedd45ba [RSP] typo in re-compiler ops 2016-02-15 14:12:33 -05:00
3d7346239d [RSP] Optimize compiling scalar whole selections. 2016-02-15 13:39:28 -05:00
6eed5ce876 [RSP] fixed all BOOL/TRUE/FALSE errors 2016-02-14 14:01:49 -05:00
9c9ffeed06 [RSP] fixed a couple more case-sensitive header includes 2016-02-14 13:52:55 -05:00
c20af1aff1 [RSP] s/BOOL/Boolean 2016-02-14 13:49:47 -05:00
zilmar 89162c784e [RSP] Fix compile issues 2016-02-14 17:03:35 +11:00
zilmar 761ecedb4a Merge pull request #1000 from cxd4/umm-ya-dunno-wot-goes-here
[RSP] Attempt to typedef-out WIN32 types to custom standards?
2016-02-14 16:33:22 +11:00
zilmar 5b8ae661fb Merge pull request #999 from cxd4/rsp-dma-compiles
[RSP] Get Dma.c to compile without errors/warnings outside Windows.
2016-02-14 16:32:27 +11:00
zilmar 4004303854 Merge pull request #994 from cxd4/even-moar-rsp-things
[RSP] Get Main.cpp to start to compile outside of Windows.
2016-02-14 16:28:24 +11:00
1eb6dafd65 [RSP] Without MessageBox(), windows.h has no use here. 2016-02-13 16:42:58 -05:00
00cc4344d7 [RSP] Attempt to typedef-out WIN32 types to custom standards? 2016-02-13 15:14:44 -05:00
dd6a6fcc94 [RSP] dma.c: unresolved memcpy() 2016-02-13 15:01:41 -05:00
74b72ba294 [RSP] dma.c: Replace windows.h by using DisplayError(). 2016-02-13 14:58:42 -05:00
c8dc0478f0 [RSP] dma.c: Use standard integer types. 2016-02-13 14:33:16 -05:00
e20b80e65c [RSP] Try to introduce a new type for Booleans. 2016-02-11 20:15:19 -05:00
e14b9d5c58 [RSP] Try to use JunielKatarn's error paste to sync Main.cpp. 2016-02-11 17:23:50 -05:00
2a13b62d0f [RSP] Remove _WIN32-isms from body def. to AsciiToHex. 2016-02-11 17:00:30 -05:00
9b5f429a97 [RSP] Get Main.cpp to start to compile (no fatal errors). 2016-02-11 16:45:04 -05:00
a774c8c5fd [RSP] Main.cpp: Macro out #include requiring _WIN32. 2016-02-11 16:44:13 -05:00
2c5203c534 [RSP] s/opcode.h/OpCode.h 2016-02-11 16:42:40 -05:00
1be25ea698 [RSP] s/types/Types 2016-02-11 03:33:11 -05:00
39387f6ec0 [RSP] memory.h: Get rid of #include <windows.h>. 2016-02-11 03:31:24 -05:00
88289a4ebf [RSP] Match BOOL w/ int for ABI strictness. 2016-02-11 03:25:33 -05:00
41cf392840 [RSP] Substitute uint32_t for DWORD. 2016-02-11 03:23:15 -05:00
34ae28fdea [RSP] Replace HINSTANCE/HWND/etc. with void* to match PJ64. 2016-02-11 03:18:00 -05:00
9ed9529cfe [RSP] Fix #include Rsp.h for file system case-sensitivity. 2016-02-11 03:04:45 -05:00
zilmar 26cb3c98c3 [Project64] More line endings ? 2016-01-27 20:39:06 +11:00
zilmar a228a9d1f9 line ends ? 2016-01-27 20:11:59 +11:00
zilmar 3406831a49 [Project64] Make sure Common is in uppercase 2016-01-20 17:09:05 +11:00
Julio C. Rocha 7b2421884e Adjusted minimum toolset versions to VS2010 for VCXPROJ and PROPS files. 2015-12-07 21:15:53 -08:00
zilmar 3e4dd1cc23 Merge branch 'master' of https://github.com/project64/project64 2015-12-06 21:06:36 +11:00
zilmar a429a7fd08 [Project64] Create Project64-core 2015-12-06 21:05:39 +11:00
no f7b6767149 [RSP] Start using portable types in plugin header. 2015-12-04 17:24:15 -05:00
no 395f2a92dd #define EXPORT and CALL for cross-platform linkage. 2015-12-04 17:17:24 -05:00
zilmar e3b32c572d [Project64] Remove spaces from filename 2015-12-04 17:49:31 +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
zilmar 4f717d7a6f Merge pull request #722 from cxd4/in-ur-DWORDz-size_t-ing-ur-things
[RSP] Fixed all 64-bit GCC compile warnings.
2015-11-13 15:43:36 +11:00
toehead2001 923f6a485a "Project 64" -> "Project64" 2015-11-09 22:21:49 -07:00
unknown a53526163b fixed a couple remaining 64-bit pointer truncations 2015-10-30 16:08:18 -04:00
unknown 354cf1bf5d fixed x86 compiler address writes 2015-10-30 15:48:30 -04:00
unknown e7fed940de AddConstToX86Reg: pointer-to-int truncation fixed 2015-10-30 14:08:19 -04:00
unknown 69ebe1672b LeaSourceAndOffset: pointer-to-int truncation fixed 2015-10-30 13:27:02 -04:00
unknown fbc9b80270 MoveOffsetToX86reg 2015-10-30 00:02:20 -04:00
unknown 068811dc22 fixed SP DMA for pointer-to-integer casts 2015-10-29 22:54:29 -04:00
unknown 061f69b6f3 [RSP] Execute recompiler CPU without SEH for non-MSVC. 2015-10-29 21:52:48 -04:00
unknown ff904a0f3e [RSP] This memset() should be able to cause exceptions. 2015-10-29 21:51:26 -04:00
zilmar 3fcdae7d1c Merge pull request #716 from cxd4/mingw-float_h-bug
[RSP] adjust to unfortunate bug in GCC <float.h> header
2015-10-30 12:25:28 +11:00
unknown 72007f6e9f [RSP] adjust to unfortunate bug in GCC <float.h> header 2015-10-29 20:59:14 -04:00
unknown 1f7ab970e8 [RSP] Disable __cpuid() detection for non-MSVC compiles. 2015-10-29 20:48:31 -04:00
zilmar 3c64df1837 Merge pull request #714 from cxd4/msvc-_M_IX86-specific
[RSP] Disable MSVC-specific 32-bit-only code for non-MSVC.
2015-10-30 11:27:40 +11:00
unknown 1e395a9449 [RSP] Disable MSVC-specific 32-bit-only code for non-MSVC. 2015-10-29 20:23:36 -04:00
unknown 6a3fe2bfb6 Include <stdio.h> to fix one undeclared sprintf(). 2015-10-29 19:42:39 -04:00
unknown abb5578dbb Unconditionally include <stdio.h> to declare sprintf(). 2015-10-29 19:42:11 -04:00
zilmar df08dbc5c2 Merge pull request #663 from LegendOfDragoon/master
Improve LBV, LPV, LUV, and LHV in RSP Recompiler
2015-10-26 13:49:40 +11:00
unknown 0c93df4ec9 Use new `stdtypes.h` header added from commit 485613e. 2015-10-21 23:18:28 -04:00
LegendOfDragoon 0cefcf16fb Implement Recompiler version of LHV 2015-10-09 11:54:27 -07:00
LegendOfDragoon 221c4d1d4d Implement Recompiler version of LUV 2015-10-09 11:51:39 -07:00
LegendOfDragoon 0fca9e65a4 Implement Recompiler version of LPV 2015-10-09 11:49:03 -07:00
LegendOfDragoon 87dc96752d Implement Recompiler version of LBV 2015-10-09 11:39:46 -07:00
LegendOfDragoon d656af4068 Implement Recompiler version of VNE 2015-10-02 13:05:24 -07:00
LegendOfDragoon 67b4420097 Implement Recompiler version of VEQ 2015-10-02 13:02:03 -07:00
LegendOfDragoon c95d1598e4 Implement Recompiler version of VGE 2015-10-02 12:52:14 -07:00
LegendOfDragoon 9834665716 Implement Recompiler version of VLT 2015-10-02 12:37:27 -07:00
zilmar 142ed5b255 Merge pull request #627 from JunielKatarn/PropertySheetsTemp
Make solution files work with all versions of Visual Studio (2010+)
2015-09-30 10:56:26 +10:00
zilmar 83cffca119 Merge pull request #632 from cxd4/bad
`if` is not a function.
2015-09-30 10:55:28 +10:00
unknown fe442fca6e `if` is not a function.
fixes #628
2015-09-25 17:26:27 -04:00
LegendOfDragoon 7ea0dd0311 Improve Compile_Vector_VRSQH
RSP_ACCUM needs to be written to before RSP_Vect. Also optimized the
code for writing to RSP_ACCUM.
2015-09-25 05:00:41 -07:00
LegendOfDragoon 0102762456 Improve Compile_Vector_VRCPH
The issue is that it was writing to RSP_Vect before writing to
accumulator. Also removed minor overhead, since Recp.UHW[0] always = 0.
2015-09-25 04:45:00 -07:00
LegendOfDragoon aebc9fa8b0 Implement VRCPL in RSP Recompiler 2015-09-25 04:26:42 -07:00
LegendOfDragoon 97857ee3cd Implement VRCP in RSP Recompiler 2015-09-25 04:11:49 -07:00
LegendOfDragoon dc52573644 Implement x86 instruction Bsr 2015-09-25 03:50:47 -07:00
LegendOfDragoon 466c03e27d Ensure R0 cannot be written to in LHU 2015-09-24 15:33:07 -07:00
LegendOfDragoon 8bede83fd4 Ensure R0 cannot be written to in LBU 2015-09-24 15:31:45 -07:00