diff options
Diffstat (limited to 'contrib/gcc/config/udivmodsi4.c')
-rw-r--r-- | contrib/gcc/config/udivmodsi4.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/contrib/gcc/config/udivmodsi4.c b/contrib/gcc/config/udivmodsi4.c deleted file mode 100644 index 83c2340c2f8b..000000000000 --- a/contrib/gcc/config/udivmodsi4.c +++ /dev/null @@ -1,24 +0,0 @@ -unsigned long -udivmodsi4(unsigned long num, unsigned long den, int modwanted) -{ - unsigned long bit = 1; - unsigned long res = 0; - - while (den < num && bit && !(den & (1L<<31))) - { - den <<=1; - bit <<=1; - } - while (bit) - { - if (num >= den) - { - num -= den; - res |= bit; - } - bit >>=1; - den >>=1; - } - if (modwanted) return num; - return res; -} |