summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-02 23:17:01 +0000
committerrubidium <rubidium@openttd.org>2014-01-02 23:17:01 +0000
commit71a81a87620b907dbf433647948d6263c30d1426 (patch)
tree96fbb26f735cbf7dc29f289df0f133787379217a /projects
parentfb05674cb76e05d12763539ae3f8fd18414a6660 (diff)
downloadopenttd-71a81a87620b907dbf433647948d6263c30d1426.tar.xz
(svn r26212) -Add: specialised non-animated SSSE3 blitter (MJP)
With 32bpp base set about 35% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 6 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 4c46cdda7..95b3d0c90 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_ssse3.cpp" />
+ <ClInclude Include="..\src\blitter\32bpp_ssse3.hpp" />
<ClCompile Include="..\src\blitter\8bpp_base.cpp" />
<ClInclude Include="..\src\blitter\8bpp_base.hpp" />
<ClCompile Include="..\src\blitter\8bpp_optimized.cpp" />
diff --git a/projects/openttd_vs100.vcxproj.filters b/projects/openttd_vs100.vcxproj.filters
index 04ad15dcb..326ba3da4 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_ssse3.cpp">
+ <Filter>Blitters</Filter>
+ </ClCompile>
+ <ClInclude Include="..\src\blitter\32bpp_ssse3.hpp">
+ <Filter>Blitters</Filter>
+ </ClInclude>
<ClCompile Include="..\src\blitter\8bpp_base.cpp">
<Filter>Blitters</Filter>
</ClCompile>
diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
index ad3f6b8ca..fea983c83 100644
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -3835,6 +3835,14 @@
>
</File>
<File
+ RelativePath=".\..\src\blitter\32bpp_ssse3.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\blitter\32bpp_ssse3.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\blitter\8bpp_base.cpp"
>
</File>
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
index b6d47b154..1333456d5 100644
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -3832,6 +3832,14 @@
>
</File>
<File
+ RelativePath=".\..\src\blitter\32bpp_ssse3.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\blitter\32bpp_ssse3.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\blitter\8bpp_base.cpp"
>
</File>