This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 darwin mtune=core2
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Jack Howarth <howarth at bromo dot med dot uc dot edu>, iains at gcc dot gnu dot org, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 8 Dec 2010 16:47:32 -0800
- Subject: Re: i386 darwin mtune=core2
- References: <20101206190612.GA15698@bromo.med.uc.edu> <699FFAD0-E7E2-486D-A369-13061D98FA77@comcast.net>
On Wed, Dec 8, 2010 at 3:34 PM, Mike Stump <mikestump@comcast.net> wrote:
> On Dec 6, 2010, at 11:06 AM, Jack Howarth wrote:
>> ? H.J. Lu is waiting for us to commit Iain's i386 darwin
>> mtune=core2 patch so he can fix the gcc.target/i386/sse2-init-v2di-2.c
>> testcase once it begins to fail on linux (as well as darwin).
>> I've attached Iain's previously approved patch with the missing
>> ChangeLog in case you have a chance to do the commit (since
>> I believe Iain said he would be off-line for awhile last week).
>
> Ok, I checked it in...
>
>
I checked in this patch to update the test.
--
H.J.
---
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cdddb9a..c62306d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/sse2-init-v2di-2.c: Add "-dp" and update
+ expected scan.
+
2010-12-08 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/exceptions-7.m: New.
diff --git a/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c
b/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c
index da36efa..db1fbd0 100644
--- a/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c
+++ b/gcc/testsuite/gcc.target/i386/sse2-init-v2di-2.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -msse4 -march=core2" } */
+/* { dg-options "-O2 -msse4 -march=core2 -dp" } */
#include <emmintrin.h>
@@ -10,4 +10,4 @@ test (long long b)
return _mm_cvtsi64_si128 (b);
}
-/* { dg-final { scan-assembler "movq" } } */
+/* { dg-final { scan-assembler-times
"\\*vec_concatv2di_rex64_sse4_1/3" 1 } } */