summaryrefslogtreecommitdiff
path: root/modules/arch/x86/gen_x86_insn.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arch/x86/gen_x86_insn.py')
-rwxr-xr-xmodules/arch/x86/gen_x86_insn.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/arch/x86/gen_x86_insn.py b/modules/arch/x86/gen_x86_insn.py
index 6f221218..b21c74a2 100755
--- a/modules/arch/x86/gen_x86_insn.py
+++ b/modules/arch/x86/gen_x86_insn.py
@@ -7909,15 +7909,17 @@ add_insn("xsaveopt64", "xsaveopt64", modifiers=[6, 0x0F, 0xAE],
#####################################################################
# Intel MOVBE instruction
#####################################################################
-for sz in (16, 32, 64):
+for sfx, sz in zip("wlq", [16, 32, 64]):
add_group("movbe",
cpu=["MOVBE"],
+ suffix=sfx,
opersize=sz,
opcode=[0x0F, 0x38, 0xF0],
operands=[Operand(type="Reg", size=sz, dest="Spare"),
Operand(type="Mem", size=sz, relaxed=True, dest="EA")])
add_group("movbe",
cpu=["MOVBE"],
+ suffix=sfx,
opersize=sz,
opcode=[0x0F, 0x38, 0xF1],
operands=[Operand(type="Mem", size=sz, relaxed=True, dest="EA"),