From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7951 invoked by alias); 30 Jan 2015 19:43:40 -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 7937 invoked by uid 89); 30 Jan 2015 19:43:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 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 19:43:38 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0UJhZEb025525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 30 Jan 2015 14:43:36 -0500 Received: from [10.3.113.3] ([10.3.113.3]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0UJhXDF030197; Fri, 30 Jan 2015 14:43:34 -0500 Message-ID: <54CBDEE5.5000204@redhat.com> Date: Fri, 30 Jan 2015 20:36:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Jakub Jelinek , Uros Bizjak CC: "gcc-patches@gcc.gnu.org" , Dominique Dhumieres Subject: Re: [PATCH][PR target/15184] Fix for direct byte access on x86 References: <54CB20CA.3070709@redhat.com> <20150130101319.GZ1746@tucnak.redhat.com> <20150130102436.GA1746@tucnak.redhat.com> In-Reply-To: <20150130102436.GA1746@tucnak.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg02760.txt.bz2 On 01/30/15 03:24, Jakub Jelinek wrote: > 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. Yes, definitely. jeff