From: Ilya Tocar Date: Tue, 7 Oct 2014 13:13:45 +0000 (+0000) Subject: Use long long instead of long in adx intrinsics. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f6e029ed166111d1178f29e7ab63f78f044554;p=gcc.git Use long long instead of long in adx intrinsics. 2014-10-02 Ilya Tocar * config/i386/adxintrin.h (_subborrow_u64): Use long long for param type. (_addcarry_u64): Ditto. (_addcarryx_u64): Ditto. From-SVN: r215970 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1f16ee14a7..8a87077adab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-10-07 Ilya Tocar + + * config/i386/adxintrin.h (_subborrow_u64): Use long long for param + type. + (_addcarry_u64): Ditto. + (_addcarryx_u64): Ditto. + 2014-10-07 Eric Botcazou * cgraph.h (cgraph_node::get_fun): Declare. diff --git a/gcc/config/i386/adxintrin.h b/gcc/config/i386/adxintrin.h index 8f2c01a121b..00a9b868021 100644 --- a/gcc/config/i386/adxintrin.h +++ b/gcc/config/i386/adxintrin.h @@ -55,24 +55,24 @@ _addcarryx_u32 (unsigned char __CF, unsigned int __X, #ifdef __x86_64__ extern __inline unsigned char __attribute__((__gnu_inline__, __always_inline__, __artificial__)) -_subborrow_u64 (unsigned char __CF, unsigned long __X, - unsigned long __Y, unsigned long long *__P) +_subborrow_u64 (unsigned char __CF, unsigned long long __X, + unsigned long long __Y, unsigned long long *__P) { return __builtin_ia32_sbb_u64 (__CF, __Y, __X, __P); } extern __inline unsigned char __attribute__((__gnu_inline__, __always_inline__, __artificial__)) -_addcarry_u64 (unsigned char __CF, unsigned long __X, - unsigned long __Y, unsigned long long *__P) +_addcarry_u64 (unsigned char __CF, unsigned long long __X, + unsigned long long __Y, unsigned long long *__P) { return __builtin_ia32_addcarryx_u64 (__CF, __X, __Y, __P); } extern __inline unsigned char __attribute__((__gnu_inline__, __always_inline__, __artificial__)) -_addcarryx_u64 (unsigned char __CF, unsigned long __X, - unsigned long __Y, unsigned long long *__P) +_addcarryx_u64 (unsigned char __CF, unsigned long long __X, + unsigned long long __Y, unsigned long long *__P) { return __builtin_ia32_addcarryx_u64 (__CF, __X, __Y, __P); }