From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq33d-0003Ki-Hq for qemu-devel@nongnu.org; Mon, 09 Dec 2013 10:47:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq33U-0000zH-MU for qemu-devel@nongnu.org; Mon, 09 Dec 2013 10:47:41 -0500 From: Tom Musta Date: Mon, 9 Dec 2013 09:46:57 -0600 Message-Id: <1386604035-2507-1-git-send-email-tommusta@gmail.com> Subject: [Qemu-devel] [PATCH 00/18] target-ppc: Base ISA V2.06 for Power7/Power8 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Tom Musta , qemu-ppc@nongnu.org The QEMU emulation models for Power7 and Power8 are still missing some of the base instructions that were introduced in Power ISA 2.06 and even a few that were introduced prior to that. This patch series gets these models caught up with respect to the base 2.06 ISA. That is, the Book I and Book II instructions for the branch, fixed point and floating point units will be completed with this series. Decimal floating point is not addressed in this series, nor are the base ISA 2.07 changes for the Power8 model. In some cases, existing instructions are re-implemented using common macros, thus eliminating some redundant code. The patch series eliminates almost half as much code as it adds. Additionally, some bugs in the common floating point library (softfloat) are fixed. Tom Musta (18): target-ppc: Add Flag for Power ISA V2.06 target-ppc: Add ISA2.06 bpermd Instruction target-ppc: Add ISA2.06 divdeu[o] Instructions target-ppc: Add ISA2.06 divde[o] Instructions target-ppc: Add ISA 2.06 divwe[u][o] Instructions target-ppc: Add ISA2.06 lbarx, lharx Instructions target-ppc: Add ISA 2.06 stbcx. and sthcx. Instructions target-ppc: Add ISA2.06 Float to Integer Instructions softfloat: Fix Handling of Small Negatives in float64_to_uint64 softfloat: Fix float64_to_uint64_round_to_zero softfloat: Fix float64_to_uint32 softfloat: Fix float64_to_uint32_round_to_zero target-ppc: Add ISA 2.06 fcfid[u][s] Instructions target-ppc: Fix and enable fri[mnpz] target-ppc: Add ISA 2.06 ftdiv Instruction target-ppc: Add ISA 2.06 ftsqrt target-ppc: Enable frsqrtes on Power7 and Power8 target-ppc: Add ISA2.06 lfiwzx Instruction fpu/softfloat.c | 73 +++++------ target-ppc/cpu.h | 4 +- target-ppc/fpu_helper.c | 248 ++++++++++++++++++--------------- target-ppc/helper.h | 13 ++ target-ppc/int_helper.c | 111 +++++++++++++++ target-ppc/translate.c | 318 +++++++++++++++++++++++++++++++++---------- target-ppc/translate_init.c | 10 +- 7 files changed, 547 insertions(+), 230 deletions(-)