From 9372689d72f902c8bae90536acc4747fb0a4b1e1 Mon Sep 17 00:00:00 2001 From: "Spencer E. Olson" Date: Mon, 9 Nov 2020 12:41:09 +0000 Subject: Add support for the LMBD (left-most bit detect) instruction to the PRU assembler. include * opcode/pru.h: Add LMBD (left-most bit detect) opcode index opcodes * pru-opc.c: Add opcode description for LMBD (left-most bit detect) gas * testsuite/gas/pru/misc.s: Add tests for lmbd (left-most bit detect) * testsuite/gas/pru/misc.d: Add tests for lmbd (left-most bit --- opcodes/ChangeLog | 5 +++++ opcodes/pru-opc.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'opcodes') diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 34b2b62..3b7354c 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2020-11-09 Spencer E. Olson + + * pru-opc.c: Add opcode description for LMBD (left-most bit + detect). + 2020-11-09 Przemyslaw Wirkus * aarch64-opc.c: Add ACCDATA_EL1 system register diff --git a/opcodes/pru-opc.c b/opcodes/pru-opc.c index f1fb7fe..05ddfb0 100644 --- a/opcodes/pru-opc.c +++ b/opcodes/pru-opc.c @@ -121,6 +121,8 @@ const struct pru_opcode pru_opcodes[] = OP_MATCH_JAL, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, unsigned_immed16_overflow}, { "ldi", prui_ldi, "d,W", OP_MATCH_LDI, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, unsigned_immed16_overflow}, + { "lmbd", prui_lmbd, "d,s,b", + OP_MATCH_LMBD, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, unsigned_immed8_overflow}, { "halt", prui_halt, "", OP_MATCH_HALT, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, no_overflow}, { "slp", prui_slp, "w", -- cgit v1.1