[NDS32] Implement n8 pipeline.
authorKito Cheng <kito.cheng@gmail.com>
Sun, 8 Apr 2018 08:31:52 +0000 (08:31 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 8 Apr 2018 08:31:52 +0000 (08:31 +0000)
commit8fd5214127adf2ee03865aa89f671cadded3fb9c
tree66451221400ad89b13ce75a705831e26d69d1ead
parentb99353a2aadd2de47694db415005ab137dd33959
[NDS32] Implement n8 pipeline.

gcc/
* config.gcc (nds32*-*-*): Check that n6/n8/s8 are valid to --with-cpu.
* config/nds32/nds32-n8.md: New file.
* config/nds32/nds32-opts.h (nds32_cpu_type): Add CPU_N6 and CPU_N8.
* config/nds32/nds32-pipelines-auxiliary.c: Implementation for n8
pipeline.
* config/nds32/nds32-protos.h: More declarations for n8 pipeline.
* config/nds32/nds32-utils.c: More implementations for n8 pipeline.
* config/nds32/nds32.md (pipeline_model): Add n8.
* config/nds32/nds32.opt (mcpu): Support n8 pipeline cpus.
* config/nds32/pipelines.md: Include n8 settings.

Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
From-SVN: r259219
gcc/ChangeLog
gcc/config.gcc
gcc/config/nds32/nds32-n8.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
gcc/config/nds32/nds32.md
gcc/config/nds32/nds32.opt
gcc/config/nds32/pipelines.md