Hello,

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.

Thank you,
Claudiu

> -----Original Message-----
> From: Vlad Zakharov
> Sent: Wednesday, August 24, 2016 11:51 AM
> To: gmp-devel@gmplib.org; Vlad Zakharov <vzak...@synopsys.com>
> Cc: Claudiu Zissulescu <claz...@synopsys.com>;
> alexey.brod...@synopsys.com
> Subject: Re: [PATCH] longlong.h: Fix obsolete ARC asm constraints
> 
> Hello,
> 
> I got inspiration from the following gcc patch:
> https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01964.html
> 
> "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 <vzak...@synopsys.com>
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to