[NDS32] Implment n9 pipeline.
authorKito Cheng <kito.cheng@gmail.com>
Sun, 8 Apr 2018 08:12:19 +0000 (08:12 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 8 Apr 2018 08:12:19 +0000 (08:12 +0000)
commitb99353a2aadd2de47694db415005ab137dd33959
treea96fdbd7a974618c0e813cce02dde0a15eb07760
parent43fa41c1aaa57d59cbb00ed5c8cfa185d075b105
[NDS32] Implment n9 pipeline.

gcc/
* config.gcc (nds32*): Add nds32-utils.o into extra_objs.
* config/nds32/nds32-n9-2r1w.md: New file.
* config/nds32/nds32-n9-3r2w.md: New file.
* config/nds32/nds32-opts.h (nds32_cpu_type, nds32_mul_type,
nds32_register_ports): New or modify for cpu n9.
* config/nds32/nds32-pipelines-auxiliary.c: Implementation for n9
pipeline.
* config/nds32/nds32-protos.h: More declarations for n9 pipeline.
* config/nds32/nds32-utils.c: New file.
* config/nds32/nds32.h (TARGET_PIPELINE_N9, TARGET_PIPELINE_SIMPLE,
TARGET_MUL_SLOW): Define.
* config/nds32/nds32.md (pipeline_model): New attribute.
* config/nds32/nds32.opt (mcpu, mconfig-mul, mconfig-register-ports):
New options that support cpu n9.
* config/nds32/pipelines.md: Include n9 settings.
* config/nds32/t-nds32 (nds32-utils.o): Add dependency.

Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
From-SVN: r259218
13 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config/nds32/nds32-n9-2r1w.md [new file with mode: 0644]
gcc/config/nds32/nds32-n9-3r2w.md [new file with mode: 0644]
gcc/config/nds32/nds32-opts.h
gcc/config/nds32/nds32-pipelines-auxiliary.c
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32-utils.c [new file with mode: 0644]
gcc/config/nds32/nds32.h
gcc/config/nds32/nds32.md
gcc/config/nds32/nds32.opt
gcc/config/nds32/pipelines.md
gcc/config/nds32/t-nds32