Skip to content

Commit

Permalink
RISC-V: Add `OP_V' to .insn named opcodes
Browse files Browse the repository at this point in the history
This commit adds `OP_V' (OP-V: vector instruction opcode for now
ratified `V' extension) to .insn opcode name list.  Although vector
instruction encoding is not implemented in `.insn' directive, it will
help future implementation of custom vector `.insn'.

gas/ChangeLog:

	* config/tc-riscv.c (opcode_name_list): Add `OP_V'.
  • Loading branch information
a4lg committed Jul 9, 2022
1 parent d2acd4b commit ea76f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gas/config/tc-riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ static const struct opcode_name_t opcode_name_list[] =
{"NMADD", 0x4f},
{"NMSUB", 0x4b},
{"OP_FP", 0x53},
/*reserved 0x57. */
{"OP_V", 0x57},
{"CUSTOM_2", 0x5b},
/* 48b 0x5f. */

Expand Down

0 comments on commit ea76f3f

Please sign in to comment.