projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e3326d
)
target-arm: Handle UNDEF cases for VEXT
author
Peter Maydell
<peter.maydell@linaro.org>
Mon, 11 Apr 2011 15:26:19 +0000
(16:26 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 12 Apr 2011 21:33:33 +0000
(23:33 +0200)
VEXT must UNDEF if Q == 1 && (Vd<0> == 1 || Vr<0> == 1 || Vm<0> == 1)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c
patch
|
blob
|
history
diff --git
a/target-arm/translate.c
b/target-arm/translate.c
index 15c2015d90c9b6f9c21a4c74b8b09e72eff4902b..f47e5ea48716b041e7bac450afa2d4ce6bb95fba 100644
(file)
--- a/
target-arm/translate.c
+++ b/
target-arm/translate.c
@@
-5514,6
+5514,10
@@
static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
if (imm > 7 && !q)
return 1;
+ if (q && ((rd | rn | rm) & 1)) {
+ return 1;
+ }
+
if (imm == 0) {
neon_load_reg64(cpu_V0, rn);
if (q) {