Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9233: Suboptimal shift by multiples of 8 bits
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-24 19:02:05
#9233: Suboptimal shift by multiples of 8 bits
-------------------------------+----------------------------
Reporter: psiha | Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.54.0 | Severity: Optimization
Resolution: wontfix | Keywords:
-------------------------------+----------------------------
Comment (by johnmaddock):
Fixed in
https://github.com/boostorg/multiprecision/commit/cb1a41835f4566987b96c7a7034088e22d83f77b
It turns out that memmove is (very slightly) faster than moving whole
limbs so that's the preferred method when available.
Limbs are half the size of the largest available integers - so 32-bit for
msvc as there's no 128-bit integer support (unlike mingw for example).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9233#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC