From patchwork Wed Sep 22 09:00:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 65411 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 963A0B70AF for ; Wed, 22 Sep 2010 18:59:44 +1000 (EST) Received: (qmail 11671 invoked by alias); 22 Sep 2010 08:59:41 -0000 Received: (qmail 11658 invoked by uid 22791); 22 Sep 2010 08:59:40 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Sep 2010 08:59:35 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8M8xYLW000951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 22 Sep 2010 04:59:34 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [10.16.42.4]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8M8xXd4006607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 22 Sep 2010 04:59:33 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [127.0.0.1]) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4) with ESMTP id o8M90jit007940 for ; Wed, 22 Sep 2010 11:00:45 +0200 Received: (from jakub@localhost) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4/Submit) id o8M90jNG007938 for gcc-patches@gcc.gnu.org; Wed, 22 Sep 2010 11:00:45 +0200 Date: Wed, 22 Sep 2010 11:00:45 +0200 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] Tighten up scan-assembler-not regexps in gcc/testsuite/gcc.target/i386/pr45739.c Message-ID: <20100922090044.GW1269@tyan-ft48-01.lab.bos.redhat.com> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes 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 Hi! Apparently darwin assembler section directive matches por, I've added requirement of xmm on the same line to make sure it is matching only insns. Tested on x86_64-linux and i686-linux with cc1 before/after the simplify-rtx.c change, committed as obvious. 2010-09-22 Jakub Jelinek PR rtl-optimization/45739 * gcc.target/i386/pr45739.c: Tighten up scan-assembler-not regexps. Jakub --- gcc/testsuite/gcc.target/i386/pr45739.c.jj 2010-09-21 13:43:54.000000000 +0200 +++ gcc/testsuite/gcc.target/i386/pr45739.c 2010-09-22 10:42:12.000000000 +0200 @@ -20,5 +20,5 @@ bar (void) var = _mm_or_si128 (var, zero); } -/* { dg-final { scan-assembler-not "pxor" } } */ -/* { dg-final { scan-assembler-not "por" } } */ +/* { dg-final { scan-assembler-not "pxor\[^\n\]*xmm" } } */ +/* { dg-final { scan-assembler-not "por\[^\n\]*xmm" } } */