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/f895d3c1b5ef
branches:  trunk
changeset: 932524:f895d3c1b5ef
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 44fc0e080b32 -r f895d3c1b5ef 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