re PR testsuite/35621 (gcc.target/i386/ssse3-*.c violates C/C++ aliasing rules)

2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/35621
	* gcc.target/i386/avx-vpabsb-1.c: Add -fno-strict-aliasing.
	* gcc.target/i386/avx-vpabsb-1.c: Likewise.
	* gcc.target/i386/avx-vpabsd-1.c: Likewise.
	* gcc.target/i386/avx-vpabsw-1.c: Likewise.
	* gcc.target/i386/avx-vpalignr-1.c: Likewise.
	* gcc.target/i386/avx-vphaddd-1.c: Likewise.
	* gcc.target/i386/avx-vphaddsw-1.c: Likewise.
	* gcc.target/i386/avx-vphaddw-1.c: Likewise.
	* gcc.target/i386/avx-vphsubd-1.c: Likewise.
	* gcc.target/i386/avx-vphsubsw-1.c: Likewise.
	* gcc.target/i386/avx-vphsubw-1.c: Likewise.
	* gcc.target/i386/avx-vpmaddubsw-1.c: Likewise.
	* gcc.target/i386/avx-vpmulhrsw-1.c: Likewise.
	* gcc.target/i386/avx-vpshufb-1.c: Likewise.
	* gcc.target/i386/avx-vpsignb-1.c: Likewise.
	* gcc.target/i386/avx-vpsignd-1.c: Likewise.
	* gcc.target/i386/avx-vpsignw-1.c: Likewise.

From-SVN: r145872
This commit is contained in:
H.J. Lu 2009-04-10 00:32:12 +00:00 committed by H.J. Lu
parent d6ad5d8d8e
commit 821c83eed7
17 changed files with 40 additions and 16 deletions

View File

@ -1,3 +1,27 @@
2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/35621
* gcc.target/i386/avx-vpabsb-1.c: Add -fno-strict-aliasing.
* gcc.target/i386/avx-vpabsb-1.c: Likewise.
* gcc.target/i386/avx-vpabsd-1.c: Likewise.
* gcc.target/i386/avx-vpabsw-1.c: Likewise.
* gcc.target/i386/avx-vpalignr-1.c: Likewise.
* gcc.target/i386/avx-vphaddd-1.c: Likewise.
* gcc.target/i386/avx-vphaddsw-1.c: Likewise.
* gcc.target/i386/avx-vphaddw-1.c: Likewise.
* gcc.target/i386/avx-vphsubd-1.c: Likewise.
* gcc.target/i386/avx-vphsubsw-1.c: Likewise.
* gcc.target/i386/avx-vphsubw-1.c: Likewise.
* gcc.target/i386/avx-vpmaddubsw-1.c: Likewise.
* gcc.target/i386/avx-vpmulhrsw-1.c: Likewise.
* gcc.target/i386/avx-vpshufb-1.c: Likewise.
* gcc.target/i386/avx-vpsignb-1.c: Likewise.
* gcc.target/i386/avx-vpsignd-1.c: Likewise.
* gcc.target/i386/avx-vpsignw-1.c: Likewise.
2009-04-09 Jakub Jelinek <jakub@redhat.com>
* g++.dg/lookup/using2.C: Change copyright header to refer to version

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
/* { dg-options "-O2 -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test

View File

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mfpmath=sse -mavx" } */
/* { dg-options "-O2 -mfpmath=sse -mavx -fno-strict-aliasing" } */
#define CHECK_H "avx-check.h"
#define TEST avx_test