aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-04-29 17:46:20 +0200
committerEric Botcazou <ebotcazou@adacore.com>2024-05-08 10:06:17 +0200
commit10e34aa5b1d23e1517f0ca5cfae3cac3b51a7a53 (patch)
tree1ec993e2da35d41caeb7f1575061601f8cb4e5e5 /gcc/cp
parentd826f7945609046f922732b138fb90795d5b1985 (diff)
downloadgcc-10e34aa5b1d23e1517f0ca5cfae3cac3b51a7a53.zip
gcc-10e34aa5b1d23e1517f0ca5cfae3cac3b51a7a53.tar.gz
gcc-10e34aa5b1d23e1517f0ca5cfae3cac3b51a7a53.tar.bz2
Minor tweaks to code computing modular multiplicative inverse
This removes the last parameter of choose_multiplier, which is unused, adds another assertion and more details to the description and various comments. Likewise to the closely related invert_mod2n, except for the last parameter. [changelog] * expmed.h (choose_multiplier): Tweak description and remove last parameter. * expmed.cc (choose_multiplier): Likewise. Add assertion for the third parameter and adds details to various comments. (invert_mod2n): Tweak description and add assertion for the first parameter. (expand_divmod): Adjust calls to choose_multiplier. * tree-vect-generic.cc (expand_vector_divmod): Likewise. * tree-vect-patterns.cc (vect_recog_divmod_pattern): Likewise.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions