C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Modular integers

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 14 Jan 2026 06:59:59 -0800
On Wednesday, 14 January 2026 06:41:44 Pacific Standard Time Hans Ã…berg via
Std-Proposals wrote:
> For example, all 2-by-2 divisions take up roughly the same time, whereas
> there is a big difference in the LLVM binary division, depending on how
> many shifts it has to do.

Please submit a bug report to LLVM to improve their implementation, so it is
as fast as yours in the hardware where yours is faster.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2026-01-14 15:00:11