[ARC] Sync cpu names with the ones accepted by GCC.
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 2 Dec 2016 15:08:10 +0000 (16:08 +0100)
committerClaudiu Zissulescu <claziss@synopsys.com>
Fri, 2 Dec 2016 15:30:00 +0000 (16:30 +0100)
commita9752fdf83985f62a0c343311a9cb42ad13f9876
tree915c18202fc681e2161657b4acdc89cb25036f22
parente5a873b7071d74320d4e0cbbc2f358dcf2322557
[ARC] Sync cpu names with the ones accepted by GCC.

gas/
2016-12-02  Claudiu Zissulescu  <claziss@synopsys.com>

* testsuite/gas/arc/cpu-em-err.s: New file.
* testsuite/gas/arc/cpu-em4-err.s: Likewise.
* testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
* testsuite/gas/arc/cpu-hs-err.s: Likewise.
* testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
* testsuite/gas/arc/noargs_a7.s: Add .cpu.
* config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
(ARC_CPU_TYPE_A7xx): Likewise.
(ARC_CPU_TYPE_AV2EM): Likewise.
(ARC_CPU_TYPE_AV2HS): Likewise.
(cpu_types): Update list of known CPU names.
(arc_show_cpu_list): New function.
(md_show_usage): Print accepted CPU names.
(cl_features): New variable.
(arc_select_cpu): Use cl_features.
(arc_option): Allow various .cpu names.
(md_parse_option): Set cl_features.
* doc/c-arc.texi: Update -mcpu and .cpu documentation.
gas/ChangeLog
gas/config/tc-arc.c
gas/doc/c-arc.texi
gas/testsuite/gas/arc/cpu-em-err.s [new file with mode: 0644]
gas/testsuite/gas/arc/cpu-em4-err.s [new file with mode: 0644]
gas/testsuite/gas/arc/cpu-fpuda-err.s [new file with mode: 0644]
gas/testsuite/gas/arc/cpu-hs-err.s [new file with mode: 0644]
gas/testsuite/gas/arc/cpu-quarkse-err.s [new file with mode: 0644]
gas/testsuite/gas/arc/noargs_a7.s