Skip to content
Snippets Groups Projects
Commit f53d712f authored by H.J. Lu's avatar H.J. Lu Committed by H.J. Lu
Browse files

Check ia32 instead of ilp32 for ia32 tests.

2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	* testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486
	for ia32 instead of ilp32.

	* testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32.
	* testsuite/libgomp.c/atomic-6.c: Likewise.

From-SVN: r176893
parent 4fe249e7
No related branches found
No related tags found
No related merge requests found
2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486
for ia32 instead of ilp32.
* testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32.
* testsuite/libgomp.c/atomic-6.c: Likewise.
2011-07-23 Sebastian Pop <sebastian.pop@amd.com> 2011-07-23 Sebastian Pop <sebastian.pop@amd.com>
* testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail. * testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail.
......
...@@ -140,7 +140,7 @@ proc libgomp_init { args } { ...@@ -140,7 +140,7 @@ proc libgomp_init { args } {
# We use atomic operations in the testcases to validate results. # We use atomic operations in the testcases to validate results.
if { ([istarget i?86-*-*] || [istarget x86_64-*-*]) if { ([istarget i?86-*-*] || [istarget x86_64-*-*])
&& [check_effective_target_ilp32] } { && [check_effective_target_ia32] } {
lappend ALWAYS_CFLAGS "additional_flags=-march=i486" lappend ALWAYS_CFLAGS "additional_flags=-march=i486"
} }
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -march=pentium" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-options "-O2 -march=pentium" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
#ifdef __i386__ #ifdef __i386__
#include "cpuid.h" #include "cpuid.h"
......
/* PR middle-end/36106 */ /* PR middle-end/36106 */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
/* { dg-options "-O2 -mieee" { target alpha*-*-* } } */ /* { dg-options "-O2 -mieee" { target alpha*-*-* } } */
/* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
#ifdef __i386__ #ifdef __i386__
# include "cpuid.h" # include "cpuid.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment