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-apple-darwin21.6.0 64 cfarm104.cfarm.net-stat 1 1 arm64/applem1/gmp-mparam.h
armcortexa57-unknown-linux-gnu 64 cfarm117.cfarm.net-stat 1 1 arm64/cora57/gmp-mparam.h
power10-unknown-linux-gnu mode64 cfarm120.fsffrance.org-stat 1 1 powerpc64/mode64/p9/gmp-mparam.h
power8-unknown-linux-gnu mode64 gcc112.osuosl.org-stat 1 1 powerpc64/mode64/p8/gmp-mparam.h
power9-unknown-linux-gnu mode64 cfarm135.fsffrance.org-stat 1 1 powerpc64/mode64/p9/gmp-mparam.h
power9-unknown-linux-gnu mode64 gmp-p9.novalocal-stat 1 1 powerpc64/mode64/p9/gmp-mparam.h
ultrasparc-sun-solaris2.11 64 gcc-solaris11.fsffrance.org-stat 1   sparc64/gmp-mparam.h
z15-ibm-linux-gnu 64 lgentoo4.s390.dev.gentoo.org-stat 1 1 s390_64/z13/gmp-mparam.h
applem1-unknown-linux-gnu 64 localhost.fsffrance.org-stat 3 1 arm64/applem1/gmp-mparam.h
armxgene1-unknown-linux-gnu 64 cfarm185.fsffrance.org-stat 5 5 arm64/xgene1/gmp-mparam.h
power7-unknown-linux-gnu mode64 gcc110.osuosl.org-stat 5 5 powerpc64/mode64/p7/gmp-mparam.h
number of hosts: 11 med: 1 med: 1
cfg/meas avg: 0.96667 Table generated: 2024-12-21 22:49:04 (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-2024 Free Software Foundation
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.