Commit 7cf98868 by Uros Bizjak

pr36246.c: Add -fomit-frame-pointer to dg-options.

	* gcc.target/i386/pr36246.c: Add -fomit-frame-pointer to dg-options.
	* gcc.target/i386/pr32661-1.c: Ditto.
	* gcc.target/i386/pr34256.c: Ditto.
	* gcc.target/i386/pr22076.c: Ditto. Check for "movl" instruction on
	nonpic targets only.

From-SVN: r141916
parent 22089905
2008-11-16 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/pr36246.c: Add -fomit-frame-pointer to dg-options.
* gcc.target/i386/pr32661-1.c: Ditto.
* gcc.target/i386/pr34256.c: Ditto.
* gcc.target/i386/pr22076.c: Ditto. Check for "movl" instruction on
nonpic targets only.
2008-11-16 Paul Thomas <pault@gcc.gnu.org> 2008-11-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119 PR fortran/38119
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -flax-vector-conversions -mmmx" } */ /* { dg-options "-O2 -fomit-frame-pointer -flax-vector-conversions -mmmx" } */
#include <mmintrin.h> #include <mmintrin.h>
...@@ -15,5 +15,4 @@ __v8qi test () ...@@ -15,5 +15,4 @@ __v8qi test ()
} }
/* { dg-final { scan-assembler-times "movq" 3 } } */ /* { dg-final { scan-assembler-times "movq" 3 } } */
/* { dg-final { scan-assembler-times "movl" 1 { target { ilp32 && nonpic } } } } */ /* { dg-final { scan-assembler-not "movl" { target nonpic } } } */
/* { dg-final { scan-assembler-times "movl" 2 { target { ilp32 && { ! nonpic } } } } } */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target lp64 } */
/* { dg-options "-O2" } */ /* { dg-options "-O2 -fomit-frame-pointer" } */
typedef long long __m128i __attribute__ ((__vector_size__ (16))); typedef long long __m128i __attribute__ ((__vector_size__ (16)));
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -march=core2" } */ /* { dg-options "-O2 -fomit-frame-pointer -march=core2" } */
#include <mmintrin.h> #include <mmintrin.h>
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mtune=generic" } */ /* { dg-options "-O2 -fomit-frame-pointer -mtune=generic" } */
typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__)); typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
typedef int __v4si __attribute__ ((__vector_size__ (16))); typedef int __v4si __attribute__ ((__vector_size__ (16)));
......
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