mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 20:56:00 +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 =
|
Cost =
|
||||||
(PacketAccess
|
(PacketAccess
|
||||||
#ifdef EIGEN_VECTORIZE_FMA
|
#ifdef EIGEN_VECTORIZE_FMA
|
||||||
|
// TODO(rmlarsen): Move the FMA cost model to a central location.
|
||||||
// Haswell can issue 2 add/mul/madd per cycle.
|
// Haswell can issue 2 add/mul/madd per cycle.
|
||||||
// 10 pmadd, 2 pmul, 1 div, 2 other
|
// 10 pmadd, 2 pmul, 1 div, 2 other
|
||||||
? (2 * NumTraits<Scalar>::AddCost +
|
? (2 * NumTraits<Scalar>::AddCost +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user