aboutsummaryrefslogtreecommitdiff
path: root/target-arm/translate.c
diff options
context:
space:
mode:
authorJuha Riihimäki <juha.riihimaki@nokia.com>2010-03-26 16:06:55 +0000
committerAurelien Jarno <aurelien@aurel32.net>2010-04-08 21:12:24 +0200
commit8e31209eea0de25e35467e05b2541c4b064f815a (patch)
treeacd3afb52226a70257cad492ac44fa222e455ba6 /target-arm/translate.c
parentcb301efe4f511a3451ed58e13f673b02fb7f6159 (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.c2
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;