]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-arm: add support for v8 SHA1 and SHA256 instructions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 9 Jun 2014 14:43:23 +0000 (15:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jun 2014 15:06:11 +0000 (16:06 +0100)
commitf1ecb913d81199758383b8cbc15f4eb435b91753
treef89668491c992e0bce53847a868db7c6fdfa764d
parentd615efac7c4dc0984de31791c5c7d6b06408aadb
target-arm: add support for v8 SHA1 and SHA256 instructions

This adds support for the SHA1 and SHA256 instructions that are available
on some v8 implementations of Aarch32.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1401386724-26529-2-git-send-email-peter.maydell@linaro.org
[PMM:
 * rebase
 * fix bad indent
 * add a missing UNDEF check for Q!=1 in the 3-reg SHA1/SHA256 case
 * use g_assert_not_reached()
 * don't re-extract bit 6 for the 2-reg-misc encodings
 * set the ELF HWCAP2 bits for the new features
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/elfload.c
target-arm/cpu.c
target-arm/cpu.h
target-arm/crypto_helper.c
target-arm/helper.h
target-arm/translate.c