From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23763 invoked by alias); 20 May 2014 10:37:01 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 23739 invoked by uid 89); 20 May 2014 10:37:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 20 May 2014 10:36:59 +0000 Received: by mail-pd0-f178.google.com with SMTP id v10so207159pde.9 for ; Tue, 20 May 2014 03:36:57 -0700 (PDT) X-Received: by 10.68.172.193 with SMTP id be1mr10068873pbc.31.1400582217830; Tue, 20 May 2014 03:36:57 -0700 (PDT) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPSA id pq3sm2452902pbb.57.2014.05.20.03.36.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 May 2014 03:36:57 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 7A213EA00F1; Tue, 20 May 2014 20:06:52 +0930 (CST) Date: Tue, 20 May 2014 10:37:00 -0000 From: Alan Modra To: Pierre Muller , Christian Svensson Cc: binutils@sourceware.org, fche@sourceware.org Subject: Re: [RFA] fix mingw32 --enable-targets=all --enable-64-bit-bfd failure in or1k-desc.h Message-ID: <20140520103652.GR5162@bubble.grove.modra.org> Mail-Followup-To: Pierre Muller , Christian Svensson , binutils@sourceware.org, fche@sourceware.org References: <5377d006.617a420a.5cb0.ffffeacbSMTPIN_ADDED_BROKEN@mx.google.com> <20140519004639.GK5162@bubble.grove.modra.org> <537b174b.a413c20a.4a37.3c76SMTPIN_ADDED_BROKEN@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <537b174b.a413c20a.4a37.3c76SMTPIN_ADDED_BROKEN@mx.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00173.txt.bz2 On Tue, May 20, 2014 at 10:50:12AM +0200, Pierre Muller wrote: > > On Sat, May 17, 2014 at 11:09:06PM +0200, Pierre Muller wrote: > > > 2014-05-17 Pierre Muller > > > > > > * or1k-desc.h (enum spr_field_masks): Remove compilation warning > > > on 32-bit systems. > > > > > > diff --git a/opcodes/or1k-desc.h b/opcodes/or1k-desc.h > > > > No, sorry, this file is generated. If this patch is committed, it > > will be undone next time the file is regenerated. I suspect you'll > > need to poke at cgen itself to fix this problem. > > Sorry, but this goes way beyond my skills... > I looked a little bit in cpu/or1* files > and in the opcodes/cgen* files, and this seems to > be based on guile, which is a language I know nothing about ... I took a look, and it seems to me there is no need for enum spr_field_masks.. OK, Christian? cpu/ * or1kcommon.cpu (spr-field-masks): Delete. opcodes/ * or1k-desc.h: Regenerate. diff --git a/cpu/or1kcommon.cpu b/cpu/or1kcommon.cpu index 1119f98..b23efbe 100644 --- a/cpu/or1kcommon.cpu +++ b/cpu/or1kcommon.cpu @@ -301,22 +301,6 @@ ) ) -(define-normal-enum - spr-field-masks - "SPR field masks" - () - SPR-FIELD-MASK- - (.map (.pmacro (args) - (.apply (.pmacro (group index field msb lsb comment) - (.splice (.str group "-" index "-" field) (.sll (.inv (.sll (.inv 0) (.add (.sub msb lsb) 1))) lsb)) - ) - args - ) - ) - (spr-field-info) - ) - ) - (define-pmacro (define-h-spr-field spr-group spr-index spr-field spr-field-msb spr-field-lsb spr-field-comment) (.let ((spr-field-name (.sym "h-" (.downcase spr-group) "-" (.downcase spr-index) "-" (.downcase spr-field))) ) -- Alan Modra Australia Development Lab, IBM