diff options
author | Dan Albert <danalbert@google.com> | 2016-02-24 13:48:45 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2016-02-24 13:51:18 -0800 |
commit | b9de1157289455b0ca26daff519d4a0ddcd1fa13 (patch) | |
tree | 4c56cc0a34b91f17033a40a455f26652304f7b8d /gcc-4.8.1/gcc/testsuite/gcc.dg/vect/bb-slp-13.c | |
parent | 098157a754787181cfa10e71325832448ddcea98 (diff) | |
download | toolchain_gcc-b9de1157289455b0ca26daff519d4a0ddcd1fa13.tar.gz toolchain_gcc-b9de1157289455b0ca26daff519d4a0ddcd1fa13.tar.bz2 toolchain_gcc-b9de1157289455b0ca26daff519d4a0ddcd1fa13.zip |
Update 4.8.1 to 4.8.3.
My previous drop was the wrong version. The platform mingw is
currently using 4.8.3, not 4.8.1 (not sure how I got that wrong).
From ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.3/gcc-4.8.3.tar.bz2.
Bug: http://b/26523949
Change-Id: Id85f1bdcbbaf78c7d0b5a69e74c798a08f341c35
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/vect/bb-slp-13.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/vect/bb-slp-13.c | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/vect/bb-slp-13.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/vect/bb-slp-13.c deleted file mode 100644 index 4e114d5f9..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/vect/bb-slp-13.c +++ /dev/null @@ -1,51 +0,0 @@ -/* { dg-require-effective-target vect_int } */ - -#include <stdarg.h> -#include "tree-vect.h" - -#define N 16 - -unsigned int out[N]; -unsigned int in[N] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; - -__attribute__ ((noinline)) int -main1 (unsigned int x, unsigned int y) -{ - int i; - unsigned int a0, a1, a2, a3; - - a0 = in[0] + 23; - a1 = in[1] + 142; - a2 = in[2] + 2; - a3 = in[3] + 31; - - out[0] = a0 * x; - out[1] = a1 * y; - out[2] = a2 * x; - out[3] = a3 * y; - - if (x) - __asm__ volatile ("" : : : "memory"); - - /* Check results. */ - if (out[0] != (in[0] + 23) * x - || out[1] != (in[1] + 142) * y - || out[2] != (in[2] + 2) * x - || out[3] != (in[3] + 31) * y) - abort(); - - return 0; -} - -int main (void) -{ - check_vect (); - - main1 (2, 3); - - return 0; -} - -/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */ -/* { dg-final { cleanup-tree-dump "slp" } } */ - |