From: Matt Oliver Date: Mon, 3 Apr 2017 17:58:31 +0000 (+1000) Subject: allow movbe to be suffixed with wlq in gas syntax. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6eac25ff8c63a448fc6b4452a8697f8e0ee7d021;p=yasm allow movbe to be suffixed with wlq in gas syntax. --- 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"),