mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Add TODO to cleanup FMA cost modelling.
This commit is contained in:
parent
6de5ed08d8
commit
591a554c68
@ -259,6 +259,7 @@ struct functor_traits<scalar_erf_op<Scalar> > {
|
||||
Cost =
|
||||
(PacketAccess
|
||||
#ifdef EIGEN_VECTORIZE_FMA
|
||||
// TODO(rmlarsen): Move the FMA cost model to a central location.
|
||||
// Haswell can issue 2 add/mul/madd per cycle.
|
||||
// 10 pmadd, 2 pmul, 1 div, 2 other
|
||||
? (2 * NumTraits<Scalar>::AddCost +
|
||||
|
Loading…
Reference in New Issue
Block a user