Fix move16 instruction disassembly
-----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJbOf2vAAoJEPMMOL0/L748N1QP/26mzQl4C6cq01wVcJeAUYSJ AFY2lVVaaYcqFT+U3O0Lv5iF9h3tj43rdvyPTKBGreF1qEhXgHFg6+vREJZMnyWu CEQ495gGy/yTXgJe9g871YOF0OzfFXMEYTRpNwzH/X8m2MU4dTvgld/U4iSUDB9C WVb63q1x2jk6igcvWz3kOyjSA7cp0KsVpfpA0M6wcQIxrqf7SOifVilM3GDcKSc4 1EOY/mAcE3T1apasxLkmuUu40IW0ktvtlunB25uTQOta0Es/ZjMVw3HmR2XbePNK iMBAuEO+POE4DEkGdjru0Msen8+QsJnn/HcY3zGmzO8m2eq/PtFZY8Kt+7EyFFYL 9GY9gYnFSQW3W4UsZmndaIIPAN5fjhOgqTxb0xEkVAEdoyyHHBTV6tOVRoWsvkeu z3zeLJAiO6hA6LFAa7yWNrk6WWmnq9Q/AC0+9Y3HItCRO1PcHexxIPWYmu+vV2Gn MVa27LIGfMGTc6rrVdSVC9CSGpxmxtsb4ly5g8TqoWAfzafOWsZPZet/ZmAG3XwC bqyaI5sw8/ntWMRSz6J1VuJ4WfVTcBqhgL8C1qtykcHn6rmgu7RPBOIQSkNYwVHF Vw3bfeYUgSFzcmG7J7eL/W/fFVI0m4XDTU/dY1lwRHwpu8tZN/FfajPBCb0PCrTO BaASmGqzT19HMovjXVuv =vvAG -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-3.0-pull-request' into staging Fix move16 instruction disassembly # gpg: Signature made Mon 02 Jul 2018 11:25:51 BST # gpg: using RSA key F30C38BD3F2FBE3C # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" # gpg: aka "Laurent Vivier <laurent@vivier.eu>" # gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * remotes/vivier/tags/m68k-for-3.0-pull-request: target/m68k: correctly disassemble move16 Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
2d58e33ec1
14
disas/m68k.c
14
disas/m68k.c
@ -2017,6 +2017,20 @@ print_insn_m68k (bfd_vma memaddr, disassemble_info *info)
|
||||
}
|
||||
}
|
||||
|
||||
/* Don't match FPU insns with non-default coprocessor ID. */
|
||||
if (*d == '\0')
|
||||
{
|
||||
for (d = opc->args; *d; d += 2)
|
||||
{
|
||||
if (d[0] == 'I')
|
||||
{
|
||||
val = fetch_arg (buffer, 'd', 3, info);
|
||||
if (val != 1)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (*d == '\0')
|
||||
if ((val = match_insn_m68k (memaddr, info, opc, & priv)))
|
||||
return val;
|
||||
|
Loading…
Reference in New Issue
Block a user