diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-02-18 16:42:35 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-02-18 16:42:35 +0300 |
commit | 003a97e0bf509c7eb8b1ae6bdc3f26976d514ab2 (patch) | |
tree | db0a0ec6950e4241fa9f3dcbf3dfd7b53e54c9e5 /intern/cycles/bvh/bvh_embree.cpp | |
parent | ad9b91996209f76bb3658afeba426ecd3e8243e7 (diff) |
Cycles: Fix failing avxf cross test on AVX2
cycles_util_avxf_avx2_test failed on the cross test, since
it wasn't immediately clear why, the test was disabled.
After looking into it, this test when build for AVX2 is
generating FMA instructions where the intermediate results
have "infinite" precision [1] leading to slightly different
results.
This diff re-enables the cross test and allows for a small error
in the results.
[1] https://www.felixcloutier.com/x86/vfmadd132ps:vfmadd213ps:vfmadd231ps
Differential Revision: https://developer.blender.org/D6873
Reviewers: brecht
Diffstat (limited to 'intern/cycles/bvh/bvh_embree.cpp')
0 files changed, 0 insertions, 0 deletions