rikusalminen/threedee-simd
View on GitHub ↗ ★ 45 C
3d math with C and SIMD intrinsics
9 mentions on Hacker News by 2 people: 0 stories, 9 comments · first 2012-09-14 · latest 2018-06-11
20082026
-
…s://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html [1] https://glm.g-truc.net/0.9.9/index.html [2] https://github.com/rikusalminen/threedee-simd
comment by exDM69 · 2018-06-11 · in 2D or not 2D (in the C++ Standard) – that is the question -
…used math libs like glm) [0] https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html#Ve... [1] https://github.com/rikusalminen/threedee-simd
comment by exDM69 · 2016-04-04 · in SSE: mind the gap -
…multiplication routines I've written (the mmmul functions). Depends on your cpu which is fastest. https://github.com/rikusalminen/threedee-simd/blob/master/in...
comment by exDM69 · 2016-01-04 · in A perspective on friendly C -
…that's only C (and basically mostly SSE), I tend to use a personal fork of this for my toy games: https://github.com/rikusalminen/threedee-simd The simplicity is what gets to me: vcross(v1, v2) * v3 (with gcc/clangs vector extensions)…
comment by aktau · 2014-11-14 · in Google's MathFu: a x-platform geometry math library for C++ -
…(The vector extensions allow +,-,*,/,<,>,==,!= to be naturally used for SIMD types) [2]: https://github.com/rikusalminen/threedee-simd
comment by aktau · 2014-04-09 · in .NET JIT and SIMD are getting married -
…written in this style (I'm almost sure he was in fact referring to this in his earlier posts): https://github.com/rikusalminen/threedee-simd
comment by aktau · 2014-04-04 · in Don't use assembly unless you're an expert -
…and keeping live values in registers from one function to another. Here's my SIMD math lib: https://github.com/rikusalminen/threedee-simd
comment by exDM69 · 2013-04-26 · in Practical Cross Platform SIMD Math -
…vec4 sum = s1 + s1.zwxy; // sum = sum of v More practical examples, related to 3d graphics: https://github.com/rikusalminen/threedee-simd
comment by exDM69 · 2013-02-19 · in Hello. I'm a compiler -
…{ vec4 temp = v + v.yxzw; return temp + temp.zwxy; // did I get this right? } Practical examples: https://github.com/rikusalminen/threedee-simd (work in progress) Requires this: http://gruntthepeon.free.fr/ssemath/
comment by exDM69 · 2012-09-14 · in The most useful GCC options and extensions