rs6000-c.c: Add built-in support for vector compare equal and vector compare not...
authorCarl Love <cel@us.ibm.com>
Tue, 22 Nov 2016 16:49:02 +0000 (16:49 +0000)
committerCarl Love <carll@gcc.gnu.org>
Tue, 22 Nov 2016 16:49:02 +0000 (16:49 +0000)
commita0af8668dcfac575d5c0f426d2dfac76d5a1490a
treeb713dc26db1310eb7bb904d63f9982a946af38bc
parentb2b0acbe2bec113381c9925cc29f26a402873350
rs6000-c.c: Add built-in support for vector compare equal and vector compare not equal.

gcc/ChangeLog:

2016-11-21  Carl Love  <cel@us.ibm.com>

        * config/rs6000/rs6000-c.c: Add built-in support for vector compare
        equal and vector compare not equal.  The vector compares take two
        arguments of type vector bool char, vector bool short, vector bool int,
        vector bool long long with the same return type.
        * doc/extend.texi: Update built-in documentation file for the new
        powerpc built-ins.

gcc/testsuite/ChangeLog:

2016-11-21  Carl Love  <cel@us.ibm.com>

        * gcc.target/powerpc/builtins-3.c: New file to test the new
        built-ins for vector compare equal and vector compare not equal.

From-SVN: r242706
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-3.c [new file with mode: 0644]