mirror of
https://github.com/boostorg/math.git
synced 2026-01-28 07:22:12 +00:00
Remove register keyword: it's deprecated in C++11.
Fixes https://svn.boost.org/trac/boost/ticket/9639.
This commit is contained in:
@@ -51,11 +51,11 @@ inline double lanczos13m53::lanczos_sum<double>(const double& x)
|
||||
static_cast<double>(23531376880.41075968857200767445163675473L),
|
||||
static_cast<double>(0u)
|
||||
};
|
||||
register __m128d vx = _mm_load1_pd(&x);
|
||||
register __m128d sum_even = _mm_load_pd(coeff);
|
||||
register __m128d sum_odd = _mm_load_pd(coeff+2);
|
||||
register __m128d nc_odd, nc_even;
|
||||
register __m128d vx2 = _mm_mul_pd(vx, vx);
|
||||
__m128d vx = _mm_load1_pd(&x);
|
||||
__m128d sum_even = _mm_load_pd(coeff);
|
||||
__m128d sum_odd = _mm_load_pd(coeff+2);
|
||||
__m128d nc_odd, nc_even;
|
||||
__m128d vx2 = _mm_mul_pd(vx, vx);
|
||||
|
||||
sum_even = _mm_mul_pd(sum_even, vx2);
|
||||
nc_even = _mm_load_pd(coeff + 4);
|
||||
@@ -136,11 +136,11 @@ inline double lanczos13m53::lanczos_sum_expG_scaled<double>(const double& x)
|
||||
static_cast<double>(56906521.91347156388090791033559122686859L),
|
||||
static_cast<double>(0u)
|
||||
};
|
||||
register __m128d vx = _mm_load1_pd(&x);
|
||||
register __m128d sum_even = _mm_load_pd(coeff);
|
||||
register __m128d sum_odd = _mm_load_pd(coeff+2);
|
||||
register __m128d nc_odd, nc_even;
|
||||
register __m128d vx2 = _mm_mul_pd(vx, vx);
|
||||
__m128d vx = _mm_load1_pd(&x);
|
||||
__m128d sum_even = _mm_load_pd(coeff);
|
||||
__m128d sum_odd = _mm_load_pd(coeff+2);
|
||||
__m128d nc_odd, nc_even;
|
||||
__m128d vx2 = _mm_mul_pd(vx, vx);
|
||||
|
||||
sum_even = _mm_mul_pd(sum_even, vx2);
|
||||
nc_even = _mm_load_pd(coeff + 4);
|
||||
|
||||
Reference in New Issue
Block a user