Wed, 18 Nov 2026 23:53:01 UTC Log in
Optimized integer division 595.42 KB built 2026-10-14 20:23:24 GMT

Description

This package contains a header-only C/C++ library for optimizing integer division. Integer division is one of the slowest instructions on most CPUs, e.g. on current x64 CPUs a 64-bit integer division has a latency of up to 90 clock cycles whereas a multiplication has a latency of only 3 clock cycles. libdivide allows you to replace expensive integer division instructions by a sequence of shift, add and multiply instructions that will calculate the integer division much faster. On current CPUs you can get a speedup of up to 10x for 64-bit integer division and a speedup of up to 5x for 32-bit integer division when using libdivide. libdivide also supports SSE2, AVX2, AVX512, NEON, and SVE vector division, which can provide an even larger speedup.

Dependencies

7 total
Requires6
  • cmake
  • cmake-rpm-macros
  • gcc-c++
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • libdivide-devel = 5.4.0-1.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots