]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - include/ChangeLog
MIPS/opcodes: Factor out ISA matching against flags
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sat, 29 May 2021 01:26:32 +0000 (03:26 +0200)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Sat, 29 May 2021 01:26:32 +0000 (03:26 +0200)
commitb1458c4569ec9eeb077e928b0eb6b210c7eb647f
treed82486e9a8cf3d39b54d5338d6d44b6de311145b
parentdd8444682498d975be541793fe00ababe3223b6d
MIPS/opcodes: Factor out ISA matching against flags

In preparation for the next change factor out code for ISA matching
against instruction flags used in MIPS opcode tables, similarly to how
CPU matching is already done.  No functional change, though for clarity
split the single `if' statement into multiple ones and use temporaries
rather than repeated expressions.

include/
* opcode/mips.h (isa_is_member): New inline function, factored
out from...
(opcode_is_member): ... here.
include/ChangeLog
include/opcode/mips.h