diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-28 23:05:09 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-07 18:36:40 +0100 |
commit | a42a4f8400ee232ceed5ecceb61873195984f1d9 (patch) | |
tree | 5f158b39eca25d1464029f1a8fd3bd28d8a49670 /gas/config | |
parent | 1328504b287b2c284419d989e0d05e7d6d3ffa59 (diff) | |
download | gdb-a42a4f8400ee232ceed5ecceb61873195984f1d9.zip gdb-a42a4f8400ee232ceed5ecceb61873195984f1d9.tar.gz gdb-a42a4f8400ee232ceed5ecceb61873195984f1d9.tar.bz2 |
arc/nps400: Add new instructions
Add some new control instructions to the opcodes library, and a new test
for these new instructions to the assembler. The new instructions use
an instruction flag longer than any seen before (on arc), and so the max
flag length is extended to accommodate this.
gas/ChangeLog:
* config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
* testsuite/gas/arc/nps400-2.d: New file.
* testsuite/gas/arc/nps400-2.s: New file.
opcodes/ChangeLog:
* arc-nps400-tbl.h: Add schd, sync, and hwschd instructions.
* arc-opc.c (arc_flag_operands): Add new flags.
(arc_flag_classes): Add new classes.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arc.h b/gas/config/tc-arc.h index 7c193fe..076afea 100644 --- a/gas/config/tc-arc.h +++ b/gas/config/tc-arc.h @@ -211,7 +211,7 @@ extern int tc_arc_regname_to_dw2regnum (char *regname); #define NOP_OPCODE_S 0x000078E0 #define NOP_OPCODE_L 0x264A7000 /* mov 0,0. */ -#define MAX_FLAG_NAME_LENGTH 3 +#define MAX_FLAG_NAME_LENGTH 7 struct arc_flags { |