diff options
author | MITSUNARI Shigeo <[email protected]> | 2017-08-22 15:53:34 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2017-08-22 15:53:46 +0900 |
commit | e4fc9d8a9291f69ed4b49ab51297c5b06d0deecb (patch) | |
tree | e1141425dbd12b866eb2d889e2e6e83962e7c1e8 /gen/gen_code.cpp | |
parent | d0b2fb623e2f9744a6f19fec7a2f51a8e908ea65 (diff) | |
download | xbyak-e4fc9d8a9291f69ed4b49ab51297c5b06d0deecb.tar.gz xbyak-e4fc9d8a9291f69ed4b49ab51297c5b06d0deecb.zip |
fix mpx encodingv5.53
Diffstat (limited to 'gen/gen_code.cpp')
-rw-r--r-- | gen/gen_code.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index 734fd83..413e632 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -942,11 +942,11 @@ void put() puts("void bndcl(const BoundsReg& bnd, const Operand& op) { db(0xF3); opR_ModM(op, i32e, bnd.getIdx(), 0x0F, 0x1A, NONE, !op.isMEM()); }"); puts("void bndcu(const BoundsReg& bnd, const Operand& op) { db(0xF2); opR_ModM(op, i32e, bnd.getIdx(), 0x0F, 0x1A, NONE, !op.isMEM()); }"); puts("void bndcn(const BoundsReg& bnd, const Operand& op) { db(0xF2); opR_ModM(op, i32e, bnd.getIdx(), 0x0F, 0x1B, NONE, !op.isMEM()); }"); - puts("void bndldx(const BoundsReg& bnd, const Address& addr) { opModM(addr, bnd, 0x0F, 0x1A); }"); + puts("void bndldx(const BoundsReg& bnd, const Address& addr) { opMIB(addr, bnd, 0x0F, 0x1A); }"); puts("void bndmk(const BoundsReg& bnd, const Address& addr) { db(0xF3); opModM(addr, bnd, 0x0F, 0x1B); }"); puts("void bndmov(const BoundsReg& bnd, const Operand& op) { db(0x66); opModRM(bnd, op, op.isBNDREG(), op.isMEM(), 0x0F, 0x1A); }"); puts("void bndmov(const Address& addr, const BoundsReg& bnd) { db(0x66); opModM(addr, bnd, 0x0F, 0x1B); }"); - puts("void bndstx(const Address& addr, const BoundsReg& bnd) { opModM(addr, bnd, 0x0F, 0x1B); }"); + puts("void bndstx(const Address& addr, const BoundsReg& bnd) { opMIB(addr, bnd, 0x0F, 0x1B); }"); } // misc { |