mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 00:44:14 +08:00
opcodes/arc/nps: Fix some operand flags
Some operands accidentally had the ARC_OPERAND_NCHK flag (due to copy & paste mistake), meaning the operand value was skipping the overflow check before being inserted. This commit removes the unwanted flags. opcodes/ChangeLog: * arc-opc.c (arc_operands): Fix operand flags for NPS_R_DST, and NPS_R_SRC1.
This commit is contained in:
parent
e7ea3ec7c6
commit
2cce10e718
@ -1,3 +1,8 @@
|
||||
2016-03-24 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* arc-opc.c (arc_operands): Fix operand flags for NPS_R_DST, and
|
||||
NPS_R_SRC1.
|
||||
|
||||
2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* arc-nps400-tbl.h: Add a header comment, and fix some whitespace
|
||||
|
@ -1311,10 +1311,10 @@ const struct arc_operand arc_operands[] =
|
||||
{ 3, 21, 0, ARC_OPERAND_IR | ARC_OPERAND_NCHK, insert_nps_3bit_src2, extract_nps_3bit_src2 },
|
||||
|
||||
#define NPS_R_DST (NPS_R_SRC2_3B + 1)
|
||||
{ 6, 21, 0, ARC_OPERAND_IR | ARC_OPERAND_NCHK, NULL, NULL },
|
||||
{ 6, 21, 0, ARC_OPERAND_IR, NULL, NULL },
|
||||
|
||||
#define NPS_R_SRC1 (NPS_R_DST + 1)
|
||||
{ 6, 21, 0, ARC_OPERAND_IR | ARC_OPERAND_DUPLICATE | ARC_OPERAND_NCHK, NULL, NULL },
|
||||
{ 6, 21, 0, ARC_OPERAND_IR | ARC_OPERAND_DUPLICATE, NULL, NULL },
|
||||
|
||||
#define NPS_BITOP_DST_POS (NPS_R_SRC1 + 1)
|
||||
{ 5, 5, 0, ARC_OPERAND_UNSIGNED, 0, 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user