summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-09 01:21:20 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-09 01:21:20 +0000
commitd208662486c63f1b0b8dbe3beb86fe59c6a927da (patch)
treed7a9c4e3b9cd00f8573f42495a0cc18deae33f8b /sys/arch/i386
parentd246e8d934fd0c61891dd099eae83cdc045dd8a4 (diff)
fix disasm of fucompp
when merging changes from FreeBSD in i386 rev 1.10 db_Esca5 was added but not used ok mlarkin@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/db_disasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/db_disasm.c b/sys/arch/i386/i386/db_disasm.c
index e822088fc14..20023ea90e1 100644
--- a/sys/arch/i386/i386/db_disasm.c
+++ b/sys/arch/i386/i386/db_disasm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_disasm.c,v 1.24 2020/09/11 09:27:10 mpi Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.25 2024/07/09 01:21:19 jsg Exp $ */
/* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */
/*
@@ -410,8 +410,8 @@ struct finst db_Esca[] = {
/*1*/ { "fimul", LONG, 0, 0 },
/*2*/ { "ficom", LONG, 0, 0 },
/*3*/ { "ficomp", LONG, 0, 0 },
-/*4*/ { "fisub", LONG, op1(X), 0 },
-/*5*/ { "fisubr", LONG, 0, 0 },
+/*4*/ { "fisub", LONG, 0, 0 },
+/*5*/ { "fisubr", LONG, op1(X), db_Esca5 },
/*6*/ { "fidiv", LONG, 0, 0 },
/*7*/ { "fidivr", LONG, 0, 0 }
};