mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
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
This commit is contained in:

committed by
Nick Clifton

parent
4a3e3e2282
commit
9372689d72
@ -44,25 +44,27 @@ enum overflow_type
|
||||
no_overflow
|
||||
};
|
||||
|
||||
enum opcode_format_type {
|
||||
opcode_format1,
|
||||
opcode_format2ab,
|
||||
opcode_format2abl,
|
||||
opcode_format2c,
|
||||
opcode_format2de,
|
||||
opcode_format45,
|
||||
opcode_format6
|
||||
enum opcode_format_type
|
||||
{
|
||||
opcode_format1,
|
||||
opcode_format2ab,
|
||||
opcode_format2abl,
|
||||
opcode_format2c,
|
||||
opcode_format2de,
|
||||
opcode_format45,
|
||||
opcode_format6
|
||||
};
|
||||
|
||||
/* Opcode ID listing. Used for indexing by the simulator. */
|
||||
enum pru_instr_type {
|
||||
prui_add, prui_adc, prui_sub, prui_suc, prui_lsl, prui_lsr, prui_rsb,
|
||||
prui_rsc, prui_and, prui_or, prui_xor, prui_min, prui_max, prui_clr,
|
||||
prui_set, prui_not, prui_jmp, prui_jal, prui_ldi, prui_halt, prui_slp,
|
||||
prui_xin, prui_xout, prui_xchg, prui_sxin, prui_sxout, prui_sxchg,
|
||||
prui_loop, prui_iloop, prui_qbgt, prui_qbge, prui_qblt, prui_qble,
|
||||
prui_qbeq, prui_qbne, prui_qba, prui_qbbs, prui_qbbc, prui_lbbo,
|
||||
prui_sbbo, prui_lbco, prui_sbco
|
||||
enum pru_instr_type
|
||||
{
|
||||
prui_add, prui_adc, prui_sub, prui_suc, prui_lsl, prui_lsr, prui_rsb,
|
||||
prui_rsc, prui_and, prui_or, prui_xor, prui_min, prui_max, prui_clr,
|
||||
prui_set, prui_not, prui_jmp, prui_jal, prui_ldi, prui_lmbd,
|
||||
prui_halt, prui_slp, prui_xin, prui_xout, prui_xchg, prui_sxin,
|
||||
prui_sxout, prui_sxchg, prui_loop, prui_iloop, prui_qbgt, prui_qbge,
|
||||
prui_qblt, prui_qble, prui_qbeq, prui_qbne, prui_qba, prui_qbbs,
|
||||
prui_qbbc, prui_lbbo, prui_sbbo, prui_lbco, prui_sbco
|
||||
};
|
||||
|
||||
/* This structure holds information for a particular instruction.
|
||||
|
Reference in New Issue
Block a user