From 705ace6f0a6722dff15dd7edfc77e162dd295b58 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Fri, 22 May 2015 11:39:08 +0100 Subject: [PATCH] Naming consistency --- src/util/hwf.cpp | 2 +- src/util/hwf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/hwf.cpp b/src/util/hwf.cpp index b159cbdb6..ff92d57d0 100644 --- a/src/util/hwf.cpp +++ b/src/util/hwf.cpp @@ -306,7 +306,7 @@ void hwf_manager::div(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf & #pragma fp_contract(on) #endif -void hwf_manager::fused_mul_add(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf const &z, hwf & o) { +void hwf_manager::fma(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf const &z, hwf & o) { // CMW: fused_mul_add is not available on most CPUs. As of 2012, only Itanium, // Intel Sandybridge and AMD Bulldozers support that (via AVX). diff --git a/src/util/hwf.h b/src/util/hwf.h index 9059869a0..97b4133f7 100644 --- a/src/util/hwf.h +++ b/src/util/hwf.h @@ -105,7 +105,7 @@ public: void mul(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf & o); void div(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf & o); - void fused_mul_add(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf const &z, hwf & o); + void fma(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf const &z, hwf & o); void sqrt(mpf_rounding_mode rm, hwf const & x, hwf & o);