Page MenuHomeFreeBSD

arm64/disassem.c: Add detection of xzr and sp
AbandonedPublic

Authored by koliagogsadze_gmail.com on Apr 27 2023, 10:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 5:22 AM
Unknown Object (File)
Mon, Jun 17, 12:32 AM
Unknown Object (File)
Jan 5 2024, 5:47 PM
Unknown Object (File)
Dec 25 2023, 5:13 PM
Unknown Object (File)
Dec 20 2023, 8:38 AM
Unknown Object (File)
Dec 12 2023, 11:43 AM
Unknown Object (File)
Nov 23 2023, 8:38 AM
Unknown Object (File)
Nov 23 2023, 7:43 AM
Subscribers

Details

Reviewers
mhorne
andrew
manu
Summary

Added support to distinguish between XZR/WZR and SP/WSP.
registers. Also "wSP" and "SP" were removed from w_reg and x_reg, since
num 31 can be SP or XZR, so a helper functions were introduced for this purpose
in arm64_reg to detect correct x31 register and added special
flags to determine if the instruction should be sp or xzr.

Test Plan

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51248
Build 48139: arc lint + arc unit