diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 47e0eaf38c2..f30e7878210 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* i386-gen.c (opcode_modifiers): Move VexNDS before VexNDD.
+
 2008-12-08  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* i386-dis.c (putop): Remove strayed comments.
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index b9d055ff524..bdd4ae65d23 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -323,8 +323,8 @@ static bitfield opcode_modifiers[] =
   BITFIELD (Drexc),
   BITFIELD (Vex),
   BITFIELD (Vex256),
-  BITFIELD (VexNDD),
   BITFIELD (VexNDS),
+  BITFIELD (VexNDD),
   BITFIELD (VexW0),
   BITFIELD (VexW1),
   BITFIELD (Vex0F),