]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
opcodes: aarch64: add flags to denote subclasses of arithmetic insns
authorIndu Bhagat <indu.bhagat@oracle.com>
Fri, 19 Jul 2024 03:24:22 +0000 (20:24 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Fri, 19 Jul 2024 03:54:14 +0000 (20:54 -0700)
commit7ecbb8589317cddebc075ae2d14040ec1477b718
tree2d11523bee436331276751c76fce3a973b4b7f73
parent0cb8f3f0c5069fb3701782a9682b1cfdb5dffff8
opcodes: aarch64: add flags to denote subclasses of arithmetic insns

Use the three new subclass flags: F_ARITH_ADD, F_ARITH_SUB,
F_ARITH_MOV, to indicate add, sub and mov ops respectively.

These flags for subclasses will later be used for SCFI purposes to
create appropriate ginsns.  At this time, only those iclasses relevant
to SCFI have the new subclass flags specified.

For addg and subg insns, F_SUBCLASS_OTHER is more suitable because these
operations do more than just simple add or sub.

opcodes/
    * aarch64-tbl.h: Use the new F_ARITH_* flags.
opcodes/aarch64-tbl.h