aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGraham Markall <graham.markall@embecosm.com>2016-06-21 20:25:29 +0100
committerGraham Markall <graham.markall@embecosm.com>2016-06-23 09:57:42 +0100
commitce440d638d271d76cc491bd22dc34f6a5760140e (patch)
tree05e48429f0f0dcc959db787d29251c51f130aca8 /include
parentf215c83b5f4ccc6d8e14c21ccaac65d4b72e0354 (diff)
downloadgdb-ce440d638d271d76cc491bd22dc34f6a5760140e.zip
gdb-ce440d638d271d76cc491bd22dc34f6a5760140e.tar.gz
gdb-ce440d638d271d76cc491bd22dc34f6a5760140e.tar.bz2
[ARC] Misc minor edits/fixes
The code supporting -mspfp, -mdpfp, and -mfpuda options are in sections of code that are commented as being for backward compatibility only, and having no effect. However, they do have an effect, enabling the SPX, DPX, and DPA instruction subclasses respectively. This commit moves the code supporting these options away from the comments indicating that they are dummy options, and also fixes a small issue where -mnps400 had the additional effect of enabling SPX instructions. A couple of other minor edits (that make no functional change) are also included. gas/ChangeLog: * config/tc-arc.c (options, md_longopts, md_parse_option): Move -mspfp, -mdpfp and -mfpuda out of the sections for dummy options. Correct erroneous enabling of SPFP instructions when using -mnps400. include/ChangeLog: * opcode/arc.h: Make insn_class_t alphabetical again. opcodes/ChangeLog: * arc-opc.c: Correct description of availability of NPS400 features.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/arc.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 72101bc..1ba3ea5 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-23 Graham Markall <graham.markall@embecosm.com>
+
+ * opcode/arc.h: Make insn_class_t alphabetical again.
+
2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* elf/dlx.h: Wrap in extern C.
diff --git a/include/opcode/arc.h b/include/opcode/arc.h
index df89e3c..f0fefbbc 100644
--- a/include/opcode/arc.h
+++ b/include/opcode/arc.h
@@ -39,10 +39,13 @@ extern "C" {
/* Instruction Class. */
typedef enum
{
+ ACL,
ARITH,
AUXREG,
+ BITOP,
BRANCH,
CONTROL,
+ DPI,
DSP,
FLOAT,
INVALID,
@@ -50,10 +53,7 @@ typedef enum
KERNEL,
LOGICAL,
MEMORY,
- BITOP,
NET,
- ACL,
- DPI,
} insn_class_t;
/* Instruction Subclass. */