]> git.proxmox.com Git - mirror_qemu.git/commit
target-ppc: Altivec 2.07: AES Instructions
authorTom Musta <tommusta@gmail.com>
Wed, 12 Feb 2014 21:23:17 +0000 (15:23 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:59 +0000 (03:06 +0100)
commit557d52fa697c938aeff2784b79df55952c3bfcc1
treecadb732d788c6cae4a14700ef5909da8f47724d8
parente8f7b27b9942d02ece7df34ae2b2a09cb9da7196
target-ppc: Altivec 2.07: AES Instructions

This patch adds the Vector AES instructions introduced in Power ISA
Version 2.07:

   - Vector AES Cipher (vcipher)
   - Vector AES Cipher Last (vcipherlast)
   - Vector AES Inverse Cipher (vncipher)
   - Vector AES Inverse Cipher Last (vncipherlast)
   - Vector AES SubBytes (vsbox)

Note that the implementation of vncipher deviates from the RTL in
ISA V2.07.  However it does match the verbal description in the
third paragraph.  The RTL will be fixed in ISA V2.07B.  The
implementation here has been tested against actual P8 hardware.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/helper.h
target-ppc/int_helper.c
target-ppc/translate.c