From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c49bm-0001XT-Qa for qemu-devel@nongnu.org; Tue, 08 Nov 2016 11:50:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c49bi-0004Ln-5w for qemu-devel@nongnu.org; Tue, 08 Nov 2016 11:50:50 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:46463) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c49bh-0004KF-T2 for qemu-devel@nongnu.org; Tue, 08 Nov 2016 11:50:46 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uA8Gms81028292 for ; Tue, 8 Nov 2016 11:50:44 -0500 Received: from e24smtp05.br.ibm.com (e24smtp05.br.ibm.com [32.104.18.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 26kgaurj4e-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 08 Nov 2016 11:50:44 -0500 Received: from localhost by e24smtp05.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 Nov 2016 14:50:41 -0200 From: Jose Ricardo Ziviani Date: Tue, 8 Nov 2016 14:50:21 -0200 Message-Id: <1478623825-8460-1-git-send-email-joserz@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v5 0/4] POWER9 TCG enablements - BCD functions part I 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 v5: - reuse bcd_cmp_zero function - improve zoned loop by using one index v4: - throws invalid for any instruction not implemented by default - creates a function to compare bcd value to zero v3: - generates invalid instruction excpetion when opc4 is not handled/invalid - changes get_national ret. type to uint16_t to handle invalid encoding - small improvements v2: - implements all fixes and suggestions This serie contains 4 new instructions for POWER9 ISA3.0 bcdcfn.: Decimal Convert From National bcdctn.: Decimal Convert To National bcdcfz.: Decimal Convert From Zoned bcdctz.: Decimal Convert to Zoned Jose Ricardo Ziviani (4): target-ppc: Implement bcdcfn. instruction target-ppc: Implement bcdctn. instruction target-ppc: Implement bcdcfz. instruction target-ppc: Implement bcdctz. instruction target-ppc/helper.h | 4 + target-ppc/int_helper.c | 186 ++++++++++++++++++++++++++++++++++++ target-ppc/translate/vmx-impl.inc.c | 73 ++++++++++++++ target-ppc/translate/vmx-ops.inc.c | 4 +- 4 files changed, 265 insertions(+), 2 deletions(-) -- 2.7.4