]> git.proxmox.com Git - qemu.git/commit
target-arm: Simplify checking of size field in Neon 2reg-misc forms
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Apr 2011 15:26:20 +0000 (16:26 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 12 Apr 2011 21:33:33 +0000 (23:33 +0200)
commit600b828c448f108b89e1f864f0420a49ccb70d43
treeb0e98864472d85d65f1154e7d0a9a01b223dfe92
parent52579ea1c201ce10a5fe6f5734373543e462e345
target-arm: Simplify checking of size field in Neon 2reg-misc forms

Many of the Neon "2 register misc" instruction forms require invalid
size fields to cause the instruction to UNDEF. Pull this information
out into an array; this simplifies the code and also means we can do
the check early and avoid the problem of leaking TCG temporaries in
the illegal_op case.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c