diff options
author | Juha Riihimäki <juha.riihimaki@nokia.com> | 2010-03-26 16:06:55 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-08 21:12:24 +0200 |
commit | 8e31209eea0de25e35467e05b2541c4b064f815a (patch) | |
tree | acd3afb52226a70257cad492ac44fa222e455ba6 /target-arm/translate.c | |
parent | cb301efe4f511a3451ed58e13f673b02fb7f6159 (diff) |
target-arm: fix neon vmon/vmvn with modified immediate
Signed-Off-By: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-arm/translate.c')
-rw-r--r-- | target-arm/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index bc03368313..5c54919c38 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -4890,7 +4890,7 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn) imm = (imm << 8) | (imm << 24); break; case 12: - imm = (imm < 8) | 0xff; + imm = (imm << 8) | 0xff; break; case 13: imm = (imm << 16) | 0xffff; |