aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen/gen_code.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-22 13:30:53 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-22 13:30:53 +0900
commit25ceea2eff32e2ae79f7499c292041d2208e16d1 (patch)
tree5f4b1adc0c706890830632ab1c52ee9d558516b4 /gen/gen_code.cpp
parent2f8cfb9a8653fcda3e0d8e6dd146ec0ee602c729 (diff)
downloadxbyak-25ceea2eff32e2ae79f7499c292041d2208e16d1.tar.gz
xbyak-25ceea2eff32e2ae79f7499c292041d2208e16d1.zip
add 3-op cmovcc
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 c35a3f9..ba2f23e 100644
--- a/gen/gen_code.cpp
+++ b/gen/gen_code.cpp
@@ -625,6 +625,7 @@ void put()
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
const Tbl *p = &tbl[i];
printf("void cmov%s(const Reg& reg, const Operand& op) { opRO(reg, op, T_0F, 0x40 | %d, op.isREG(16|i32e)); }%s\n", p->name, p->ext, msg);
+ printf("void cmov%s(const Reg& d, const Reg& reg, const Operand& op) { opROO(d, op, reg, T_VEX|T_ND1, 0x40 | %d); }%s\n", p->name, p->ext, msg);
printf("void j%s(std::string label, LabelType type = T_AUTO) { opJmp(label, type, 0x%02X, 0x%02X, 0x%02X); }%s\n", p->name, p->ext | 0x70, p->ext | 0x80, 0x0F, msg);
printf("void j%s(const Label& label, LabelType type = T_AUTO) { opJmp(label, type, 0x%02X, 0x%02X, 0x%02X); }%s\n", p->name, p->ext | 0x70, p->ext | 0x80, 0x0F, msg);
printf("void j%s(const char *label, LabelType type = T_AUTO) { j%s(std::string(label), type); }%s\n", p->name, p->name, msg);