Add SSE 4.1 sprite sorter
commit3f5289748d6d07484a8bd8be99f4d5602f407ab8
authorrubidium <rubidium@openttd.org>
Thu, 2 Jan 2014 16:48:16 +0000 (2 16:48 +0000)
committercirdan <cirdansw@gmail.com>
Mon, 10 Feb 2014 21:32:08 +0000 (10 22:32 +0100)
tree25d38b13adabe3377fee008f1c71dbfac78ab6a7
parent1f40cf5ed30fbe4e74f9f1cfa7d6d5ea19a6812b
Add SSE 4.1 sprite sorter

(openttd r26205) -Feature: SSE 4.1 sprite sorter, improving the
sorting performance significantly (MJP)

For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch
improves the performance of Pile, Treham and Hamac test save games
by about 10% in over-all run time at fast forward at 1920x1080 when
zoomed out and when trees are not disabled.
projects/openttd_vs100.vcxproj
projects/openttd_vs100.vcxproj.filters
projects/openttd_vs80.vcproj
projects/openttd_vs90.vcproj
source.list
src/openttd.cpp
src/viewport.cpp
src/viewport_sprite_sorter.h [new file with mode: 0644]
src/viewport_sprite_sorter_sse4.cpp [new file with mode: 0644]