From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25778 invoked by alias); 30 Jan 2015 10:24:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 25741 invoked by uid 89); 30 Jan 2015 10:24:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 30 Jan 2015 10:24:43 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0UAOfMM019114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 30 Jan 2015 05:24:41 -0500 Received: from tucnak.zalov.cz (ovpn-116-98.ams2.redhat.com [10.36.116.98]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0UAOdTX027076 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 30 Jan 2015 05:24:41 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.9/8.14.9) with ESMTP id t0UAOcZF004379; Fri, 30 Jan 2015 11:24:38 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.9/8.14.9/Submit) id t0UAOaYP004378; Fri, 30 Jan 2015 11:24:36 +0100 Date: Fri, 30 Jan 2015 11:46:00 -0000 From: Jakub Jelinek To: Uros Bizjak Cc: "gcc-patches@gcc.gnu.org" , Jeff Law , Dominique Dhumieres Subject: Re: [PATCH][PR target/15184] Fix for direct byte access on x86 Message-ID: <20150130102436.GA1746@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <54CB20CA.3070709@redhat.com> <20150130101319.GZ1746@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg02709.txt.bz2 On Fri, Jan 30, 2015 at 11:23:38AM +0100, Uros Bizjak wrote: > On Fri, Jan 30, 2015 at 11:13 AM, Jakub Jelinek wrote: > > >> /* Each function should compile down to a byte move from > >> the input register into x, possibly at an offset within x. */ > >> -/* { dg-final { scan-assembler-times "\tmovb\t%al, x" 4 } } */ > >> +/* { dg-final { scan-assembler-times "movb\[ \\t\]+%al" 4 } } */ > > > > Shouldn't that better be movb\[^\n\r\]+%al, so that it doesn't > > fail with -masm=intel ? > > Unfortunately, -masm=intel emits "mov ..., al". And since there is > already plenty of scan-asms for mov[lq], I just took the easy shortcut > ;) Ok, let's consider --target_board=unix/-masm=intel as unsupportable then. Jakub