diff options
author | Xin Wang <yw987194828@gmail.com> | 2024-09-06 08:54:07 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-09-07 10:06:03 +0800 |
commit | 2bbe1079021228795905938a4c4ce5f71575a20b (patch) | |
tree | eff47b1461678ff1d82aae76c02fe8798a83ce90 /gdb/python/py-uiout.h | |
parent | 4723415cda09b09dbac743f30f877355a49fdee2 (diff) | |
download | binutils-2bbe1079021228795905938a4c4ce5f71575a20b.zip binutils-2bbe1079021228795905938a4c4ce5f71575a20b.tar.gz binutils-2bbe1079021228795905938a4c4ce5f71575a20b.tar.bz2 |
Add macros to get opcode of instructions approriately
LoongArch: Add macros to get opcode and register of instructions appropriately
Currently, we get opcode of an instruction by manipulate the binary with
it's mask, it's a bit of a pain. Now a macro is defined to do this and a
macro to get the RD and RJ registers which is applicable to most instructions
of LoongArch are added.
Diffstat (limited to 'gdb/python/py-uiout.h')
0 files changed, 0 insertions, 0 deletions