HomeFreeBSD

arm64/disassem.c: Add shifted register definitions with ror

Description

arm64/disassem.c: Add shifted register definitions with ror

Add disassembly support for the following shifted register instructions:

  • mvn
  • orn
  • orr
  • and
  • ands
  • bic
  • bics
  • eon
  • eor
  • tst

According to Arm64 documenation, operational pseuducode of shifted
register instruction must return UNDEFINED if shift type is RESERVED
('11'). Hence, removed "rsv" from shift_2 array and add "ror". In case
of shift type is 3 and this type is RESERVED, we will return
undefined.

Reviewed by: mhorne
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D40386

(cherry picked from commit 9aef25d2686b9e7fb9cb700d63291338e8e30bb6)

Details

Provenance
koliagogsadze_gmail.comAuthored on Jun 17 2023, 3:31 PM
mhorneCommitted on Jul 7 2023, 7:20 PM
Reviewer
mhorne
Differential Revision
D40386: arm64/disassem.c: Add shifted register definitions with ror
Parents
rGe3a1fe9acad9: hier(7): adjust overlays/ subdirectory
Branches
Unknown
Tags
Unknown