Source-Changes-HG archive

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

[src-draft/trunk]: src/usr.sbin/cpuctl/arch Teach cpuctl(8) about ARMv8.5-RNG...



details:   https://anonhg.NetBSD.org/src-all/rev/3b3f20f283dc
branches:  trunk
changeset: 932526:3b3f20f283dc
user:      Taylor R Campbell <riastradh%NetBSD.org@localhost>
date:      Sun May 10 20:57:23 2020 +0000

description:
Teach cpuctl(8) about ARMv8.5-RNG RNDR/RNDRRS support.

diffstat:

 usr.sbin/cpuctl/arch/aarch64.c |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 8c3fff8e13f9 -r 3b3f20f283dc usr.sbin/cpuctl/arch/aarch64.c
--- a/usr.sbin/cpuctl/arch/aarch64.c    Sun May 10 20:21:53 2020 +0000
+++ b/usr.sbin/cpuctl/arch/aarch64.c    Sun May 10 20:57:23 2020 +0000
@@ -225,6 +225,13 @@
                            "/CRC32CB/CRC32CH/CRC32CW/CRC32CX"
                }
        },
+       {
+               .bitpos = 60, .bitwidth = 4, .name = "RNDR",
+               .info = (const char *[16]) { /* 16=4bit */
+                       [0] = "No RNDR/RNDRRS",
+                       [1] = "RNDR/RNDRRS",
+               },
+       },
        { .bitwidth = 0 }       /* end of table */
 };
 



Home | Main Index | Thread Index | Old Index