This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i386 darwin mtune=core2


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 } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]