From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cD2RA-0001iz-4k for qemu-devel@nongnu.org; Sat, 03 Dec 2016 00:00:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cD2R5-0005Gz-BB for qemu-devel@nongnu.org; Sat, 03 Dec 2016 00:00:36 -0500 Received: from 001b2d01.pphosted.com ([148.163.156.1]:60861 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cD2R5-0005Gg-2l for qemu-devel@nongnu.org; Sat, 03 Dec 2016 00:00:31 -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 uB34wbbJ135063 for ; Sat, 3 Dec 2016 00:00:28 -0500 Received: from e24smtp04.br.ibm.com (e24smtp04.br.ibm.com [32.104.18.25]) by mx0a-001b2d01.pphosted.com with ESMTP id 273gjysv87-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 03 Dec 2016 00:00:27 -0500 Received: from localhost by e24smtp04.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 3 Dec 2016 03:00:25 -0200 From: Jose Ricardo Ziviani Date: Sat, 3 Dec 2016 02:59:59 -0200 Message-Id: <1480741206-32737-1-git-send-email-joserz@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/7] POWER9 TCG enablements - BCD functions - final part 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 This serie contains 5 new instructions for POWER9 ISA3.0, left/right shifts for unsigned quadwords and a small improvement to check whether a bcd value is valid or not. bcds.: Decimal signed shift bcdus.: Decimal unsigned shift bcdsr.: Decimal shift and round bcdtrunc.: Decimal signed trucate bcdtrunc.: Decimal unsigned truncate Jose Ricardo Ziviani (7): target-ppc: Implement bcd_is_valid function target-ppc: Implement unsigned quadword left/right shift and unit tests target-ppc: Implement bcds. instruction target-ppc: Implement bcdus. instruction target-ppc: Implement bcdsr. instruction target-ppc: Implement bcdtrunc. instruction target-ppc: Implement bcdtrunc. instruction include/qemu/host-utils.h | 29 +++++ target-ppc/helper.h | 5 + target-ppc/int_helper.c | 229 +++++++++++++++++++++++++++++++++++- target-ppc/translate/vmx-impl.inc.c | 16 +++ target-ppc/translate/vmx-ops.inc.c | 13 +- tests/Makefile.include | 5 +- tests/test-shift128.c | 97 +++++++++++++++ util/host-utils.c | 38 ++++++ 8 files changed, 422 insertions(+), 10 deletions(-) create mode 100644 tests/test-shift128.c -- 2.7.4