[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] [13405] trunk/bochs/cpu/decoder
From:       sshwarts--- via Bochs-cvs <bochs-cvs () lists ! sourceforge ! net>
Date:       2017-12-19 20:36:56
Message-ID: 1513715816.388922.25927 () sfp-scm-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 13405
Author:   sshwarts
Date:     2017-12-19 20:36:55 +0000 (Tue, 19 Dec 2017)
Log Message:
-----------
fix disasm of FISTTP opcodes

Modified Paths:
--------------
    trunk/bochs/cpu/decoder/fetchdecode_x87.h
    trunk/bochs/cpu/decoder/ia_opcodes.def

Modified: trunk/bochs/cpu/decoder/fetchdecode_x87.h
===================================================================
--- trunk/bochs/cpu/decoder/fetchdecode_x87.h	2017-12-19 19:51:55 UTC (rev 13404)
+++ trunk/bochs/cpu/decoder/fetchdecode_x87.h	2017-12-19 20:36:55 UTC (rev 13405)
@@ -274,7 +274,7 @@
 static const Bit16u BxOpcodeInfo_FloatingPointDB[64+8] = {
   /* /m form */
   /* 0 */ BX_IA_FILD_DWORD_INTEGER,
-  /* 1 */ BX_IA_FISTTP32,
+  /* 1 */ BX_IA_FISTTP_Md,
   /* 2 */ BX_IA_FIST_DWORD_INTEGER,
   /* 3 */ BX_IA_FISTP_DWORD_INTEGER,
   /* 4 */ BX_IA_ERROR,
@@ -432,7 +432,7 @@
 static const Bit16u BxOpcodeInfo_FloatingPointDD[64+8] = {
   /* /m form */
   /* 0 */ BX_IA_FLD_DOUBLE_REAL,
-  /* 1 */ BX_IA_FISTTP64,
+  /* 1 */ BX_IA_FISTTP_Mq,
   /* 2 */ BX_IA_FST_DOUBLE_REAL,
   /* 3 */ BX_IA_FSTP_DOUBLE_REAL,
   /* 4 */ BX_IA_FRSTOR,
@@ -590,7 +590,7 @@
 static const Bit16u BxOpcodeInfo_FloatingPointDF[64+8] = {
   /* /m form */
   /* 0 */ BX_IA_FILD_WORD_INTEGER,
-  /* 1 */ BX_IA_FISTTP16,
+  /* 1 */ BX_IA_FISTTP_Mw,
   /* 2 */ BX_IA_FIST_WORD_INTEGER,
   /* 3 */ BX_IA_FISTP_WORD_INTEGER,
   /* 4 */ BX_IA_FBLD_PACKED_BCD,

Modified: trunk/bochs/cpu/decoder/ia_opcodes.def
===================================================================
--- trunk/bochs/cpu/decoder/ia_opcodes.def	2017-12-19 19:51:55 UTC (rev 13404)
+++ trunk/bochs/cpu/decoder/ia_opcodes.def	2017-12-19 20:36:55 UTC (rev 13405)
@@ -643,9 +643,9 @@
 bx_define_opcode(BX_IA_FISTP_DWORD_INTEGER, &BX_CPU_C::FIST_DWORD_INTEGER, NULL, \
BX_ISA_X87, OP_Md, OP_NONE, OP_NONE, OP_NONE, 0)  \
bx_define_opcode(BX_IA_FISTP_QWORD_INTEGER, &BX_CPU_C::FISTP_QWORD_INTEGER, NULL, \
BX_ISA_X87, OP_Mq, OP_NONE, OP_NONE, OP_NONE, 0)  \
bx_define_opcode(BX_IA_FBSTP_PACKED_BCD, &BX_CPU_C::FBSTP_PACKED_BCD, NULL, \
                BX_ISA_X87, OP_Mt, OP_NONE, OP_NONE, OP_NONE, 0)
-bx_define_opcode(BX_IA_FISTTP16, &BX_CPU_C::FISTTP16, NULL, BX_ISA_SSE3, OP_Ew, \
                OP_NONE, OP_NONE, OP_NONE, 0)
-bx_define_opcode(BX_IA_FISTTP32, &BX_CPU_C::FISTTP32, NULL, BX_ISA_SSE3, OP_Ed, \
                OP_NONE, OP_NONE, OP_NONE, 0)
-bx_define_opcode(BX_IA_FISTTP64, &BX_CPU_C::FISTTP64, NULL, BX_ISA_SSE3, OP_Eq, \
OP_NONE, OP_NONE, OP_NONE, 0) +bx_define_opcode(BX_IA_FISTTP_Mw, &BX_CPU_C::FISTTP16, \
NULL, BX_ISA_SSE3, OP_Ew, OP_NONE, OP_NONE, OP_NONE, 0) \
+bx_define_opcode(BX_IA_FISTTP_Md, &BX_CPU_C::FISTTP32, NULL, BX_ISA_SSE3, OP_Ed, \
OP_NONE, OP_NONE, OP_NONE, 0) +bx_define_opcode(BX_IA_FISTTP_Mq, &BX_CPU_C::FISTTP64, \
NULL, BX_ISA_SSE3, OP_Eq, OP_NONE, OP_NONE, OP_NONE, 0)  \
bx_define_opcode(BX_IA_FNINIT, NULL, &BX_CPU_C::FNINIT, BX_ISA_X87, OP_NONE, OP_NONE, \
OP_NONE, OP_NONE, 0)  bx_define_opcode(BX_IA_FNCLEX, NULL, &BX_CPU_C::FNCLEX, \
BX_ISA_X87, OP_NONE, OP_NONE, OP_NONE, OP_NONE, 0)  bx_define_opcode(BX_IA_FRSTOR, \
&BX_CPU_C::FRSTOR, NULL, BX_ISA_X87, OP_M, OP_NONE, OP_NONE, OP_NONE, 0)


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic