From patchwork Wed Sep 21 21:02:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 115856 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 4817CB6F7E for ; Thu, 22 Sep 2011 07:02:37 +1000 (EST) Received: (qmail 4614 invoked by alias); 21 Sep 2011 21:02:33 -0000 Received: (qmail 4604 invoked by uid 22791); 21 Sep 2011 21:02:32 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_AV, TW_CL, TW_FS, TW_LZ, TW_ML, TW_MX, TW_TB, TW_ZC, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-yi0-f47.google.com (HELO mail-yi0-f47.google.com) (209.85.218.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 21:02:17 +0000 Received: by yia27 with SMTP id 27so1629491yia.20 for ; Wed, 21 Sep 2011 14:02:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.146.27.25 with SMTP id a25mr1331806yaa.38.1316638936905; Wed, 21 Sep 2011 14:02:16 -0700 (PDT) Received: by 10.147.168.8 with HTTP; Wed, 21 Sep 2011 14:02:16 -0700 (PDT) Date: Wed, 21 Sep 2011 23:02:16 +0200 Message-ID: Subject: [PATCH, testsuite]: Remove unneeded dg-require-effective-target sse directives From: Uros Bizjak To: gcc-patches@gcc.gnu.org Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! Compile tests do not need to check assembler for sse support. 2011-09-21 Uros Bizjak * g++.dg/other/i386-3.C: Remove duplicated dg-options. * g++.dg/other/i386-4.C: Remove dg-requre-effective-target directive. * g++.dg/other/i386-8.C: Ditto. * g++.dg/other/pr34435.C: Ditto. * g++.dg/other/pr39496.C: Ditto. * g++.dg/other/mmintrin.C: Ditto. Tested on x86_64-pc-linux-gnu, committed to mainline SVN. Uros. Index: g++.dg/other/i386-3.C =================================================================== --- g++.dg/other/i386-3.C (revision 179052) +++ g++.dg/other/i386-3.C (working copy) @@ -1,5 +1,4 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O -fkeep-inline-functions -march=k8 -msse4a -m3dnow -mavx -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma" } */ /* { dg-options "-O -fkeep-inline-functions -march=k8 -msse4a -m3dnow -mavx -mavx2 -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mbmi2 -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma" } */ /* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h, fma4intrin.h, Index: g++.dg/other/i386-4.C =================================================================== --- g++.dg/other/i386-4.C (revision 179052) +++ g++.dg/other/i386-4.C (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O1 -msse2" } */ -/* { dg-require-effective-target sse2 } */ #include Index: g++.dg/other/i386-8.C =================================================================== --- g++.dg/other/i386-8.C (revision 179052) +++ g++.dg/other/i386-8.C (working copy) @@ -2,7 +2,6 @@ // { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-options "-O2 -msse2" } // { dg-options "-O2 -msse2 -fpic" { target fpic } } -// { dg-require-effective-target sse2 } #include Index: g++.dg/other/pr39496.C =================================================================== --- g++.dg/other/pr39496.C (revision 179052) +++ g++.dg/other/pr39496.C (working copy) @@ -1,7 +1,7 @@ // PR target/39496 // { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && ia32 } } } // { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -mtune=i686 -msse2 -mfpmath=sse" } -// { dg-require-effective-target sse2 } + // Verify that {foo,bar}{,2}param are all passed on the stack, using // normal calling conventions, when not optimizing. // { dg-final { scan-assembler "\[^0-9-\]8\\(%ebp\\),\[^\n\]*fooparam," } } Index: g++.dg/other/pr34435.C =================================================================== --- g++.dg/other/pr34435.C (revision 179052) +++ g++.dg/other/pr34435.C (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-msse2 -Wno-abi" } */ -/* { dg-require-effective-target sse2 } */ #include Index: g++.dg/other/mmintrin.C =================================================================== --- g++.dg/other/mmintrin.C (revision 179052) +++ g++.dg/other/mmintrin.C (working copy) @@ -1,5 +1,4 @@ // { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-options "-msse" } -// { dg-require-effective-target sse } #include