From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id 25EB6397080B; Fri, 23 Apr 2021 10:14:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25EB6397080B Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/redhat/heads/gcc-8-branch)] AArch64: Add Linux cpuinfo string for rng feature X-Act-Checkin: gcc X-Git-Author: Kyrylo Tkachov X-Git-Refname: refs/vendors/redhat/heads/gcc-8-branch X-Git-Oldrev: 80c2187da51aac37edf0594b7e96dd24c56fac12 X-Git-Newrev: f2f4343c47ffecde776a9e8620934d92b5e2b7fd Message-Id: <20210423101446.25EB6397080B@sourceware.org> Date: Fri, 23 Apr 2021 10:14:46 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2021 10:14:46 -0000 https://gcc.gnu.org/g:f2f4343c47ffecde776a9e8620934d92b5e2b7fd commit f2f4343c47ffecde776a9e8620934d92b5e2b7fd Author: Kyrylo Tkachov Date: Fri Sep 25 17:32:43 2020 +0100 AArch64: Add Linux cpuinfo string for rng feature The Linux kernel has defined the cpuinfo string for the +rng feature, so this patch adds that to GCC so that -march=native can pick it up. Bootstrapped and tested on aarch64-none-linux-gnu. gcc/ * config/aarch64/aarch64-option-extensions.def (rng): Add cpuinfo string. (cherry picked from commit 0d8f3f612d662ea3007c184a11ea5eb7d58760e7) (cherry picked from commit 05c3a208a19af25fbfd5c7cad8be12e23bf84cfa) Diff: --- gcc/config/aarch64/aarch64-option-extensions.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/aarch64/aarch64-option-extensions.def b/gcc/config/aarch64/aarch64-option-extensions.def index bfd9245c595..29e282b714a 100644 --- a/gcc/config/aarch64/aarch64-option-extensions.def +++ b/gcc/config/aarch64/aarch64-option-extensions.def @@ -115,6 +115,6 @@ AARCH64_OPT_EXTENSION("fp16fml", AARCH64_FL_F16FML, AARCH64_FL_FP | AARCH64_FL_F AARCH64_OPT_EXTENSION("sve", AARCH64_FL_SVE, AARCH64_FL_FP | AARCH64_FL_SIMD | AARCH64_FL_F16, 0, false, "sve") /* Enabling/Disabling "rng" only changes "rng". */ -AARCH64_OPT_EXTENSION("rng", AARCH64_FL_RNG, 0, 0, false, "") +AARCH64_OPT_EXTENSION("rng", AARCH64_FL_RNG, 0, 0, false, "rng") #undef AARCH64_OPT_EXTENSION