bug #936, patch 1.5/3: rename _FUSED_ macros to _SINGLE_INSTRUCTION_,

because this is what they are about. "Fused" means "no intermediate rounding
between the mul and the add, only one rounding at the end". Instead,
what we are concerned about here is whether a temporary register is needed,
i.e. whether the MUL and ADD are separate instructions.
Concretely, on ARM NEON, a single-instruction mul-add is always available: VMLA.
But a true fused mul-add is only available on VFPv4: VFMA.
This commit is contained in:
Benoit Jacob
2015-01-31 14:15:57 -05:00
parent 9f99f61e69
commit 340b8afb14
5 changed files with 18 additions and 18 deletions

View File

@@ -23,8 +23,8 @@ namespace internal {
#endif
#ifdef EIGEN_VECTORIZE_FMA
#ifndef EIGEN_HAS_FUSED_MADD
#define EIGEN_HAS_FUSED_MADD 1
#ifndef EIGEN_HAS_SINGLE_INSTRUCTION_MADD
#define EIGEN_HAS_SINGLE_INSTRUCTION_MADD 1
#endif
#endif