rs6000-c: The return type of the following built-in functions was implemented as...
authorCarl Love <cel@us.ibm.com>
Wed, 7 Jun 2017 22:23:15 +0000 (22:23 +0000)
committerCarl Love <carll@gcc.gnu.org>
Wed, 7 Jun 2017 22:23:15 +0000 (22:23 +0000)
commit989cc652ee02ab598a01ccbeec55ca8e2b7df72d
tree15a28cf8c4a3785cf0121c6f7191b5d0fc44d6b3
parent4a7f0dc0605c868a232b322862aa3b2e2c945ec9
rs6000-c: The return type of the following built-in functions was implemented as int not...

gcc/ChangeLog:

2017-06-07  Carl Love  <cel@us.ibm.com>

* config/rs6000/rs6000-c: The return type of the following
built-in functions was implemented as int not long long.  Fix sign
of return value for the unsigned version of vec_mulo and vec_mule.
vector unsigned long long vec_bperm (vector unsigned long long,
                                     vector unsigned char)
vector signed long long vec_mule (vector signed int,
                                  vector signed int)
vector unsigned long long vec_mule (vector unsigned int,
                                    vector unsigned int)
vector signed long long vec_mulo (vector signed int,
                                  vector signed int)
vector unsigned long long vec_mulo (vector unsigned int,
                                    vector unsigned int)
* doc/extend.texi: Fix the documentation for the built-in
functions.

gcc/testsuite/ChangeLog:

2017-06-07  Carl Love  <cel@us.ibm.com>
* gcc.target/powerpc/builtins-3.c: Fix vec_mule, vec_mulo test cases.
---

From-SVN: r248998
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-3.c