RRZE-HPC / OSACA

Open Source Architecture Code Analyzer
GNU Affero General Public License v3.0
296 stars 18 forks source link

Support for flags and conditional ops on AArch64 #92

Closed dgazzoni closed 1 year ago

dgazzoni commented 1 year ago

This PR implements support for flags (NZCV) and conditional operations on AArch64.

All integer instructions that update or read from the flags were added/updated in data/isa/aarch64.yml. A small change in the parsing grammar was required, due to condition code arguments on conditional instructions such as csel x0, x1, x2, eq.

I will be glad to assist in getting this merged. Please let me know anything that is needed from my end to make sure this is merged.