On Wed, May 20, 2020 at 6:47 AM Martin Liška <mli...@suse.cz> wrote: > > On 5/20/20 1:31 PM, H.J. Lu wrote: > > On Wed, May 20, 2020 at 1:40 AM Martin Liška <mli...@suse.cz> wrote: > >> > >> On 5/20/20 12:59 AM, H.J. Lu wrote: > >>> I got: > >>> > >>> $ git push origin releases/gcc-10 > >>> Enumerating objects: 15, done. > >>> Counting objects: 100% (15/15), done. > >>> Delta compression using up to 8 threads > >>> Compressing objects: 100% (6/6), done. > >>> Writing objects: 100% (8/8), 1.15 KiB | 1.15 MiB/s, done. > >>> Total 8 (delta 7), reused 2 (delta 2), pack-reused 0 > >>> remote: *** ChangeLog format failed: > >>> remote: ERR: line should start with a tab:"(cherry picked from commit > >>> 453954451be68d22462442268a29f54809182d2b)" > >>> remote: ERR: could not deduce ChangeLog file > >>> remote: > >>> remote: Please see: https://gcc.gnu.org/codingconventions.html#ChangeLogs > >>> remote: > >>> remote: error: hook declined to update refs/heads/releases/gcc-10 > >>> To ssh://gcc.gnu.org/git/gcc.git > >>> ! [remote rejected] releases/gcc-10 -> releases/gcc-10 (hook > >>> declined) > >>> error: failed to push some refs to 'ssh://h...@gcc.gnu.org/git/gcc.git' > >>> > >>> My cherry-pick commit message has > >>> > >>> (cherry picked from commit 453954451be68d22462442268a29f54809182d2b) > >>> > >>> Shouldn't it be allowed? > >>> > >> > >> Hello. > >> > >> It is fixed now, please try to push the commit. > >> > >> Martin > > > > I got > > > > remote: *** ChangeLog format failed: > > remote: ERR: line should start with a tab:"(cherry picked from commit > > 1e46a443f25d26816536c0c480211714b123a1d5)" > > remote: ERR: could not deduce ChangeLog file > > > > Can you please send me the patch via email (git format-patch)? >
Here. -- H.J.
From 39cb0bee735ff3198c804c5e1356d6a85a21954a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <hjl.to...@gmail.com> Date: Tue, 19 May 2020 18:55:08 -0700 Subject: [PATCH] x86: Update VPCLMULQDQ check Update VPCLMULQDQ check to support processors with AVX version of VPCLMULQDQ. Backport from master PR target/91695 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ check. (cherry picked from commit 1e46a443f25d26816536c0c480211714b123a1d5) --- libgcc/ChangeLog | 9 +++++++++ libgcc/config/i386/cpuinfo.c | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index c573beffba0..90955415ee4 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,12 @@ +2020-05-20 H.J. Lu <hongjiu...@intel.com> + + Backport from master + 2020-05-20 H.J. Lu <hongjiu...@intel.com> + + PR target/91695 + * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ + check. + 2020-05-19 H.J. Lu <hongjiu...@intel.com> Backport from master diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c index 26c1bdca361..cf5f0884bb4 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c @@ -346,6 +346,8 @@ get_available_features (unsigned int ecx, unsigned int edx, { if (ebx & bit_AVX2) set_feature (FEATURE_AVX2); + if (ecx & bit_VPCLMULQDQ) + set_feature (FEATURE_VPCLMULQDQ); } if (ebx & bit_BMI2) set_feature (FEATURE_BMI2); @@ -373,8 +375,6 @@ get_available_features (unsigned int ecx, unsigned int edx, set_feature (FEATURE_AVX512VBMI); if (ecx & bit_AVX512VBMI2) set_feature (FEATURE_AVX512VBMI2); - if (ecx & bit_VPCLMULQDQ) - set_feature (FEATURE_VPCLMULQDQ); if (ecx & bit_AVX512VNNI) set_feature (FEATURE_AVX512VNNI); if (ecx & bit_AVX512BITALG) -- 2.26.2