aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen/gen_code.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-17 17:34:40 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-17 17:34:40 +0900
commitbaddec2881335ed0ee37859af89d23e656e37ceb (patch)
tree3c3b63049c773944334be56e9faeccf071ea3951 /gen/gen_code.cpp
parent1d3a19a50a065439fd7f34d79fffb87bbd00f96a (diff)
downloadxbyak-baddec2881335ed0ee37859af89d23e656e37ceb.tar.gz
xbyak-baddec2881335ed0ee37859af89d23e656e37ceb.zip
tweak
Diffstat (limited to 'gen/gen_code.cpp')
-rw-r--r--gen/gen_code.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp
index fdaf891..c1d6256 100644
--- a/gen/gen_code.cpp
+++ b/gen/gen_code.cpp
@@ -893,6 +893,7 @@ void put()
printf("void %s(const Reg& d, const Operand& op) { opROO(d, op, Reg(%d, Operand::REG, d.getBit()), %s, 0xF6); }\n", p->name, p->ext, s.c_str());
}
}
+ printf("void imul(const Reg& reg, const Operand& op) { if (opROO(Reg(), op, reg, T_VEX|T_NF, 0xAF)) return; opRO(reg, op, T_0F, 0xAF, reg.getKind() == op.getKind()); }\n");
}
{
const struct Tbl {