bb-slp-21.c: Adjust.

2010-06-15  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/vect/bb-slp-21.c: Adjust.
	* gcc.dg/vect/bb-slp-13.c: Likewise
	* gcc.dg/vect/bb-slp-4.c: Likewise
	* gcc.dg/vect/bb-slp-22.c: Likewise
	* gcc.dg/vect/bb-slp-14.c: Likewise
	* gcc.dg/vect/bb-slp-23.c: Likewise
	* gcc.dg/vect/bb-slp-15.c: Likewise
	* gcc.dg/vect/bb-slp-17.c: Likewise
	* gcc.dg/vect/bb-slp-18.c: Likewise
	* gcc.dg/vect/bb-slp-19.c: Likewise
	* gcc.dg/vect/bb-slp-10.c: Likewise
	* gcc.dg/vect/bb-slp-11.c: Likewise
	* gcc.dg/vect/bb-slp-20.c: Likewise
	* gcc.dg/vect/bb-slp-3.c: Likewise

From-SVN: r160786
This commit is contained in:
Richard Guenther 2010-06-15 13:51:02 +00:00 committed by Richard Biener
parent 50416c61c4
commit e0774f1e3c
15 changed files with 62 additions and 3 deletions

View file

@ -1,3 +1,20 @@
2010-06-15 Richard Guenther <rguenther@suse.de>
* gcc.dg/vect/bb-slp-21.c: Adjust.
* gcc.dg/vect/bb-slp-13.c: Likewise
* gcc.dg/vect/bb-slp-4.c: Likewise
* gcc.dg/vect/bb-slp-22.c: Likewise
* gcc.dg/vect/bb-slp-14.c: Likewise
* gcc.dg/vect/bb-slp-23.c: Likewise
* gcc.dg/vect/bb-slp-15.c: Likewise
* gcc.dg/vect/bb-slp-17.c: Likewise
* gcc.dg/vect/bb-slp-18.c: Likewise
* gcc.dg/vect/bb-slp-19.c: Likewise
* gcc.dg/vect/bb-slp-10.c: Likewise
* gcc.dg/vect/bb-slp-11.c: Likewise
* gcc.dg/vect/bb-slp-20.c: Likewise
* gcc.dg/vect/bb-slp-3.c: Likewise
2010-06-15 Jakub Jelinek <jakub@redhat.com>
PR fortran/44536

View file

@ -28,6 +28,9 @@ main1 (unsigned int x, unsigned int y)
*pout++ = a2 * x;
*pout++ = a3 * y;
if (x)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if (out[1] != (in[0] + 23) * x
|| out[2] != (in[1] + 142) * y

View file

@ -27,6 +27,9 @@ main1 (unsigned int x, unsigned int y)
*pout++ = a2 * x;
*pout++ = a3 * y;
if (x)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if (out[0] != (in[0] + 23) * x
|| out[1] != (in[1] + 142) * y

View file

@ -25,6 +25,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -26,6 +26,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -30,6 +30,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -34,6 +34,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -25,6 +25,9 @@ main1 (unsigned int x, unsigned int y)
out[2] = a2 * x;
out[3] = a3 * y;
if (x)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if (out[0] != a0 * x
|| out[1] != a1 * y

View file

@ -9,10 +9,10 @@
unsigned short out[N];
unsigned short in[N] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
int i;
__attribute__ ((noinline)) int
main1 ()
{
int i;
unsigned short *pin = &in[0];
unsigned short *pout = &out[0];
@ -27,6 +27,9 @@ main1 ()
*pout++ = *pin++;
*pout++ = *pin++;
if (i)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if (out[0] != in[0]
|| out[1] != in[1]

View file

@ -37,6 +37,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -37,6 +37,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -36,6 +36,9 @@ main1 (unsigned int x, unsigned int y)
out[3] = a3 * y;
}
if (x)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if ((x <= y
&& (out[0] != (in[0] + 23) * x

View file

@ -30,6 +30,9 @@ main1 (unsigned int x, unsigned int 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

View file

@ -9,10 +9,10 @@
unsigned int out[N];
unsigned int in[N] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
int i;
__attribute__ ((noinline)) int
main1 ()
{
int i;
unsigned int *pin = &in[0];
unsigned int *pout = &out[0];
@ -21,6 +21,9 @@ main1 ()
*pout++ = *pin++;
*pout++ = *pin++;
if (i)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if (out[0] != in[0]
|| out[1] != in[1]

View file

@ -9,16 +9,19 @@
unsigned short out[N];
unsigned short in[N] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
int i;
__attribute__ ((noinline)) int
main1 ()
{
int i;
unsigned short *pin = &in[0];
unsigned short *pout = &out[0];
*pout++ = *pin++;
*pout++ = *pin++;
if (i)
__asm__ volatile ("" : : : "memory");
/* Check results. */
if (out[0] != in[0]
|| out[1] != in[1])