mirror of https://github.com/xemu-project/xemu.git
target-arm: Handle UNDEF cases for VEXT
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>
This commit is contained in:
parent
3e3326dfb0
commit
52579ea1c2
|
@ -5514,6 +5514,10 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
|
||||||
if (imm > 7 && !q)
|
if (imm > 7 && !q)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
if (q && ((rd | rn | rm) & 1)) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (imm == 0) {
|
if (imm == 0) {
|
||||||
neon_load_reg64(cpu_V0, rn);
|
neon_load_reg64(cpu_V0, rn);
|
||||||
if (q) {
|
if (q) {
|
||||||
|
|
Loading…
Reference in New Issue