This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2, rs6000] Add built-in support for vector compare
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Carl E. Love" <cel at us dot ibm dot com>
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>, gcc-patches at gcc dot gnu dot org, Bill Schmidt <wschmidt at us dot ibm dot com>
- Date: Sun, 04 Dec 2016 13:41:53 +0100
- Subject: Re: [PATCH v2, rs6000] Add built-in support for vector compare
- Authentication-results: sourceware.org; auth=none
- References: <1479768173.4523.258.camel@us.ibm.com>
On Nov 21 2016, "Carl E. Love" <cel@us.ibm.com> wrote:
> * gcc.target/powerpc/builtins-3.c: New file to test the new
> built-ins for vector compare equal and vector compare not equal.
spawn -ignore SIGHUP /daten/gcc/gcc-20161203/Build/gcc/xgcc -B/daten/gcc/gcc-20161203/Build/gcc/ /daten/gcc/gcc-20161203/gcc/testsuite/gcc.target/powerpc/builtins-3.c -m64 -fno-diagnostics-show-caret -fdiagnostics-color=never -maltivec -mvsx -ffat-lto-objects -S -o builtins-3.s.
In file included from /daten/gcc/gcc-20161203/gcc/testsuite/gcc.target/powerpc/builtins-3.c:5:0:.
/daten/gcc/gcc-20161203/gcc/testsuite/gcc.target/powerpc/builtins-3.c: In function 'test_eq_long':.
/daten/gcc/gcc-20161203/gcc/testsuite/gcc.target/powerpc/builtins-3.c:28:9: error: Builtin function __builtin_altivec_vcmpequd requires the -mpower8-vector option.
/daten/gcc/gcc-20161203/gcc/testsuite/gcc.target/powerpc/builtins-3.c: In function 'test_ne_long':.
/daten/gcc/gcc-20161203/gcc/testsuite/gcc.target/powerpc/builtins-3.c:52:9: error: Builtin function __builtin_altivec_vcmpequd requires the -mpower8-vector option.
compiler exited with status 1
FAIL: gcc.target/powerpc/builtins-3.c (test for excess errors)
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."