added the profiler to the visual studio solution. also added preliminary cop1 (fpu) tables, ready for implementation

This commit is contained in:
ramapcsx2 2016-01-15 00:26:52 +01:00
parent 9bcd9f0a73
commit aafa333355
5 changed files with 49 additions and 1 deletions

View File

@ -101,6 +101,7 @@
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\x86emitter\bmi.cpp" />
<ClCompile Include="..\..\src\x86emitter\cpudetect.cpp" />
<ClCompile Include="..\..\src\x86emitter\fpu.cpp" />
<ClCompile Include="..\..\src\x86emitter\groups.cpp" />
@ -123,6 +124,7 @@
<ClCompile Include="..\..\src\x86emitter\WinCpuDetect.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\include\x86emitter\implement\bmi.h" />
<ClInclude Include="..\..\src\x86emitter\cpudetect_internal.h" />
<ClInclude Include="..\..\include\x86emitter\instructions.h" />
<ClInclude Include="..\..\include\x86emitter\internal.h" />

View File

@ -63,6 +63,9 @@
<ClCompile Include="..\..\src\x86emitter\WinCpuDetect.cpp">
<Filter>Source Files\Windows</Filter>
</ClCompile>
<ClCompile Include="..\..\src\x86emitter\bmi.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\x86emitter\cpudetect_internal.h">
@ -143,5 +146,8 @@
<ClInclude Include="..\..\include\x86emitter\implement\simd_shufflepack.h">
<Filter>Header Files\Implement_Simd</Filter>
</ClInclude>
<ClInclude Include="..\..\include\x86emitter\implement\bmi.h">
<Filter>Header Files\Implement</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -765,6 +765,7 @@
<ClInclude Include="..\..\x86\microVU_IR.h" />
<ClInclude Include="..\..\x86\microVU_Misc.h" />
<ClInclude Include="..\..\x86\microVU_Profiler.h" />
<ClInclude Include="..\..\x86\R5900_Profiler.h" />
<ClInclude Include="..\..\x86\sVU_Debug.h" />
<ClInclude Include="..\..\x86\sVU_Micro.h" />
<ClInclude Include="..\..\x86\sVU_zerorec.h" />

View File

@ -1311,6 +1311,9 @@
<ClInclude Include="..\..\CDVD\CompressedFileReaderUtils.h">
<Filter>System\ISO</Filter>
</ClInclude>
<ClInclude Include="..\..\x86\R5900_Profiler.h">
<Filter>System\Include</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\wxResources.rc">

View File

@ -96,7 +96,25 @@ enum class eeOpcode {
/*,*/ /*,*/ PEXCH , PCPYH ,
/*,*/ /*,*/ PEXCW , /*,*/
// ADD COP0/1 ??
// ADD COP0 ??
// "COP1"
MFC1, /* , */ CFC1, /* , */ MTC1, /* , */ CTC1 , /* , */
// "COP1 BC1"
BC1F, BC1T, BC1FL, BC1TL, /* , */ /* , */ /* , */ /* , */
// "COP1 S"
ADD_F, SUB_F, MUL_F, DIV_F, SQRT_F, ABS_F, MOV_F, NEG_F,
/* , */ /* , */ /* , */ /* , */ /* , */ /* , */ /* , */ /* , */
/* , */ /* , */ /* , */ /* , */ /* , */ /* , */ RSQRT_F, /* , */
ADDA_F, SUBA_F, MULA_F, /* , */ MADD_F, MSUB_F, MADDA_F, MSUBA_F,
/* , */ /* , */ /* , */ /* , */ CVTW, /* , */ /* , */ /* , */
MAX_F, MIN_F, /* , */ /* , */ /* , */ /* , */ /* , */ /* , */
CF_F, /* , */ CEQ_F, /* , */ CLT_F, /* , */ CLE_F, /* , */
// "COP1 W"
CVTS_F, /* , */ /* , */ /* , */ /* , */ /* , */ /* , */ /* , */
LAST
};
@ -181,6 +199,24 @@ static const char eeOpcodeName[][16] = {
/* , */ /* , */ "PEXCH" , "PCPYH" ,
/* , */ /* , */ "PEXCW" , /* , */
// "COP1"
"MFC1" , /* , */ "CFC1" , /* , */ "MTC1" , /* , */ "CTC1" , /* , */
// "COP1 BC1"
"BC1F" , "BC1T" , "BC1FL" , "BC1TL" , /* , */ /* , */ /* , */ /* , */
// "COP1 S"
"ADD_F" , "SUB_F" , "MUL_F" , "DIV_F" , "SQRT_F" , "ABS_F" , "MOV_F" , "NEG_F" ,
/* , */ /* , */ /* , */ /* , */ /* , */ /* , */ /* , */ /* , */
/* , */ /* , */ /* , */ /* , */ /* , */ /* , */ "RSQRT_F" , /* , */
"ADDA_F" , "SUBA_F" , "MULA_F" , /* , */ "MADD_F" , "MSUB_F" , "MADDA_F" , "MSUBA_F" ,
/* , */ /* , */ /* , */ /* , */ "CVTW" , /* , */ /* , */ /* , */
"MAX_F" , "MIN_F" , /* , */ /* , */ /* , */ /* , */ /* , */ /* , */
"C.F" , /* , */ "C.EQ" , /* , */ "C.LT" , /* , */ "C.LE" , /* , */
// "COP1 W"
"CVTS_F" , /* , */ /* , */ /* , */ /* , */ /* , */ /* , */ /* , */
"!"
};