Repo Added
|
Files
89
|
Badge
README BADGES
|
push
github
Disable FMA by default. Use -Ofma or jit.opt.start("+fma") to enable. See the discussion in the corresponding ticket for the rationale. (cherry picked from commit de2e1ca9d) For the modulo operation, the arm64 VM uses `fmsub` [1] instruction, which is the fused multiply-add (FMA [2]) operation (more precisely, multiply-sub). Hence, it may produce different results compared to the unfused one. This patch fixes the behaviour by using the unfused instructions by default. However, the new JIT optimization flag (fma) is introduced to make it possible to take advantage of the FMA optimizations. Sergey Kaplun: * added the description and the test for the problem [1]: https://developer.arm.com/documentation/dui0801/g/A64-Floating-point-Instructions/FMSUB [2]: https://en.wikipedia.org/wiki/Multiply%E2%80%93accumulate_operation Part of tarantool/tarantool#10709
5689 of 6029 branches covered (94.36%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
77 existing lines in 7 files now uncovered.21695 of 23430 relevant lines covered (92.59%)
2946872.62 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|