mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-10 15:17:32 +00:00
target/arm: Convert Unallocated memory hint
Backports commit 610f4e1764aa2049fa1711893ff62faf777813f3 from qemu
This commit is contained in:
parent
4593c67444
commit
e6b4480ca9
|
@ -64,3 +64,11 @@ PLI 1111 0100 -101 ---- 1111 ---- ---- ---- # (imm, lit) 7
|
||||||
PLD 1111 0111 -101 ---- 1111 ----- -- 0 ---- # (register) 5te
|
PLD 1111 0111 -101 ---- 1111 ----- -- 0 ---- # (register) 5te
|
||||||
PLDW 1111 0111 -001 ---- 1111 ----- -- 0 ---- # (register) 7mp
|
PLDW 1111 0111 -001 ---- 1111 ----- -- 0 ---- # (register) 7mp
|
||||||
PLI 1111 0110 -101 ---- 1111 ----- -- 0 ---- # (register) 7
|
PLI 1111 0110 -101 ---- 1111 ----- -- 0 ---- # (register) 7
|
||||||
|
|
||||||
|
# Unallocated memory hints
|
||||||
|
#
|
||||||
|
# Since these are v7MP nops, and PLDW is v7MP and implemented as nop,
|
||||||
|
# (ab)use the PLDW helper.
|
||||||
|
|
||||||
|
PLDW 1111 0100 -001 ---- ---- ---- ---- ----
|
||||||
|
PLDW 1111 0110 -001 ---- ---- ---- ---0 ----
|
||||||
|
|
|
@ -10681,14 +10681,6 @@ static void disas_arm_insn(DisasContext *s, unsigned int insn)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (((insn & 0x0f700000) == 0x04100000) ||
|
|
||||||
((insn & 0x0f700010) == 0x06100000)) {
|
|
||||||
if (!arm_dc_feature(s, ARM_FEATURE_V7MP)) {
|
|
||||||
goto illegal_op;
|
|
||||||
}
|
|
||||||
return; /* v7MP: Unallocated memory hint: must NOP */
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((insn & 0x0e000f00) == 0x0c000100) {
|
if ((insn & 0x0e000f00) == 0x0c000100) {
|
||||||
if (arm_dc_feature(s, ARM_FEATURE_IWMMXT)) {
|
if (arm_dc_feature(s, ARM_FEATURE_IWMMXT)) {
|
||||||
/* iWMMXt register transfer. */
|
/* iWMMXt register transfer. */
|
||||||
|
|
Loading…
Reference in a new issue