diff options
author | Matt Oliver <protogonoi@gmail.com> | 2017-04-04 03:58:31 +1000 |
---|---|---|
committer | Peter Johnson <johnson.peter@gmail.com> | 2017-09-23 15:11:49 -0700 |
commit | 6eac25ff8c63a448fc6b4452a8697f8e0ee7d021 (patch) | |
tree | 9e3f512c5d19450489306f3ff77e632a82994ccf | |
parent | 74184586228af6c362f970c84fce58da3fcbdec8 (diff) | |
download | yasm-6eac25ff8c63a448fc6b4452a8697f8e0ee7d021.tar.gz |
allow movbe to be suffixed with wlq in gas syntax.
-rwxr-xr-x | modules/arch/x86/gen_x86_insn.py | 4 |
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"), |