Blender Git Commit Log

Git Commits -> Revision 406d747

Revision 406d747 by Sebastian Parborg (master)
January 14, 2021, 16:32 (GMT)
Fix automated tests when building with GCC and march=native

When building with more aggressive optimization flags, GCC will add FMA
(Fused Multiply Add) instructions that will slightly alter the floating
point operation results.

This causes some automated tests to fail in blender.

In clang and the intel compiler ffp-contract is set to off per default
it seems from my research. (They do not have the exact same setting,
but the default seems to match the off behavior)

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D9047

Commit Details:

Full Hash: 406d74769597e318117ad5b3837e7283d9fd2aa5
Parent Commit: 9131c69
Lines Changed: +10, -1

2 Modified Paths:

/build_files/cmake/platform/platform_unix.cmake (+7, -1) (Diff)
/intern/cycles/CMakeLists.txt (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021