diff src/cpu/x86/vm/assembler_x86.hpp @ 16784:88df5d7b1001

Correctly parse VEX encoded instructions in Assembler::locate_operand.
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 12 Aug 2014 14:35:49 +0200
parents 03eda0a202e9
children 52b4284cb496
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.hpp	Tue Aug 12 14:13:50 2014 +0200
+++ b/src/cpu/x86/vm/assembler_x86.hpp	Tue Aug 12 14:35:49 2014 +0200
@@ -521,7 +521,8 @@
     VEX_OPCODE_NONE  = 0x0,
     VEX_OPCODE_0F    = 0x1,
     VEX_OPCODE_0F_38 = 0x2,
-    VEX_OPCODE_0F_3A = 0x3
+    VEX_OPCODE_0F_3A = 0x3,
+    VEX_OPCODE_MASK  = 0x1F
   };
 
   enum WhichOperand {