target-arm: Allow 3reg_wide undefreq to encode more bad size options
authorPeter Maydell <peter.maydell@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)
commit526d0096e56e82ffa5edb15bd75c5c093e61fa59
tree2cda7872258d5bb64e686dedf1a1f934ae500992
parentf1ecb913d81199758383b8cbc15f4eb435b91753
target-arm: Allow 3reg_wide undefreq to encode more bad size options

The current undefreq field in the neon_3reg_wide handling allows us
to encode "UNDEF if size != 0" and "UNDEF if size == 0". This is
no longer sufficient with the advent of 64-bit polynomial VMULL,
which means we want to UNDEF if size == 1. Change the undefreq
encoding to use separate bits for all of "UNDEF if size == 0",
"UNDEF if size == 1" and "UNDEF if size == 2".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1401386724-26529-3-git-send-email-peter.maydell@linaro.org
target-arm/translate.c