public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: i386 darwin mtune=core2
       [not found] ` <699FFAD0-E7E2-486D-A369-13061D98FA77@comcast.net>
@ 2010-12-09  3:11   ` H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2010-12-09  3:11 UTC (permalink / raw)
  To: Mike Stump; +Cc: Jack Howarth, iains, GCC Patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-09  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20101206190612.GA15698@bromo.med.uc.edu>
     [not found] ` <699FFAD0-E7E2-486D-A369-13061D98FA77@comcast.net>
2010-12-09  3:11   ` i386 darwin mtune=core2 H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).