From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119551 invoked by alias); 10 Nov 2015 18:14:54 -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 119532 invoked by uid 89); 10 Nov 2015 18:14:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f172.google.com Received: from mail-ob0-f172.google.com (HELO mail-ob0-f172.google.com) (209.85.214.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 10 Nov 2015 18:14:52 +0000 Received: by obbza9 with SMTP id za9so3952893obb.1 for ; Tue, 10 Nov 2015 10:14:50 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.60.220.135 with SMTP id pw7mr2455656oec.51.1447179290434; Tue, 10 Nov 2015 10:14:50 -0800 (PST) Received: by 10.60.138.6 with HTTP; Tue, 10 Nov 2015 10:14:50 -0800 (PST) In-Reply-To: <564230CC.4080400@redhat.com> References: <564230CC.4080400@redhat.com> Date: Tue, 10 Nov 2015 18:14:00 -0000 Message-ID: Subject: Re: [PATCH, i386]: Fix gcc.c-torture/compile/pr41634.c FAIL From: Uros Bizjak To: Richard Henderson Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-11/txt/msg01265.txt.bz2 On Tue, Nov 10, 2015 at 7:00 PM, Richard Henderson wrote: > On 11/10/2015 06:54 PM, Uros Bizjak wrote: >> >> - return "movabs{}\t{%1, %0|%0, %1}"; >> + return "movabs{}\t{%1, %P0|[%P0], %1}"; > > > The thing that's missing from this, that's present in the patch that I sent > you off-list, is the thing for Intel syntax. > > Would you prefer to just add that back here via , rather than > using a new %v specifier like in my patch? I have opted for the same assembly code as it was generated previously. But, since we have macroized pattern and already available mode attribute, I'd prefer to use PTR [...]. There are already a couple of examples using this approach in i386.md. BTW: gas is able to determine pointer size from register name, so having PTR prefix does not change generated object code. Uros.