Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 Print RNDR support in verbose CPU f...



details:   https://anonhg.NetBSD.org/src/rev/8aa0a7a92a24
branches:  trunk
changeset: 932532:8aa0a7a92a24
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun May 10 21:41:19 2020 +0000

description:
Print RNDR support in verbose CPU feature identification.

diffstat:

 sys/arch/aarch64/aarch64/cpu.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 3c2be75a2ad2 -r 8aa0a7a92a24 sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Sun May 10 21:40:38 2020 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Sun May 10 21:41:19 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.43 2020/04/05 22:54:51 jmcneill Exp $ */
+/* $NetBSD: cpu.c,v 1.44 2020/05/10 21:41:19 riastradh Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.43 2020/04/05 22:54:51 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.44 2020/05/10 21:41:19 riastradh Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -375,6 +375,11 @@
                aprint_verbose(", AES+PMULL");
                break;
        }
+       switch (__SHIFTOUT(id->ac_aa64isar0, ID_AA64ISAR0_EL1_RNDR)) {
+       case ID_AA64ISAR0_EL1_RNDR_RNDRRS:
+               aprint_verbose(", RNDRRS");
+               break;
+       }
 
 
        /* PFR0:AdvSIMD */



Home | Main Index | Thread Index | Old Index