Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/cpuctl/arch (cpuctl/aarch64) Add some more aa64isar...
details: https://anonhg.NetBSD.org/src/rev/648fe1520e22
branches: trunk
changeset: 935549:648fe1520e22
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Jul 05 19:40:27 2020 +0000
description:
(cpuctl/aarch64) Add some more aa64isar0_eli1 flags.
diffstat:
usr.sbin/cpuctl/arch/aarch64.c | 73 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 71 insertions(+), 2 deletions(-)
diffs (94 lines):
diff -r 7c62f71851d4 -r 648fe1520e22 usr.sbin/cpuctl/arch/aarch64.c
--- a/usr.sbin/cpuctl/arch/aarch64.c Sun Jul 05 19:28:37 2020 +0000
+++ b/usr.sbin/cpuctl/arch/aarch64.c Sun Jul 05 19:40:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64.c,v 1.10 2020/07/01 08:03:10 ryo Exp $ */
+/* $NetBSD: aarch64.c,v 1.11 2020/07/05 19:40:27 riastradh Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: aarch64.c,v 1.10 2020/07/01 08:03:10 ryo Exp $");
+__RCSID("$NetBSD: aarch64.c,v 1.11 2020/07/05 19:40:27 riastradh Exp $");
#endif /* no lint */
#include <sys/types.h>
@@ -229,6 +229,75 @@
}
},
{
+ .bitpos = 20, .bitwidth = 4, .name = "Atomic",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No Atomic",
+ [1] = "LDADD/LDCLR/LDEOR/LDSET/LDSMAX/LDSMIN"
+ "/LDUMAX/LDUMIN/CAS/CASP/SWP",
+ }
+ },
+ {
+ .bitpos = 28, .bitwidth = 4, .name = "RDM",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No RDMA",
+ [1] = "SQRDMLAH/SQRDMLSH",
+ }
+ },
+ {
+ .bitpos = 32, .bitwidth = 4, .name = "SHA3",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No SHA3",
+ [1] = "EOR3/RAX1/XAR/BCAX",
+ }
+ },
+ {
+ .bitpos = 36, .bitwidth = 4, .name = "SM3",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No SM3",
+ [1] = "SM3SS1/SM3TT1A/SM3TT1B/SM3TT2A/SM3TT2B"
+ "/SM3PARTW1/SM3PARTW2",
+ }
+ },
+ {
+ .bitpos = 40, .bitwidth = 4, .name = "SM4",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No SM4",
+ [1] = "SM4E/SM4EKEY",
+ }
+ },
+ {
+ .bitpos = 44, .bitwidth = 4, .name = "DP",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No Dot Product",
+ [1] = "UDOT/SDOT",
+ }
+ },
+ {
+ .bitpos = 48, .bitwidth = 4, .name = "FHM",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No FHM",
+ [1] = "FMLAL/FMLSL",
+ }
+ },
+ {
+ .bitpos = 52, .bitwidth = 4, .name = "TS",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No TS",
+ [1] = "CFINV/RMIF/SETF16/SETF8",
+ [2] = "CFINV/RMIF/SETF16/SETF8/AXFLAG/XAFLAG",
+ }
+ },
+ {
+ .bitpos = 56, .bitwidth = 4, .name = "TLBI",
+ .info = (const char *[16]) { /* 16=4bit */
+ [0] = "No outer shareable and TLB range maintenance"
+ " instructions",
+ [1] = "Outer shareable TLB maintenance instructions",
+ [2] = "Outer shareable and TLB range maintenance"
+ " instructions",
+ }
+ },
+ {
.bitpos = 60, .bitwidth = 4, .name = "RNDR",
.info = (const char *[16]) { /* 16=4bit */
[0] = "No RNDR/RNDRRS",
Home |
Main Index |
Thread Index |
Old Index