Skip to contentSkip to conversation

[4687] undocumented 0x82 opcode is invalid in 64 bit code

Qemu-devel Fabrice Bellard 1 participant 1 message Jun 6, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4687

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4687
Author:   bellard
Date:     2008-06-06 12:54:30 +0000 (Fri, 06 Jun 2008)

Log Message:
-----------
undocumented 0x82 opcode is invalid in 64 bit code

Modified Paths:
--------------
trunk/target-i386/translate.c

Modified: trunk/target-i386/translate.c
===================================================================

target-i386/translate.c +3 -1
@@ -3788,9 +3788,11 @@
         }
         break;
 
+    case 0x82:
+        if (CODE64(s))
+            goto illegal_op;
     case 0x80: /* GRP1 */
     case 0x81:
-    case 0x82:
     case 0x83:
         {
             int val;