[PATCH v1 0/2] Add support for "pcaddi rd, label"
mengqinggang
mengqinggang@loongson.cn
Wed Aug 9 01:39:37 GMT 2023
Changes:
According to Wang Xuerui's suggestion, change "pc20" to "pcrel_20".
mengqinggang (2):
LoongArch: Fix pcaddi format string
LoongArch: Add support for "pcaddi rd, label"
bfd/elfxx-loongarch.c | 4 +-
gas/testsuite/gas/loongarch/imm_ins.d | 137 +++++++++++++-------------
gas/testsuite/gas/loongarch/imm_op.d | 82 +++++++--------
gas/testsuite/gas/loongarch/imm_op.s | 4 +-
gas/testsuite/gas/loongarch/pcaddi.d | 13 +++
gas/testsuite/gas/loongarch/pcaddi.s | 4 +
opcodes/loongarch-opc.c | 3 +-
7 files changed, 133 insertions(+), 114 deletions(-)
create mode 100644 gas/testsuite/gas/loongarch/pcaddi.d
create mode 100644 gas/testsuite/gas/loongarch/pcaddi.s
--
2.36.0
More information about the Binutils
mailing list