diff --git a/docs/x86/optable.xml b/docs/x86/optable.xml
index 3bda858..9c3ff67 100644
--- a/docs/x86/optable.xml
+++ b/docs/x86/optable.xml
@@ -1298,6 +1298,20 @@
+
+ endbr64
+
+ /sse=f3 0f 1e /mod=11 /reg=7 /rm=2 /m=64
+
+
+
+
+ endbr32
+
+ /sse=f3 0f 1e /mod=11 /reg=7 /rm=3 /m=32
+
+
+
enter
diff --git a/scripts/ud_opcode.py b/scripts/ud_opcode.py
index fe1833d..6753f6d 100644
--- a/scripts/ud_opcode.py
+++ b/scripts/ud_opcode.py
@@ -387,7 +387,7 @@ def addInsn(self, **insnDef):
# well the opcode table is packed. Also note, /sse must be
# before /o, because /sse may consume operand size prefix
# affect the outcome of /o.
- for ext in ('/mod', '/x87', '/reg', '/rm', '/sse', '/o', '/a', '/m',
+ for ext in ('/sse', '/mod', '/x87', '/reg', '/rm', '/o', '/a', '/m',
'/vexw', '/vexl', '/3dnow', '/vendor'):
if ext in opcexts:
opcodes.append(ext + '=' + opcexts[ext])