1
0
forked from 0ad/0ad
0ad/source/simulation2
Ykkrosh d252e245ef Optimise fixed multiplies on MSVC x86
On MSVC, casting i32 to i64 then multiplying gets compiled into a call
to __allmul, which is slow. Use the __emul intrinsic instead.

GCC 4.6+ appears optimise this case automatically and doesn't need any
special handling.

This reduces the cost of ComputeShortPath by about 50% (testing AI vs AI
on Oasis 01).

This was SVN commit r13873.
2013-09-20 20:17:54 +00:00
..
components Optimise fixed multiplies on MSVC x86 2013-09-20 20:17:54 +00:00
docs Updates example component documentation 2013-02-26 19:58:51 +00:00
helpers Better fix of Grid memory leak, refs #1842 2013-09-18 01:21:36 +00:00
scripting Implements Vision/Range tech modification 2012-09-24 22:27:32 +00:00
serialization Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
system Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
tests Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
MessageTypes.h As per ticket #1707. Some minor improvements to spatial subdivision. Makes way for future changes in RangeManager. 2013-09-15 14:03:53 +00:00
Simulation2.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
Simulation2.h Added elapsed real time (as opposed to elapsed simulation time) to MT_Interpolate messages. Fixes leftover TODO from #824. Refs #824. 2012-06-06 19:37:03 +00:00
TypeList.h AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI. 2013-03-05 22:52:48 +00:00