From: Jakub Jelinek Date: Fri, 21 Oct 2016 15:40:48 +0000 (+0200) Subject: adxintrin.h (_subborrow_u32, [...]): Formatting fixes. X-Git-Tag: upstream/12.2.0~43872 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=810cb1913f8132a76280574a2a04f1691c0174e0;p=platform%2Fupstream%2Fgcc.git adxintrin.h (_subborrow_u32, [...]): Formatting fixes. * config/i386/adxintrin.h (_subborrow_u32, _addcarry_u32, _addcarryx_u32, _subborrow_u64, _addcarry_u64, _addcarryx_u64): Formatting fixes. * config/i386/rdseedintrin.h (_rdseed16_step, _rdseed32_step, _rdseed64_step): Likewise. * config/i386/tbmintrin.h (__bextri_u32): Likewise. From-SVN: r241412 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4d88ef7..6102719 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2016-10-21 Jakub Jelinek + * config/i386/adxintrin.h (_subborrow_u32, _addcarry_u32, + _addcarryx_u32, _subborrow_u64, _addcarry_u64, _addcarryx_u64): + Formatting fixes. + * config/i386/rdseedintrin.h (_rdseed16_step, _rdseed32_step, + _rdseed64_step): Likewise. + * config/i386/tbmintrin.h (__bextri_u32): Likewise. + PR target/78057 * config/i386/i386.c: Include fold-const-call.h, tree-vrp.h and tree-ssanames.h. diff --git a/gcc/config/i386/adxintrin.h b/gcc/config/i386/adxintrin.h index 36014ec..87c89fd 100644 --- a/gcc/config/i386/adxintrin.h +++ b/gcc/config/i386/adxintrin.h @@ -31,9 +31,9 @@ extern __inline unsigned char __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _subborrow_u32 (unsigned char __CF, unsigned int __X, - unsigned int __Y, unsigned int *__P) + unsigned int __Y, unsigned int *__P) { - return __builtin_ia32_sbb_u32 (__CF, __Y, __X, __P); + return __builtin_ia32_sbb_u32 (__CF, __Y, __X, __P); } extern __inline unsigned char @@ -41,7 +41,7 @@ __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _addcarry_u32 (unsigned char __CF, unsigned int __X, unsigned int __Y, unsigned int *__P) { - return __builtin_ia32_addcarryx_u32 (__CF, __X, __Y, __P); + return __builtin_ia32_addcarryx_u32 (__CF, __X, __Y, __P); } extern __inline unsigned char @@ -49,16 +49,16 @@ __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _addcarryx_u32 (unsigned char __CF, unsigned int __X, unsigned int __Y, unsigned int *__P) { - return __builtin_ia32_addcarryx_u32 (__CF, __X, __Y, __P); + return __builtin_ia32_addcarryx_u32 (__CF, __X, __Y, __P); } #ifdef __x86_64__ extern __inline unsigned char __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _subborrow_u64 (unsigned char __CF, unsigned long long __X, - unsigned long long __Y, unsigned long long *__P) + unsigned long long __Y, unsigned long long *__P) { - return __builtin_ia32_sbb_u64 (__CF, __Y, __X, __P); + return __builtin_ia32_sbb_u64 (__CF, __Y, __X, __P); } extern __inline unsigned char @@ -66,7 +66,7 @@ __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _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); + return __builtin_ia32_addcarryx_u64 (__CF, __X, __Y, __P); } extern __inline unsigned char @@ -74,7 +74,7 @@ __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _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); + return __builtin_ia32_addcarryx_u64 (__CF, __X, __Y, __P); } #endif diff --git a/gcc/config/i386/rdseedintrin.h b/gcc/config/i386/rdseedintrin.h index 57b4515..e698a2a 100644 --- a/gcc/config/i386/rdseedintrin.h +++ b/gcc/config/i386/rdseedintrin.h @@ -39,14 +39,14 @@ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _rdseed16_step (unsigned short *__p) { - return __builtin_ia32_rdseed_hi_step (__p); + return __builtin_ia32_rdseed_hi_step (__p); } extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _rdseed32_step (unsigned int *__p) { - return __builtin_ia32_rdseed_si_step (__p); + return __builtin_ia32_rdseed_si_step (__p); } #ifdef __x86_64__ @@ -54,7 +54,7 @@ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _rdseed64_step (unsigned long long *__p) { - return __builtin_ia32_rdseed_di_step (__p); + return __builtin_ia32_rdseed_di_step (__p); } #endif diff --git a/gcc/config/i386/tbmintrin.h b/gcc/config/i386/tbmintrin.h index d4b3588..54292dd 100644 --- a/gcc/config/i386/tbmintrin.h +++ b/gcc/config/i386/tbmintrin.h @@ -38,12 +38,12 @@ extern __inline unsigned int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) __bextri_u32 (unsigned int __X, const unsigned int __I) { - return __builtin_ia32_bextri_u32 (__X, __I); + return __builtin_ia32_bextri_u32 (__X, __I); } #else -#define __bextri_u32(X, I) \ - ((unsigned int)__builtin_ia32_bextri_u32 ((unsigned int)(X), \ - (unsigned int)(I))) +#define __bextri_u32(X, I) \ + ((unsigned int)__builtin_ia32_bextri_u32 ((unsigned int)(X), \ + (unsigned int)(I))) #endif /*__OPTIMIZE__ */ extern __inline unsigned int __attribute__((__gnu_inline__, __always_inline__, __artificial__))