diff options
author | Kito Cheng <kito.cheng@gmail.com> | 2018-04-08 08:31:52 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2018-04-08 08:31:52 +0000 |
commit | 8fd5214127adf2ee03865aa89f671cadded3fb9c (patch) | |
tree | 66451221400ad89b13ce75a705831e26d69d1ead /gcc/config.gcc | |
parent | b99353a2aadd2de47694db415005ab137dd33959 (diff) | |
download | gcc-8fd5214127adf2ee03865aa89f671cadded3fb9c.zip gcc-8fd5214127adf2ee03865aa89f671cadded3fb9c.tar.gz gcc-8fd5214127adf2ee03865aa89f671cadded3fb9c.tar.bz2 |
[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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index fa15a8c..4df7201 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4315,11 +4315,11 @@ case "${target}" in "") with_cpu=n9 ;; - n9) + n6 | n8 | s8 | n9) # OK ;; *) - echo "Cannot accept --with-cpu=$with_cpu, available values are: n9" 1>&2 + echo "Cannot accept --with-cpu=$with_cpu, available values are: n6 n8 s8 n9" 1>&2 exit 1 ;; esac |