mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 17:32:13 +00:00
792ac2fdf0
Affected functions: hlineasm4, vlineasm1, mvlineasm1, tvlineasm1. Optimizations: - declare all used variables as possibly const-qualified locals in each function. This removes unnecessary loads from memory in the loops. - rewrite "for (; cnt>=0; cnt--) {...}" to "cnt++; do {...} while (--cnt);" in the three last ones (yes, these function iterate cnt+1 times). This makes them functionally equivalent to the asm versions (madness ensues for cnt < 0) and allows the compiler to remove one 'test' instruction at the end of each loop. - in the translucence function, replace addition by ORing Observations (system: Core2 Duo Linux x86_64): With a 1680x1050 window fully covered by the respective type of wall (simple, masked, trans. masked), fps increases by 3-4 from the baseline of approx. 60. git-svn-id: https://svn.eduke32.com/eduke32@2405 1a8010ca-5511-0410-912e-c29ae57300e0 |
||
---|---|---|
.. | ||
Apple | ||
build | ||
eobj | ||
eobj_win | ||
installer | ||
obj | ||
obj_win | ||
psd | ||
rsrc | ||
samples | ||
source | ||
Windows | ||
backtrace.dll | ||
buildlic.txt | ||
ChangeLog | ||
ChangeLog.html | ||
eduke32.sln | ||
eduke32.vcproj | ||
eduke32.vcxproj | ||
eduke32.vcxproj.filters | ||
eduke32.vcxproj.user | ||
GNU.TXT | ||
libiconv2.dll | ||
libintl3.dll | ||
m32help.hlp | ||
MakeDistributions | ||
Makefile | ||
Makefile.common | ||
Makefile.deps | ||
Makefile.msvc | ||
names.h | ||
nedmalloc.dll | ||
osxbuild.sh | ||
SEHELP.HLP | ||
STHELP.HLP | ||
tiles.cfg |