From: Paolo Bonzini Date: Fri, 30 Apr 2004 09:59:01 +0000 (+0000) Subject: altivec.h [...] (vec_subsubs): Rename to vec_sububs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bf87ea5a0821fc7afb0f25dceedebe2a632a55e;p=gcc.git altivec.h [...] (vec_subsubs): Rename to vec_sububs. 2004-04-30 Paolo Bonzini * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to vec_sububs. [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without duplicates. From-SVN: r81331 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 672ae8694a6..c1dcfcfb661 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-04-30 Paolo Bonzini + + * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to + vec_sububs. + [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without + duplicates. + 2004-04-30 Uros Bizjak * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near @@ -82,6 +89,9 @@ * combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation. Do not use SELECT_CC_MODE when a comparison already has a MODE_CC mode. + +2004-04-29 Paolo Bonzini + (simplify_set): simplify_relational_operation may now return another relational expression. * cse.c (fold_rtx): simplify_relational_operation now diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index 7610b7a7d5a..44eae871e98 100644 --- a/gcc/config/rs6000/altivec.h +++ b/gcc/config/rs6000/altivec.h @@ -5893,22 +5893,8 @@ vec_vsubuhs (vector unsigned short a1, vector signed short a2) return (vector unsigned short) __builtin_altivec_vsubuhs ((vector signed short) a1, (vector signed short) a2); } -/* vec_vsubuhs */ - -inline vector unsigned short -vec_vsubsuhs (vector signed short a1, vector unsigned short a2) -{ - return (vector unsigned short) __builtin_altivec_vsubuhs ((vector signed short) a1, (vector signed short) a2); -} - -inline vector unsigned short -vec_vsubsuhs (vector unsigned short a1, vector signed short a2) -{ - return (vector unsigned short) __builtin_altivec_vsubuhs ((vector signed short) a1, (vector signed short) a2); -} - inline vector unsigned short -vec_vsubsuhs (vector unsigned short a1, vector unsigned short a2) +vec_vsubuhs (vector unsigned short a1, vector unsigned short a2) { return (vector unsigned short) __builtin_altivec_vsubuhs ((vector signed short) a1, (vector signed short) a2); } @@ -5924,19 +5910,19 @@ vec_vsubsbs (vector signed char a1, vector signed char a2) /* vec_vsububs */ inline vector unsigned char -vec_vsubsubs (vector signed char a1, vector unsigned char a2) +vec_vsububs (vector signed char a1, vector unsigned char a2) { return (vector unsigned char) __builtin_altivec_vsububs ((vector signed char) a1, (vector signed char) a2); } inline vector unsigned char -vec_vsubsubs (vector unsigned char a1, vector signed char a2) +vec_vsububs (vector unsigned char a1, vector signed char a2) { return (vector unsigned char) __builtin_altivec_vsububs ((vector signed char) a1, (vector signed char) a2); } inline vector unsigned char -vec_vsubsubs (vector unsigned char a1, vector unsigned char a2) +vec_vsububs (vector unsigned char a1, vector unsigned char a2) { return (vector unsigned char) __builtin_altivec_vsububs ((vector signed char) a1, (vector signed char) a2); }