aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-20 11:35:52 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-20 11:35:52 +0900
commit6703d43447f0d9743859b44b0be08c82aac98485 (patch)
tree409048e4eb3ff1f95f7aab513e9e7238b9065987 /gen
parented5dc351610cefdb79ffe72f8757384380d4d32b (diff)
downloadxbyak-6703d43447f0d9743859b44b0be08c82aac98485.tar.gz
xbyak-6703d43447f0d9743859b44b0be08c82aac98485.zip
movdir64b supports apx
Diffstat (limited to 'gen')
-rw-r--r--gen/gen_code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp
index 2188f4a..5c3ccd0 100644
--- a/gen/gen_code.cpp
+++ b/gen/gen_code.cpp
@@ -1113,7 +1113,7 @@ void put()
puts("void movbe(const Reg& reg, const Address& addr) { opMR(addr, reg, T_0F38, 0xF0); }");
puts("void movbe(const Address& addr, const Reg& reg) { opMR(addr, reg, T_0F38, 0xF1); }");
puts("void movdiri(const Address& addr, const Reg32e& reg) { opMR(addr, reg, T_0F38, 0xF9); }");
- puts("void movdir64b(const Reg& reg, const Address& addr) { opMR(addr, reg.cvt32(), T_66 | T_0F38, 0xF8); }");
+ puts("void movdir64b(const Reg& reg, const Address& addr) { if (opROO(Reg(), addr, reg.cvt32(), T_VEX|T_66, 0xF8)) return; opMR(addr, reg.cvt32(), T_66 | T_0F38, 0xF8); }");
puts("void cmpxchg8b(const Address& addr) { opMR(addr, Reg32(1), T_0F, 0xC7); }");
puts("void pextrw(const Operand& op, const Mmx& xmm, uint8_t imm) { opExt(op, xmm, 0x15, imm, true); }");