JitCommon: Signed 32-bit division magic constants

Add a function to calculate the magic constants required to optimize
signed 32-bit division.

Since this optimization is not exclusive to any particular architecture,
JitCommon seemed like a good place to put this.
This commit is contained in:
Sintendo
2021-03-03 23:48:28 +01:00
parent c9adc60d73
commit 5bb8798df6
6 changed files with 121 additions and 0 deletions

View File

@ -68,6 +68,7 @@
<ClCompile Include="Core\IOS\FS\FileSystemTest.cpp" />
<ClCompile Include="Core\MMIOTest.cpp" />
<ClCompile Include="Core\PageFaultTest.cpp" />
<ClCompile Include="DivUtilsTest.cpp" />
<ClCompile Include="FileUtil.cpp" />
<ClCompile Include="VideoCommon\VertexLoaderTest.cpp" />
<ClCompile Include="StubHost.cpp" />