From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9aJA-0005OC-Hv for qemu-devel@nongnu.org; Wed, 23 Nov 2016 11:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9aJ7-0007Gc-CW for qemu-devel@nongnu.org; Wed, 23 Nov 2016 11:22:04 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:56574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9aJ7-0007Fq-3J for qemu-devel@nongnu.org; Wed, 23 Nov 2016 11:22:01 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uANGJ5cp139668 for ; Wed, 23 Nov 2016 11:21:59 -0500 Received: from e24smtp01.br.ibm.com (e24smtp01.br.ibm.com [32.104.18.85]) by mx0a-001b2d01.pphosted.com with ESMTP id 26we2xj2hb-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 23 Nov 2016 11:21:59 -0500 Received: from localhost by e24smtp01.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 23 Nov 2016 14:21:56 -0200 From: Jose Ricardo Ziviani Date: Wed, 23 Nov 2016 14:21:41 -0200 Message-Id: <1479918105-15616-1-git-send-email-joserz@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/4] POWER9 TCG enablements - BCD functions part II List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: qemu-devel@nongnu.org, david@gibson.dropbear.id.au, nikunj@linux.vnet.ibm.com, bharata@linux.vnet.ibm.com v2: - use div128 and mul64 functions to make code easier to understand - fixed int128 neg - improved functions bcdcpsgn and bcdsetsgn to do less work than necessary - rebased on ppc-for-2.9 This serie contains 4 new instructions for POWER9 ISA3.0 bcdcfsq.: Convert signed quadword to packed BCD bcdctsq.: Convert packed BCD to signed quadword bcdcpsgn.: Copy the sign of a register to another bcdsetsgn.: Set the BCD sign according to a preferred sign Jose Ricardo Ziviani (4): target-ppc: Implement bcdcfsq. instruction target-ppc: Implement bcdctsq. instruction target-ppc: Implement bcdcpsgn. instruction target-ppc: Implement bcdsetsgn. instruction target-ppc/helper.h | 4 ++ target-ppc/int_helper.c | 127 ++++++++++++++++++++++++++++++++++++ target-ppc/translate/vmx-impl.inc.c | 25 +++++++ target-ppc/translate/vmx-ops.inc.c | 2 +- 4 files changed, 157 insertions(+), 1 deletion(-) -- 2.7.4