On Jun 28, 11:58 am, Jason Moxham <ja...@njkfrudils.plus.com> wrote:
> On Friday 25 June 2010 20:16:15 Jason Moxham wrote:
>
> > Hi
>
> > These cpu's also have no support from gcc , so again I think we should
> > certainly remove them
>
> > gmicro
> > i860
> > ibm032 or 032 or ROMP
> > uxp or xp fujitsu 32bit vector supercomputer
>
> > Note these are only entries in longlong.h , but as we want to get rid of it
> > someday , all the cpu types in it have to go somewhere or be removed.
>
> These have now been removed.
>
> Trac ticket 295 , I removed the old gcd stuff and associated functions , and
> there is one further point mentioned
> "Also, the function mpn_ngcd (in ngcd.h) seems to be a duplicate of mpn_gcd. I
> think we can probably get rid of it. "
>
> here is the diff between the two
>
> 2c2
> < mpn_ngcd (mp_ptr gp, mp_ptr ap, mp_size_t an, mp_ptr bp, mp_size_t n)
> ---> mpn_gcd (mp_ptr gp, mp_ptr ap, mp_size_t an, mp_ptr bp, mp_size_t n)
> 11a12
> >   {
> 12a14
> >   }
>
> 14c16
> <   init_scratch = MPN_NGCD_MATRIX_INIT_ITCH ((n+1)/2);
> --->   init_scratch = MPN_NGCD_MATRIX_INIT_ITCH (n-P_SIZE(n));
> 20a23,25
> >   if (scratch < MPN_NGCD_LEHMER_ITCH(n)) /* Space needed by Lehmer GCD */
> >     scratch = MPN_NGCD_LEHMER_ITCH(n);
>
> 48c53
> <       mp_size_t p = n/2;
> --->       mp_size_t p = P_SIZE(n);
>
> 71,72c76,81
> < #if 0
> <   /* FIXME: We may want to use lehmer on some systems. */
> ---
>
> >   if (ap[n-1] < bp[n-1])
> >     MP_PTR_SWAP (ap, bp);
>
> >   if (BELOW_THRESHOLD (n, GCD_THRESHOLD))
> >   {
>
> 77,80c86
> < #endif
> <
> <   if (ap[n-1] < bp[n-1])
> <     MP_PTR_SWAP (ap, bp);
> ---
>
> >   }
>
> So it look like gcd and ngcd are the same but with gcd has been updated to the
> latest thresholds , I think?
>
> Jason

I have removed the file mpn/ngcd and the associated function , so
ticket 295 is closed

Jason

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-de...@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to