]> git.proxmox.com Git - qemu.git/commit - target-arm/translate.c
target-arm: Use lookup table for size check on Neon 3-reg-same insns
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Apr 2011 15:26:11 +0000 (16:26 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 12 Apr 2011 19:51:51 +0000 (21:51 +0200)
commit62698be3bac2e4c969205f3849c48922e0e76e88
tree1d094b2e16bad1a01b3bef742f5cbd9b549f3c56
parent54f8e61d5bf8c80c407d8d6ea46ead816c029512
target-arm: Use lookup table for size check on Neon 3-reg-same insns

Simplify the checks for invalid size values for the Neon "three registers
of the same size" instruction forms (and add them where they were missing)
by using a lookup table.

This includes adding symbolic constants for the op values in this space,
since we now use them in multiple places.

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