Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion MPIR-2.3.0 released

Received: by 10.216.154.196 with SMTP id h46mr275500wek.9.1301425901987;
        Tue, 29 Mar 2011 12:11:41 -0700 (PDT)
X-BeenThere: mpir-devel@googlegroups.com
Received: by 10.216.60.205 with SMTP id u55ls5727wec.1.p; Tue, 29 Mar 2011
 12:11:41 -0700 (PDT)
Received: by 10.216.145.24 with SMTP id o24mr14149wej.1.1301425900878;
        Tue, 29 Mar 2011 12:11:40 -0700 (PDT)
Received: by 10.216.145.24 with SMTP id o24mr14148wej.1.1301425900853;
        Tue, 29 Mar 2011 12:11:40 -0700 (PDT)
Return-Path: <ja...@njkfrudils.plus.com>
Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36])
        by gmr-mx.google.com with ESMTPS id q45si619698weh.8.2011.03.29.12.11.39
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 29 Mar 2011 12:11:39 -0700 (PDT)
Received-SPF: neutral (google.com: 212.159.7.36 is neither permitted nor denied by best guess record for domain of ja...@njkfrudils.plus.com) client-ip=212.159.7.36;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.159.7.36 is neither permitted nor denied by best guess record for domain of ja...@njkfrudils.plus.com) smtp.mail=ja...@njkfrudils.plus.com
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqkHAIwtkk3Unw4T/2dsb2JhbACYTo0Bd8R8hWoEkFY
Received: from outmx04.plus.net ([212.159.14.19])
  by relay.ptn-ipout02.plus.net with ESMTP; 29 Mar 2011 20:11:39 +0100
Received: from [91.125.144.227] (helo=nehalem.localnet)
	 by outmx04.plus.net with esmtp (Exim) id 1Q4eKI-0001l0-Tc
	for mpir-devel@googlegroups.com; Tue, 29 Mar 2011 20:11:39 +0100
From: Jason <ja...@njkfrudils.plus.com>
To: mpir-devel@googlegroups.com
Subject: Re: [mpir-devel] MPIR-2.3.0 released
Date: Tue, 29 Mar 2011 20:11:46 +0100
User-Agent: KMail/1.13.3 (Linux/2.6.33.4; KDE/4.4.3; x86_64; ; )
References: <201103040748.06703.jason@njkfrudils.plus.com> <AANLkTikv9NLvaZqZo1PhFdjPtR3DWjntTTA=f_uuenov@mail.gmail.com> <201103192335.40271.jason@njkfrudils.plus.com>
In-Reply-To: <201103192335.40271.jason@njkfrudils.plus.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201103292011.46136.ja...@njkfrudils.plus.com>

On Saturday 19 March 2011 23:35:40 Jason wrote:
> On Saturday 19 March 2011 18:17:14 Jeff Gilchrist wrote:
> > On Thu, Mar 17, 2011 at 8:32 PM, Jason <ja...@njkfrudils.plus.com> wrote:
> > > Yep , it was just a hunch that was wrong , could you try putting some
> > > printf("here\n");fflush(0);
> > > between he tests in t-constants.c , so we can work out which one is the
> > > problem.
> > 
> > It stops inside this section:
> > 
> > #ifdef PP_INVERTED
> > 
> >   {
> >   
> >     mp_limb_t  pp_inverted_calc;
> >     invert_limb (pp_inverted_calc, PP);
> >     CHECK_LIMB (PP_INVERTED, pp_inverted_calc);
> >   
> >   }
> > 
> > #endif
> > 
> > It never completes:  invert_limb (pp_inverted_calc, PP);
> 
> I know we have a problem with invert_limb on ia64 with icc and no assembler
> , perhaps this is the "same" C-code , I'll have a look in longlong.h
> 
> Jason

The problem is in the files mpn/x86_68/k8/udiv.as and umul.as , they are both 
wrong. This problem only bites on a AMD 64bit with a non-gcc compiler (not 
MSVC) as there is no inline asm . I think the best solution is just to delete 
the files as any modern compiler will be able to generate better code anyway 
(certainly for umul , and I presume udiv).

Thanks
Jason