Received: from eggs.gnu.org ([2001:4830:134:3::10]:53918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VthEl-0001ZP-AY for qemu-devel@nongnu.org; Thu, 19 Dec 2013 12:18:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VthEf-0000ur-A4 for qemu-devel@nongnu.org; Thu, 19 Dec 2013 12:18:15 -0500 Message-ID: <1387473455.3140.91.camel@snotra.buserror.net> From: Scott Wood Date: Thu, 19 Dec 2013 11:17:35 -0600 In-Reply-To: <52B3124D.9060907@gmail.com> References: <1386604035-2507-1-git-send-email-tommusta@gmail.com> <1386604035-2507-2-git-send-email-tommusta@gmail.com> <1387404157.3140.68.camel@snotra.buserror.net> <7C13E820-F604-4C25-BE2D-F8C76AC9B6B7@suse.de> <1387404681.3140.70.camel@snotra.buserror <52B3124D.9060907@gmail.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 01/18] target-ppc: Add Flag for Power ISA V2.06 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tom Musta Cc: qemu-ppc , Alexander Graf , QEMU Developers On Thu, 2013-12-19 at 09:35 -0600, Tom Musta wrote: > It turns out that all of the instructions added in this series are *not* implemented > in e500mc. So the patch, as is, is correct for e500mc as well as P7/P8. That may be true for e500mc (for some reason it didn't look that way when I checked yesterday), but e5500 supports bpermd. e6500 (not in QEMU yet, but hopefully added soon) additionally supports lbarx/lharx/stbcx./sthcx. > The problem with this patch series seems to be that previously implemented ISA2.06 > instructions were given their own flags (e.g. PPC_POPCNTWD). But this series attempted > to use a single flag for all of base ISA 2.06. > > Based on Alex's suggestion, I propose that I re-implement, eliminating PPC2_ISA206 and > replacing it with the following new flags: > > - PPC2_PERMUTE_206 (bpermd) > - PPC2_DIV_EXT_206 (div[wd]e[u]) > - PPC2_ATOMIC_206 (l[bh]arx, st[bh]cx.) > - PPC2_FP_CVT_206 (fcfid*, fcti[dw]u[z], lfiwzx) > - PPC2_FP_TEST_206 (ftdiv, ftsqrt) > > Comments? Sounds good. -Scott