5 Commits

Author SHA1 Message Date
Ben Russell (300178622)
4671de094f ADDED VERSIONING, models should no longer be visible through walls 2012-12-19 21:53:34 +13:00
John Ericson
901a6d6a20 shrunk code, mostly uses gcc vector generic built-ins
- This is more reliable with regard to random compiler errors and deprecation.
 - This also opens up the door for supporting SIMD on other architectures, or openCL

Conflicts:
	src/vecmath.c
2012-12-18 04:21:22 -05:00
John Ericson
709caae5a2 assembly converted to compiler intrinsic builtins.
vec4f.m in common.h changed from "__m128" to "float __attribute__ ((vector_size (16)))"
All the built-ins use gcc names except for moveaps, which is intel's _mm_store_ps.
2012-12-18 04:11:02 -05:00
John Ericson
cdb9c4d306 Switched matrix_t to be column-major, this is better for optimization,
got some inline assmembly from http://www.cortstratton.org/articles/HugiCode.html#bm5 and hacked it into gcc extended-inline
gcc doesn't like it, so I will redo it with built-ins next commit. This is just for reference.
2012-12-18 01:52:20 -05:00
Ben Russell (300178622)
36f5738c33 src is better than source 2012-12-18 16:41:35 +13:00