[PATCH] longlong.h: Fix obsolete ARC asm constraints
Claudiu.Zissulescu at synopsys.com
Wed Aug 24 09:57:11 UTC 2016
The J-constant was mainly used by Arc 4 architecture for 32-bit integer constants. It got obsoleted once we pushed the new ARCompact architecture to gcc (GCC5.x+). The replace constraint is the Cal which is again a 32 bit constraint fitted for arithmetic ops.
> -----Original Message-----
> From: Vlad Zakharov
> Sent: Wednesday, August 24, 2016 11:51 AM
> To: gmp-devel at gmplib.org; Vlad Zakharov <vzakhar at synopsys.com>
> Cc: Claudiu Zissulescu <claziss at synopsys.com>;
> Alexey.Brodkin at synopsys.com
> Subject: Re: [PATCH] longlong.h: Fix obsolete ARC asm constraints
> I got inspiration from the following gcc patch:
> "J" constraint is rejected with recent gcc, so we have to replace it.
> Adding to "CC" our GCC maintainer, he can give better comments if you have
> any further questions.
> On Mon, 2016-08-22 at 23:36 +0200, Marc Glisse wrote:
> > On Wed, 17 Aug 2016, Vlad Zakharov wrote:
> > >
> > > We replace obsolete "J" constraint with "Cal" constraint.
> > Hello,
> > could you give a little more information please? In particular, does "Cal"
> > work with older versions of gcc? Does "J" still work or is it rejected
> > with a recent gcc? Do they mean the same thing?
> > I trust that you know what you are doing, I just like to understand a
> > patch before applying it.
> Best regards,
> Vlad Zakharov <vzakhar at synopsys.com>
More information about the gmp-devel