diff options
author | Kito Cheng <kito.cheng@gmail.com> | 2018-04-08 09:21:30 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2018-04-08 09:21:30 +0000 |
commit | 63ab910dd75cce3d9e595879465d6ea5fdf13602 (patch) | |
tree | 0b86546159842a4c444405d9ca3740c348011a36 /gcc/config.gcc | |
parent | 7c1583bdd87c147898d0e2dc5b45c1017027884c (diff) | |
download | gcc-63ab910dd75cce3d9e595879465d6ea5fdf13602.zip gcc-63ab910dd75cce3d9e595879465d6ea5fdf13602.tar.gz gcc-63ab910dd75cce3d9e595879465d6ea5fdf13602.tar.bz2 |
[NDS32] Implement n7 pipeline.
gcc/
* config.gcc (nds32*-*-*): Check that n7 is valid to --with-cpu.
* config/nds32/nds32-n7.md: New file.
* config/nds32/nds32-opts.h (nds32_cpu_type): Add CPU_N7.
* config/nds32/nds32-pipelines-auxiliary.c: Implementation for n7
pipeline.
* config/nds32/nds32-protos.h: More declarations for n7 pipeline.
* config/nds32/nds32.md (pipeline_model): Add n7.
* config/nds32/nds32.opt (mcpu): Support n7 pipeline cpus.
* config/nds32/pipelines.md: Include n7 settings.
Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
From-SVN: r259221
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 6fed7bc..099c2f6 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4315,11 +4315,11 @@ case "${target}" in "") with_cpu=n9 ;; - n6 | n8 | e8 | s8 | n9) + n6 | n7 | n8 | e8 | s8 | n9) # OK ;; *) - echo "Cannot accept --with-cpu=$with_cpu, available values are: n6 n8 e8 s8 n9" 1>&2 + echo "Cannot accept --with-cpu=$with_cpu, available values are: n6 n7 n8 e8 s8 n9" 1>&2 exit 1 ;; esac |