summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-02 23:21:07 +0000
committerrubidium <rubidium@openttd.org>2014-01-02 23:21:07 +0000
commit78df732a7b7e987b66c85eeb243ce5e0dd59d3a6 (patch)
tree707ee4501df32a451227d3aed45b6680a4e910b0 /projects
parent71a81a87620b907dbf433647948d6263c30d1426 (diff)
downloadopenttd-78df732a7b7e987b66c85eeb243ce5e0dd59d3a6.tar.xz
(svn r26213) -Add: specialised non-animated SSE4 blitter (MJP)
With 32bpp base set about 40% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 8 and 1% of total run time
Diffstat (limited to 'projects')
-rw-r--r--projects/openttd_vs100.vcxproj2
-rw-r--r--projects/openttd_vs100.vcxproj.filters6
-rw-r--r--projects/openttd_vs80.vcproj8
-rw-r--r--projects/openttd_vs90.vcproj8
4 files changed, 24 insertions, 0 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj
index 95b3d0c90..dccd6adb2 100644
--- a/projects/openttd_vs100.vcxproj
+++ b/projects/openttd_vs100.vcxproj
@@ -1123,6 +1123,8 @@
<ClInclude Include="..\src\blitter\32bpp_simple.hpp" />
<ClCompile Include="..\src\blitter\32bpp_sse2.cpp" />
<ClInclude Include="..\src\blitter\32bpp_sse2.hpp" />
+ <ClCompile Include="..\src\blitter\32bpp_sse4.cpp" />
+ <ClInclude Include="..\src\blitter\32bpp_sse4.hpp" />
<ClCompile Include="..\src\blitter\32bpp_ssse3.cpp" />
<ClInclude Include="..\src\blitter\32bpp_ssse3.hpp" />
<ClCompile Include="..\src\blitter\8bpp_base.cpp" />
diff --git a/projects/openttd_vs100.vcxproj.filters b/projects/openttd_vs100.vcxproj.filters
index 326ba3da4..d40f97328 100644
--- a/projects/openttd_vs100.vcxproj.filters
+++ b/projects/openttd_vs100.vcxproj.filters
@@ -2598,6 +2598,12 @@
<ClInclude Include="..\src\blitter\32bpp_sse2.hpp">
<Filter>Blitters</Filter>
</ClInclude>
+ <ClCompile Include="..\src\blitter\32bpp_sse4.cpp">
+ <Filter>Blitters</Filter>
+ </ClCompile>
+ <ClInclude Include="..\src\blitter\32bpp_sse4.hpp">
+ <Filter>Blitters</Filter>
+ </ClInclude>
<ClCompile Include="..\src\blitter\32bpp_ssse3.cpp">
<Filter>Blitters</Filter>
</ClCompile>
diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
index fea983c83..cadc6a966 100644
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -3835,6 +3835,14 @@
>
</File>
<File
+ RelativePath=".\..\src\blitter\32bpp_sse4.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\blitter\32bpp_sse4.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\blitter\32bpp_ssse3.cpp"
>
</File>
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
index 1333456d5..04f1eec2d 100644
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -3832,6 +3832,14 @@
>
</File>
<File
+ RelativePath=".\..\src\blitter\32bpp_sse4.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\blitter\32bpp_sse4.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\blitter\32bpp_ssse3.cpp"
>
</File>