dhewm3/neo/idlib/math
Daniel Gibson 2521c3dfdb (Hopefully) better workaround for miscompiled cross products, #147
according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100839
the real compiler flag enabling this bullshit isn't
-fexpensive-optimizations but -ffp-contract=fast which for some(*)
reason is default in optimized builds.
I think it's best to disabled that optimization globally in case it
also breaks other code (I really don't want to spend several days to
hunt such an idiot bug again). I really doubt it makes any measurable
performance difference.
As https://twitter.com/stephentyrone/status/1399424911328874499 says
that clang might also enable this in the future (though to =on instead
of =fast which should be a bit saner but would still break our code),
just set this option for all GCC-ish compilers incl. clang.

(*) the reason of course is that GCC developers don't develop GCC for
    their users but to win idiotic SPEC benchmarks
2021-05-31 21:37:31 +02:00
..
Angles.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Angles.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Complex.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Complex.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Curve.h ID_MAYBE_INLINE for not-forced inlining 2020-01-11 16:15:34 +01:00
Extrapolate.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Interpolate.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Lcp.cpp ID_MAYBE_INLINE for not-forced inlining 2020-01-11 16:15:34 +01:00
Lcp.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Math.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Math.h math.h should #include sys/platform.h 2012-11-13 23:58:50 +01:00
Matrix.cpp Fix idMatX::IsOrthonormal() 2012-05-13 03:04:34 +02:00
Matrix.h Don't use memset in idMat6::Zero 2021-03-15 13:02:45 +02:00
Ode.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Ode.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Plane.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Plane.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Pluecker.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Pluecker.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Polynomial.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Polynomial.h Fix new[]/delete missmatches and memory leaks found by clang's ASAN 2015-12-17 18:11:03 +01:00
Quat.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Quat.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Random.h Remove usage of long type from idlib/ 2012-06-28 13:02:45 +02:00
Rotation.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Rotation.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Simd.cpp make idlib build with Visual Studio 14 2015-10-11 00:36:25 +02:00
Simd.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Simd_3DNow.cpp Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_3DNow.h Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_AltiVec.cpp Fix ppc64le build 2019-09-11 13:02:55 -01:00
Simd_AltiVec.h Fix ppc64le build 2019-09-11 13:02:55 -01:00
Simd_Generic.cpp Change another _WIN32 to _MSC_VER for MinGW 2011-12-22 12:32:39 +01:00
Simd_Generic.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Simd_MMX.cpp Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_MMX.h Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_SSE.cpp Disable broken idSIMD_SSE::UpSampleOGGTo44kHz() 2020-09-05 20:28:03 +02:00
Simd_SSE.h Disable broken idSIMD_SSE::UpSampleOGGTo44kHz() 2020-09-05 20:28:03 +02:00
Simd_SSE2.cpp Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_SSE2.h Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_SSE3.cpp Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Simd_SSE3.h Only compile msvc style asm with 32bit msvc 2012-07-06 01:06:57 +02:00
Vector.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Vector.h (Hopefully) better workaround for miscompiled cross products, #147 2021-05-31 21:37:31 +02:00