Commit efa32122 by Uros Bizjak

re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or…

re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on  i386-apple-darwin8.11.1)

	PR testsuite/35047
	* gcc.c-torture/execute/20050316-2.x: New file.
	* gcc.target/i386/pr17390.c: Update scan pattern.
	* gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets.
	* g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets.

From-SVN: r131997
parent a18c20ec
2008-02-01 Uros Bizjak <ubizjak@gmail.com>
PR testsuite/35047
* gcc.c-torture/execute/20050316-2.x: New file.
* gcc.target/i386/pr17390.c: Update scan pattern.
* gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets.
* g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets.
2008-01-31 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34910
......@@ -13,6 +13,6 @@ void bar(void)
}
/* { dg-final { scan-tree-dump-not "-&x" "ivopts" } } */
/* { dg-final { scan-tree-dump-not "offset: (4294967292|0x0f+fc)" "ivopts" { xfail i?86-*-* x86_64-*-* hppa*-*-* mips*-*-* } } } */
/* { dg-final { scan-tree-dump-not "offset: (4294967292|0x0f+fc)" "ivopts" { xfail hppa*-*-* mips*-*-* } } } */
/* { dg-final { scan-tree-dump-not "&x\\\[5\\\]" "ivopts" } } */
/* { dg-final { cleanup-tree-dump "ivopts" } } */
# This testcase generates MMX instructions together with x87 instructions.
# Currently, there is no "emms" generated to switch between register sets,
# so the testcase fails for targets where MMX insns are enabled.
if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } {
set additional_flags "-mno-mmx"
}
return 0
/* PR tree-optimization/20076 */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mno-mmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do run } */
extern void abort (void);
......
......@@ -7,4 +7,4 @@ double sgn (double __x)
return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0);
}
/* { dg-final { scan-assembler-times "fnstsw" 1 } } */
/* { dg-final { scan-assembler-times "fcom|ftst" 1 } } */
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