Commit 1c681c7b by Uros Bizjak Committed by Uros Bizjak

ifcvt-1.c: Compile also for 64-bit i?86-*-* target.

	* gcc.dg/ifcvt-1.c: Compile also for 64-bit i?86-*-* target.
	* gcc.dg/ifcvt-2.c: Ditto.
	* gcc.dg/zero_bits_compound-1.c: Ditto.
	* gcc.dg/zero_bits_compound-1.c: Ditto.
	* gcc.dg/pr40550.c: Simplify target selectors.
	Use dg-additional-options.
	* gcc.dg/pr47893.c: Ditto.
	* gcc.dg/pr68435.c: Compile also for i?86-*-* target.  Add -march=i686
	additional options for 32-bit x86 targets.
	* gcc.dg/pr70955.c: Move to ...
	* gcc.target/i386/pr70955.c: ... here.  Simplify target selector.

From-SVN: r240381
parent 67cf0a53
2016-09-22 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/ifcvt-1.c: Compile also for 64-bit i?86-*-* target.
* gcc.dg/ifcvt-2.c: Ditto.
* gcc.dg/zero_bits_compound-1.c: Ditto.
* gcc.dg/zero_bits_compound-1.c: Ditto.
* gcc.dg/pr40550.c: Simplify target selectors.
Use dg-additional-options.
* gcc.dg/pr47893.c: Ditto.
* gcc.dg/pr68435.c: Compile also for i?86-*-* target. Add -march=i686
additional options for 32-bit x86 targets.
* gcc.dg/pr70955.c: Move to ...
* gcc.target/i386/pr70955.c: ... here. Simplify target selector.
2016-09-22 Paolo Carlini <paolo.carlini@oracle.com> 2016-09-22 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61019 PR c++/61019
......
/* { dg-do compile { target aarch64*-*-* x86_64-*-* } } */ /* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && { ! ia32 } } || aarch64*-*-* } } } */
/* { dg-options "-fdump-rtl-ce1 -O2" } */ /* { dg-options "-fdump-rtl-ce1 -O2" } */
int int
......
/* { dg-do compile { target aarch64*-*-* x86_64-*-* } } */ /* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && { ! ia32 } } || aarch64*-*-* } } } */
/* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-unpredictable-cost=100" } */ /* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-unpredictable-cost=100" } */
typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef unsigned int uint16_t; typedef unsigned int uint16_t;
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-options "" } */
/* { dg-require-effective-target sse_runtime { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-additional-options "-msse" { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */
typedef float v2sf __attribute__ ((vector_size (2 * sizeof(float)))); typedef float v2sf __attribute__ ((vector_size (2 * sizeof(float))));
......
/* PR middle-end/47893 */ /* PR middle-end/47893 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
/* { dg-options "-O2 -mtune=atom -fno-omit-frame-pointer -fno-strict-aliasing" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-additional-options "-mtune=atom -fno-omit-frame-pointer -fno-strict-aliasing" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-skip-if "Too much RAM needed" { "avr-*-*" } { "*" } { "" } } */ /* { dg-skip-if "Too much RAM needed" { "avr-*-*" } { "*" } { "" } } */
extern void abort (void); extern void abort (void);
......
/* { dg-do compile { target aarch64*-*-* x86_64-*-* } } */ /* { dg-do compile { target aarch64*-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-fdump-rtl-ce1 -O2 -w --param max-rtl-if-conversion-unpredictable-cost=100" } */ /* { dg-options "-fdump-rtl-ce1 -O2 -w --param max-rtl-if-conversion-unpredictable-cost=100" } */
/* { dg-additional-options "-march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
typedef struct cpp_reader cpp_reader; typedef struct cpp_reader cpp_reader;
enum cpp_ttype enum cpp_ttype
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/* Note: This test requires that char, int and long have different sizes and the /* Note: This test requires that char, int and long have different sizes and the
target has a way to do 32 -> 64 bit zero extension other than AND. */ target has a way to do 32 -> 64 bit zero extension other than AND. */
/* { dg-do compile { target x86_64-*-* s390*-*-* aarch64*-*-* } } */ /* { dg-do compile { target i?86-*-* x86_64-*-* s390*-*-* aarch64*-*-* } } */
/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target lp64 } */
/* { dg-options "-O3 -dP" } */ /* { dg-options "-O3 -dP" } */
......
/* Test whether an AND mask or'ed with the know zero bits that equals a mode /* Test whether an AND mask or'ed with the know zero bits that equals a mode
mask is a candidate for zero extendion. */ mask is a candidate for zero extendion. */
/* { dg-do compile { target x86_64-*-* s390*-*-* aarch64*-*-* } } */ /* { dg-do compile { target i?86-*-* x86_64-*-* s390*-*-* aarch64*-*-* } } */
/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target lp64 } */
/* { dg-options "-O3 -dP" } */ /* { dg-options "-O3 -dP" } */
......
/* __builtin_ms_va_list is only supported for x86_64 -m64. */ /* __builtin_ms_va_list is only supported for -m64. */
/* { dg-do run { target { x86_64-*-* && { ! ilp32 } } } } */ /* { dg-do run { target lp64 } } */
/* { dg-require-effective-target lto } */ /* { dg-require-effective-target lto } */
/* { dg-options "-flto" } */ /* { dg-options "-flto" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment