Files
binutils-gdb/opcodes
Lulu Cai 8bea934667 LoongArch: Add disassembly support for ud ui5
ud ui5, also known as amswap.w rd,$r1,rj(rd==rj), is displayed as
"ud ui5" by default during disassembly. Alternatively, the original
instruction can be printed using the objdump -M no-aliases.

To implement this support, a format specifier "ru0:5,ru5:5" for ud is
applied exclusively during disassembly. This specifier indicates that
registers should be printed using their corresponding numeric values,
and when the instruction is identified as ud, only a single parameter
is displayed.

binutils/

        * testsuite/binutils-all/loongarch64/dis-amswap-ud-noaliases.d:
	  New test.
        * testsuite/binutils-all/loongarch64/dis-amswap-ud.d: New test.
        * testsuite/binutils-all/loongarch64/dis-amswap-ud.s: New test.

gas/

        * testsuite/gas/loongarch/macro_ud.d: Update test.

include/

        * opcode/loongarch.h: New macro.

opcodes/

        * loongarch-dis.c (get_loongarch_opcode_by_binfmt): Correct match `ud`.
        (dis_one_arg): Disassemble the `ud` parameter.
        * loongarch-opc.c: Add opcode for "ud" alias.
2025-12-20 10:49:47 +08:00
..
2025-07-13 08:35:45 +01:00
2025-11-03 10:59:50 +10:30
2025-08-07 22:14:49 +09:30
2025-12-05 10:12:51 +01:00
2025-12-05 10:12:51 +01:00
2025-12-05 10:12:51 +01:00
2025-12-05 10:12:51 +01:00
2025-12-05 10:12:51 +01:00
2025-12-05 10:12:51 +01:00
2025-06-13 13:46:30 +02:00
2025-12-05 10:12:51 +01:00
2025-10-06 13:31:30 +10:30
2025-07-09 09:35:07 +09:30
2025-07-09 09:35:07 +09:30