[NDS32] Implement n8 pipeline

Programming / Compilers / GCC - jasonwucj [138bc75d-0d04-0410-961f-82ee72b054a4] - 8 April 2018 08:31 EDT

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.

67e824e4095 [NDS32] Implement n8 pipeline.
gcc/ChangeLog | 14 +
gcc/config.gcc | 4 +-
gcc/config/nds32/nds32-n8.md | 389 +++++++++++++++++++++++++++
gcc/config/nds32/nds32-opts.h | 2 +
gcc/config/nds32/nds32-pipelines-auxiliary.c | 248 +++++++++++++++++
gcc/config/nds32/nds32-protos.h | 12 +
gcc/config/nds32/nds32-utils.c | 112 ++++++++
gcc/config/nds32/nds32.md | 5 +-
gcc/config/nds32/nds32.opt | 24 ++
gcc/config/nds32/pipelines.md | 4 +
10 files changed, 810 insertions(+), 4 deletions(-)

Upstream: gcc.gnu.org


  • Share