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

List:       bochs-cvs
Subject:    [Bochs-cvs] SF.net SVN: bochs:[10430] trunk/bochs/cpu/fetchdecode.cc
From:       sshwarts () users ! sourceforge ! net
Date:       2011-06-26 19:39:48
Message-ID: E1QavBM-000113-EE () sfp-svn-1 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 10430
          http://bochs.svn.sourceforge.net/bochs/?rev=10430&view=rev
Author:   sshwarts
Date:     2011-06-26 19:39:48 +0000 (Sun, 26 Jun 2011)

Log Message:
-----------
no need to define 3b opcodes on < 80x686

Modified Paths:
--------------
    trunk/bochs/cpu/fetchdecode.cc

Modified: trunk/bochs/cpu/fetchdecode.cc
===================================================================
--- trunk/bochs/cpu/fetchdecode.cc	2011-06-26 19:32:16 UTC (rev 10429)
+++ trunk/bochs/cpu/fetchdecode.cc	2011-06-26 19:39:48 UTC (rev 10430)
@@ -1424,6 +1424,7 @@
 
   if (has_modrm) {
 
+#if BX_CPU_LEVEL >= 6
     unsigned b3 = 0;
     // handle 3-byte escape
     if ((attr & BxGroupX) == Bx3ByteOp) {
@@ -1434,6 +1435,7 @@
       else
         return(-1);
     }
+#endif
 
     // opcode requires modrm byte
     if (remain != 0) {
@@ -1646,9 +1648,11 @@
             OpcodeInfoPtr = &(OpcodeInfoPtr->AnotherArray[0]);
           break;
 #endif
+#if BX_CPU_LEVEL >= 6
         case Bx3ByteOp:
           OpcodeInfoPtr = &(OpcodeInfoPtr->AnotherArray[b3]);
           break;
+#endif
         case BxOSizeGrp:
           OpcodeInfoPtr = &(OpcodeInfoPtr->AnotherArray[os_32]);
           break;


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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