diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2017-09-18 20:57:21 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2017-09-18 20:57:21 +0200 |
commit | f5987ce627c64d86b8f4ebd9972f0769e7f77ba8 (patch) | |
tree | 2456e52f68d403d31914721e0fec779287df76cf | |
parent | f94616d99dfa675f3e5662f1652ead2dc466bb3d (diff) | |
download | gcc-f5987ce627c64d86b8f4ebd9972f0769e7f77ba8.zip gcc-f5987ce627c64d86b8f4ebd9972f0769e7f77ba8.tar.gz gcc-f5987ce627c64d86b8f4ebd9972f0769e7f77ba8.tar.bz2 |
i386.c (fold_builtin_cpu): Add M_AMDFAM17H to processor_model and "amdfam17h" to arch_names_table.
* config/i386/i386.c (fold_builtin_cpu): Add M_AMDFAM17H
to processor_model and "amdfam17h" to arch_names_table.
* doc/extend.texi (__builtin_cpu_is): Document amdfam17h CPU name.
From-SVN: r252948
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 283c159..32a28624 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-09-18 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/i386.c (fold_builtin_cpu): Add M_AMDFAM17H + to processor_model and "amdfam17h" to arch_names_table. + * doc/extend.texi (__builtin_cpu_is): Document amdfam17h CPU name. + 2017-09-18 Jakub Jelinek <jakub@redhat.com> PR c/82234 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 7103d11..c80c0de 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -34404,6 +34404,7 @@ fold_builtin_cpu (tree fndecl, tree *args) M_INTEL_KNL, M_AMD_BTVER1, M_AMD_BTVER2, + M_AMDFAM17H, M_CPU_SUBTYPE_START, M_INTEL_COREI7_NEHALEM, M_INTEL_COREI7_WESTMERE, @@ -34458,6 +34459,7 @@ fold_builtin_cpu (tree fndecl, tree *args) {"bdver3", M_AMDFAM15H_BDVER3}, {"bdver4", M_AMDFAM15H_BDVER4}, {"btver2", M_AMD_BTVER2}, + {"amdfam17h", M_AMDFAM17H}, {"znver1", M_AMDFAM17H_ZNVER1}, }; diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 04c497a..a66a795 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -19914,8 +19914,11 @@ AMD Family 15h Bulldozer version 4. @item btver2 AMD Family 16h CPU. -@item znver1 +@item amdfam17h AMD Family 17h CPU. + +@item znver1 +AMD Family 17h Zen version 1. @end table Here is an example: |