Patchwork PATCH: PR target/44615: -mtune=atom failed on sse2-vec-2.c and amd64-abi-3.c

login
register
mail settings
Submitter H.J. Lu
Date June 21, 2010, 6:38 p.m.
Message ID <AANLkTim9gy0GF71PclyghduTEWbU3_sOjgrMkCx4gyW3@mail.gmail.com>
Download mbox | patch
Permalink /patch/56339/
State New
Headers show

Comments

H.J. Lu - June 21, 2010, 6:38 p.m.
On Mon, Jun 21, 2010 at 11:01 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
> Please split out ABI testsuite patch to another patch. These two
> changes are unrelated.

Here is a patch for gcc.target/i386/amd64-abi-3.c:

2010-06-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/44615
	* gcc.target/i386/amd64-abi-3.c: Add -mtune=k8.

OK for trunk, 4.4 and 4.5?

Thanks.

Patch

diff --git a/gcc/testsuite/gcc.target/i386/amd64-abi-3.c
b/gcc/testsuite/gcc.target/i386/amd64-abi-3.c
index 8db7f13..6b7bf6a 100644
--- a/gcc/testsuite/gcc.target/i386/amd64-abi-3.c
+++ b/gcc/testsuite/gcc.target/i386/amd64-abi-3.c
@@ -1,6 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -fomit-frame-pointer -mno-sse" } */
+/* { dg-options "-O2 -fomit-frame-pointer -mno-sse -mtune=k8" } */
 /* { dg-final { scan-assembler "subq\[\\t \]*\\\$88,\[\\t \]*%rsp" } } */
 /* { dg-final { scan-assembler-not "subq\[\\t \]*\\\$216,\[\\t \]*%rsp" } } */