qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/7] target-i386: add PCLMULQDQ and AES-NI instructions
@ 2013-03-31 11:02 Aurelien Jarno
  2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 1/7] disas/i386.c: disassemble pclmulqdq instruction Aurelien Jarno
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Aurelien Jarno @ 2013-03-31 11:02 UTC (permalink / raw)
  To: qemu-devel; +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.

Changes v3 -> v4:
- Update dissassembler code to support these instructions.

Aurelien Jarno (7):
  disas/i386.c: disassemble pclmulqdq instruction
  target-i386: add pclmulqdq instruction
  target-i386: enable PCLMULQDQ on Westmere CPU
  disas/i386.c: disassemble aes-ni instructions
  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 +-
 disas/i386.c                 |   84 ++++++-
 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 +++++++++++++++++++++---------------------
 12 files changed, 517 insertions(+), 302 deletions(-)
 delete mode 100644 include/block/aes.h
 create mode 100644 include/qemu/aes.h

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-08-07 22:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-31 11:02 [Qemu-devel] [PATCH v4 0/7] target-i386: add PCLMULQDQ and AES-NI instructions Aurelien Jarno
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 1/7] disas/i386.c: disassemble pclmulqdq instruction Aurelien Jarno
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 2/7] target-i386: add " Aurelien Jarno
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 3/7] target-i386: enable PCLMULQDQ on Westmere CPU Aurelien Jarno
2013-08-07 22:12   ` Eduardo Habkost
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 4/7] disas/i386.c: disassemble aes-ni instructions Aurelien Jarno
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 5/7] aes: move aes.h from include/block to include/qemu Aurelien Jarno
2013-04-05 12:34   ` Stefan Hajnoczi
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 6/7] aes: make Td[0-5] and Te[0-5] tables non static Aurelien Jarno
2013-03-31 11:02 ` [Qemu-devel] [PATCH v4 7/7] target-i386: add AES-NI instructions Aurelien Jarno
2013-03-31 23:26 ` [Qemu-devel] [PATCH v4 0/7] target-i386: add PCLMULQDQ and " Richard Henderson

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).