summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2012-11-01 21:22:24 +0100
committerNiels M?ller <nisse@lysator.liu.se>2012-11-01 21:22:24 +0100
commit0bd32cb6888bb7c8793d61a3005875741b30eb00 (patch)
treeb547308d27243d715766d3c2a92a8bd46dab62b3 /mpn
parentdb6554c699c958505fe0449e43398e483b83bf42 (diff)
downloadgmp-0bd32cb6888bb7c8793d61a3005875741b30eb00.tar.gz
(mpn_hgcd2): Removed redundant loop exit tests in the single-precision loop.
Diffstat (limited to 'mpn')
-rw-r--r--mpn/generic/hgcd2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mpn/generic/hgcd2.c b/mpn/generic/hgcd2.c
index 0d91f13b8..a9894dab6 100644
--- a/mpn/generic/hgcd2.c
+++ b/mpn/generic/hgcd2.c
@@ -338,8 +338,6 @@ mpn_hgcd2 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl,
for (;;)
{
ASSERT (ah >= bh);
- if (ah == bh)
- break;
ah -= bh;
if (ah < (CNST_LIMB (1) << (GMP_LIMB_BITS / 2 + 1)))
@@ -369,8 +367,6 @@ mpn_hgcd2 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl,
}
subtract_a1:
ASSERT (bh >= ah);
- if (ah == bh)
- break;
bh -= ah;
if (bh < (CNST_LIMB (1) << (GMP_LIMB_BITS / 2 + 1)))