C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Multiprecision division

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 08 Aug 2025 08:48:26 -0700
On Friday, 8 August 2025 08:23:04 Pacific Daylight Time Tiago Freire via Std-
Proposals wrote:
> The amount of time a division takes to complete can vary depending on the
> input.

I don't know about other architectures, but on Intel processors, this will
also depend on the *sequence* of inputs. Each core has only one divider and
the divider cannot accept new operations at fixed interval, let alone every
cycle. Certain on-going divisions prevent it from accepting new input until
later in the operation.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Platform & System Engineering

Received on 2025-08-08 15:48:29