mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 14:15:39 +00:00
target/arm/translate-a64: Fix FCMLA decoding error
The FCMLA (by element) instruction exists in the "vector x indexed element" encoding group, but not in the "scalar x indexed element" group. Correctly UNDEF the unallocated encodings. Backports commit 4dfabb6d568e6b315594d7d464dacaf3368aff60 from qemu
This commit is contained in:
parent
eaecbe7901
commit
f999e06c22
|
@ -12821,7 +12821,7 @@ static void disas_simd_indexed(DisasContext *s, uint32_t insn)
|
|||
case 0x13: /* FCMLA #90 */
|
||||
case 0x15: /* FCMLA #180 */
|
||||
case 0x17: /* FCMLA #270 */
|
||||
if (!dc_isar_feature(aa64_fcma, s)) {
|
||||
if (is_scalar || !dc_isar_feature(aa64_fcma, s)) {
|
||||
unallocated_encoding(s);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue