Teach the disassembler about xrstors, xsavec, and xsaves
authorguenther <guenther@openbsd.org>
Sat, 22 Apr 2023 18:26:17 +0000 (18:26 +0000)
committerguenther <guenther@openbsd.org>
Sat, 22 Apr 2023 18:26:17 +0000 (18:26 +0000)
ok mlarkin@

sys/arch/amd64/amd64/db_disasm.c

index 8a0be93..f552a1c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: db_disasm.c,v 1.23 2023/04/10 04:21:19 jsg Exp $      */
+/*     $OpenBSD: db_disasm.c,v 1.24 2023/04/22 18:26:17 guenther Exp $ */
 /*     $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $  */
 
 /* 
@@ -148,8 +148,8 @@ struct inst db_Grp9[] = {
 };
 
 char * db_GrpA[] = {
-       "",             "cmpxchg8b",    "",             "",
-       "",             "",             "rdrand",       "rdseed"
+       "",             "cmpxchg8b",    "",             "xrstors",
+       "xsavec",       "xsaves",       "rdrand",       "rdseed"
 };
 
 char * db_GrpB[] = {