]> git.lizzy.rs Git - rust.git/commit
Auto merge of #84274 - nagisa:fix-simd, r=nikic
authorbors <bors@rust-lang.org>
Sun, 18 Apr 2021 14:39:34 +0000 (14:39 +0000)
committerbors <bors@rust-lang.org>
Sun, 18 Apr 2021 14:39:34 +0000 (14:39 +0000)
commitef8843428664c64a1681663f93f0dc4d2ce24276
treee02830a3cafd5e34a92b2a0faf1bbc965e154a7c
parentb021beeb6021d8885dc3f21e75a7f56502849633
parent487e27350a16e35f77ca471f368be3da28dac27c
Auto merge of #84274 - nagisa:fix-simd, r=nikic

Don't set fast-math for the SIMD operations we set it for previously

Instead of `fast-math`. `fast-math` implies things like functions not
being able to accept as an argument or return as a result, say, `inf`
which made these functions confusingly named or behaving incorrectly,
depending on how you interpret it. It seems that the intended behaviour
was to set a `afn` flag instead. In doing so we also renamed the
intrinsics to say `_approx` so that it is clear these are not precision
oriented and the users can act accordingly.

Fixes #84268