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

This commit is contained in:
riastradh 2020-05-10 21:42:05 +00:00
parent 54f539984b
commit 8e0e0222cd

View File

@ -1,4 +1,4 @@
/* $NetBSD: aarch64.c,v 1.8 2020/01/28 17:36:42 maxv Exp $ */
/* $NetBSD: aarch64.c,v 1.9 2020/05/10 21:42:05 riastradh Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo@nerv.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: aarch64.c,v 1.8 2020/01/28 17:36:42 maxv Exp $");
__RCSID("$NetBSD: aarch64.c,v 1.9 2020/05/10 21:42:05 riastradh Exp $");
#endif /* no lint */
#include <sys/types.h>
@ -225,6 +225,13 @@ struct fieldinfo id_aa64isar0_fieldinfo[] = {
"/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 */
};