[ARC] Misc minor edits/fixes
authorGraham Markall <graham.markall@embecosm.com>
Tue, 21 Jun 2016 19:25:29 +0000 (20:25 +0100)
committerGraham Markall <graham.markall@embecosm.com>
Thu, 23 Jun 2016 08:57:42 +0000 (09:57 +0100)
commitce440d638d271d76cc491bd22dc34f6a5760140e
tree05e48429f0f0dcc959db787d29251c51f130aca8
parentf215c83b5f4ccc6d8e14c21ccaac65d4b72e0354
[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.
gas/ChangeLog
gas/config/tc-arc.c
include/ChangeLog
include/opcode/arc.h
opcodes/ChangeLog
opcodes/arc-opc.c