GMP «Arithmetic without limitations» HGCD2_DIV1_METHOD



  1. Limb division instruction (or libcall)
  2. Full bit-wise division without branches
  3. Branch-reduced code with straight line code for q < 8, else limb division instruction
  4. Extract NBITS high bits from dividend and corresponding bits from divisor, forming an index to a precomputed quotients table.
  5. Extract NBITS high bits from the divisor, forming an index to a precomputed inverses table.


host type abi host name meas
thres
conf
thres
cfg file
applem1-unknown-linux-gnu 64 localhost.fsffrance.org-stat 1 1 arm64/applem1/gmp-mparam.h
power10-unknown-linux-gnu mode64 cfarm120.fsffrance.org-stat 1 1 powerpc64/mode64/p9/gmp-mparam.h
z15-ibm-linux-gnu 64 lgentoo4.s390.dev.gentoo.org-stat 1 1 s390_64/z13/gmp-mparam.h
number of hosts: 3 med: 1 med: 1
cfg/meas avg: 1.00000 Table generated: 2025-02-22 22:49:01 (UTC)


  configured thresholds are up in the sky
  configured thresholds get a green light
  configured thresholds are down in the mud


Please send comments about this page to gmp-discuss at gmplib.org
Copyright 2000-2025 Free Software Foundation
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.