ref: 57f22f910c897fe3f07b88b1b7f1e62830115262
parent: 6b6b9a236d773c704daaf7f7b5b090111e28ac87
author: rodri <[email protected]>
date: Wed Nov 22 08:37:34 EST 2023
libmach: add DPPD decoding for amd64 reference: https://www.felixcloutier.com/x86/dppd
--- a/sys/src/libmach/8db.c
+++ b/sys/src/libmach/8db.c
@@ -378,6 +378,10 @@
[0x81] RM,0, "INVVPID %r,%e",
};
+static Optable optab660F3A[128] = {
+[0x41] RM,Ib, "DPPD %i,%x,%X",
+};
+
static Optable optab660F71[8]=
{
[0x02] Ib,0, "PSRLW %i,%x",
@@ -406,6 +410,7 @@
[0x2E] RM,0, "UCOMISD %x,%X",
[0x2F] RM,0, "COMISD %x,%X",
[0x38] AUX,0, optab660F38,
+[0x3A] AUXMM,0, optab660F3A, /* SSE4 */
[0x5A] RM,0, "CVTPD2PS %x,%X",
[0x5B] RM,0, "CVTPS2PL %x,%X",
[0x6A] RM,0, "PUNPCKHLQ %x,%X",