From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9906 invoked by alias); 2 Sep 2012 04:37:26 -0000 Received: (qmail 9770 invoked by uid 22791); 2 Sep 2012 04:37:25 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_MV X-Spam-Check-By: sourceware.org Received: from mail-pb0-f41.google.com (HELO mail-pb0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 02 Sep 2012 04:37:12 +0000 Received: by pbbro12 with SMTP id ro12so7120537pbb.0 for ; Sat, 01 Sep 2012 21:37:11 -0700 (PDT) Received: by 10.68.200.162 with SMTP id jt2mr28195889pbc.54.1346560631822; Sat, 01 Sep 2012 21:37:11 -0700 (PDT) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPS id sj5sm6982360pbc.30.2012.09.01.21.37.09 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Sep 2012 21:37:11 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 8F4EDEA0384; Sun, 2 Sep 2012 14:07:05 +0930 (CST) Date: Sun, 02 Sep 2012 04:37:00 -0000 From: Alan Modra To: "Maciej W. Rozycki" Cc: Peter Bergner , James Lemke , binutils@sourceware.org, Catherine Moore Subject: Re: [RFA] PowerPC VLE port - opcodes update Message-ID: <20120902043705.GL3159@bubble.grove.modra.org> Mail-Followup-To: "Maciej W. Rozycki" , Peter Bergner , James Lemke , binutils@sourceware.org, Catherine Moore References: <500EC1E0.4080302@codesourcery.com> <20120830233850.48bbaabbda1d827eb51d692e@vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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 X-SW-Source: 2012-09/txt/msg00010.txt.bz2 On Fri, Aug 31, 2012 at 11:52:53AM +0100, Maciej W. Rozycki wrote: > The logic to interpret the PPCVLE > (PPC_OPCODE_VLE) flag should IMHO be changed such that in the VLE mode > (-mvle) it does not enable any instruction such marked unconditionally. Agreed. > So for example EVADDW would only be enabled whevener -mvle and -mspe are > used both at the same time, likewise VADDUBS would only work with -mvle > and -maltivec and with a lone -mvle neither of these instructions would be > enabled. The disassembler would work accordingly -- choosing the right > instruction to dump based on the architecture selected or inferred from > ELF object flags and the VLE section attribute. Yes, and of course you can use other -m/-M options to select the underlying flags. -- Alan Modra Australia Development Lab, IBM