Improve performance of MIC exponential
authorErik Lindahl <erik@kth.se>
Wed, 9 Jul 2014 19:14:29 +0000 (21:14 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 10 Sep 2014 23:00:36 +0000 (01:00 +0200)
commit7df930ee2e1d3bac7d080dfd994417c47fec94db
tree85ec165a065934e89749c119ac814b560d3d8f4e
parentb2b75d45c43c98cf1362e0125381bfc6f0a85782
Improve performance of MIC exponential

The limited precision is due to argument scaling
rather than the exponential function lookup, so
instead of iterating we can improve the accuracy
with a simple correction step, similar to what
was done for the recent AVX-512ER implementation.

Change-Id: If55e7c4cefac5022e7211dfa56686cb9ee03a54a
src/gromacs/simd/impl_intel_mic/impl_intel_mic.h