From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 0/5] target-i386: add PCLMULQDQ and AES-NI instructions
Date: Sat, 30 Mar 2013 03:16:29 +0100 [thread overview]
Message-ID: <1364609794-16753-1-git-send-email-aurelien@aurel32.net> (raw)
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
next reply other threads:[~2013-03-30 2:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-30 2:16 Aurelien Jarno [this message]
2013-03-30 2:16 ` [Qemu-devel] [PATCH 1/5] target-i386: add pclmulqdq instruction Aurelien Jarno
2013-03-30 2:16 ` [Qemu-devel] [PATCH 2/5] target-i386: enable PCLMULQDQ on Westmere CPU Aurelien Jarno
2013-03-30 2:16 ` [Qemu-devel] [PATCH 3/5] aes: move aes.h from include/block to include/qemu Aurelien Jarno
2013-03-30 2:16 ` [Qemu-devel] [PATCH 4/5] aes: make Td[0-5] and Te[0-5] tables non static Aurelien Jarno
2013-03-30 2:16 ` [Qemu-devel] [PATCH 5/5] target-i386: add AES-NI instructions Aurelien Jarno
2013-03-30 7:44 ` [Qemu-devel] [PATCH 0/5] target-i386: add PCLMULQDQ and " Edgar E. Iglesias
2013-03-30 15:44 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364609794-16753-1-git-send-email-aurelien@aurel32.net \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).