aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@gmail.com>2018-04-08 09:02:31 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2018-04-08 09:02:31 +0000
commit7c1583bdd87c147898d0e2dc5b45c1017027884c (patch)
treefa703cdca8a2a8107f03f481949eb0f5db799bd2 /gcc/config.gcc
parent8fd5214127adf2ee03865aa89f671cadded3fb9c (diff)
downloadgcc-7c1583bdd87c147898d0e2dc5b45c1017027884c.zip
gcc-7c1583bdd87c147898d0e2dc5b45c1017027884c.tar.gz
gcc-7c1583bdd87c147898d0e2dc5b45c1017027884c.tar.bz2
[NDS32] Implement e8 pipeline.
gcc/ * config.gcc (nds32*-*-*): Check that e8 is valid to --with-cpu. * config/nds32/nds32-e8.md: New file. * config/nds32/nds32-opts.h (nds32-cpu_type): Add CPU_E8. * config/nds32/nds32-pipelines-auxiliary.c: Implementation for e8 pipeline. * config/nds32/nds32-protos.h: More declarations for e8 pipeline. * config/nds32/nds32.md (pipeline_model): Add e8. * config/nds32/nds32.opt (mcpu): Support e8 pipeline cpus. * config/nds32/pipelines.md: Include e8 settings. Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com> From-SVN: r259220
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 4df7201..6fed7bc 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -4315,11 +4315,11 @@ case "${target}" in
"")
with_cpu=n9
;;
- n6 | n8 | s8 | n9)
+ n6 | n8 | e8 | s8 | n9)
# OK
;;
*)
- echo "Cannot accept --with-cpu=$with_cpu, available values are: n6 n8 s8 n9" 1>&2
+ echo "Cannot accept --with-cpu=$with_cpu, available values are: n6 n8 e8 s8 n9" 1>&2
exit 1
;;
esac