This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Multiprecision Arithmetic Builtins
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 21 Sep 2015 21:49:53 +0900
- Subject: Re: Multiprecision Arithmetic Builtins
- Authentication-results: sourceware.org; auth=none
- References: <1442815778 dot 2313 dot 69 dot camel at t-online dot de> <55FFFB25 dot 1050500 at redhat dot com>
On Mon, 2015-09-21 at 14:42 +0200, Florian Weimer wrote:
> On 09/21/2015 08:09 AM, Oleg Endo wrote:
> > Hi all,
> >
> > I was thinking of adding some SH specific builtin functions for the
> > addc, subc and negc instructions.
> >
> > Are there any plans to add clang's target independent multiprecision
> > arithmetic builtins (http://clang.llvm.org/docs/LanguageExtensions.html)
> > to GCC?
>
> Do you mean these?
>
> <https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html>
>
> Is there something else that is missing?
No, I don't mean __builtin_sadd_overflow and friends, but rather
__builtin_addc and friends.
For a complete list search for "Multiprecision Arithmetic Builtins" on
the page http://clang.llvm.org/docs/LanguageExtensions.html
Cheers,
Oleg