mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-10 23:15:28 +00:00
target/arm/translate-a64: Don't underdecode SDOT and UDOT
In the AdvSIMD scalar x indexed element and vector x indexed element encoding group, the SDOT and UDOT instructions are vector only, and their opcode is unallocated in the scalar group. Correctly UNDEF this unallocated encoding. Backports commit 4977986ca38fb1d5357532e1a8032b984047a369 from qemu
This commit is contained in:
parent
f7d78d9e08
commit
eaecbe7901
|
@ -12812,7 +12812,7 @@ static void disas_simd_indexed(DisasContext *s, uint32_t insn)
|
|||
break;
|
||||
case 0x0e: /* SDOT */
|
||||
case 0x1e: /* UDOT */
|
||||
if (size != MO_32 || !dc_isar_feature(aa64_dp, s)) {
|
||||
if (is_scalar || size != MO_32 || !dc_isar_feature(aa64_dp, s)) {
|
||||
unallocated_encoding(s);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue