From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULlLV-0005Uz-55 for qemu-devel@nongnu.org; Fri, 29 Mar 2013 22:16:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULlLT-0008SZ-RK for qemu-devel@nongnu.org; Fri, 29 Mar 2013 22:16:41 -0400 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:40206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULlLT-0008SH-L0 for qemu-devel@nongnu.org; Fri, 29 Mar 2013 22:16:39 -0400 From: Aurelien Jarno Date: Sat, 30 Mar 2013 03:16:29 +0100 Message-Id: <1364609794-16753-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] [PATCH 0/5] target-i386: add PCLMULQDQ and AES-NI instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aurelien Jarno This patch series adds the PCLMULQDQ and AES-NI instructions to the x86 emulation. Along with the SSE4.1 and SSE4.2 series, this brings the instructions emulation to the level of a Westmere CPU. It has been tested with the valgrind testsuite and with the kernel autotest. Changes v1 -> v2: - Patch 3: Declare all constant tables as static Changes v2 -> v3: - Use constant tables from aes.c. - Fix AES instructions when source and destination registers are the same. Aurelien Jarno (5): target-i386: add pclmulqdq instruction target-i386: enable PCLMULQDQ on Westmere CPU aes: move aes.h from include/block to include/qemu aes: make Td[0-5] and Te[0-5] tables non static target-i386: add AES-NI instructions block/qcow.c | 2 +- block/qcow2.c | 2 +- block/qcow2.h | 2 +- include/block/aes.h | 26 --- include/qemu/aes.h | 45 ++++ target-i386/cpu.c | 19 +- target-i386/fpu_helper.c | 1 + target-i386/ops_sse.h | 111 +++++++++ target-i386/ops_sse_header.h | 11 + target-i386/translate.c | 10 + util/aes.c | 506 +++++++++++++++++++++--------------------- 11 files changed, 443 insertions(+), 292 deletions(-) delete mode 100644 include/block/aes.h create mode 100644 include/qemu/aes.h -- 1.7.10.4