aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen/gen_code.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-22 13:53:58 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-22 13:53:58 +0900
commitff01b1e20c76675f4cfe24d9c7a1becb0a76c9f0 (patch)
tree8ea3899ff8f9f02cbed0825c0f3435c4a2cc589b /gen/gen_code.cpp
parent25ceea2eff32e2ae79f7499c292041d2208e16d1 (diff)
downloadxbyak-ff01b1e20c76675f4cfe24d9c7a1becb0a76c9f0.tar.gz
xbyak-ff01b1e20c76675f4cfe24d9c7a1becb0a76c9f0.zip
setcc supports apx
Diffstat (limited to 'gen/gen_code.cpp')
-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 ba2f23e..8cce9a5 100644
--- a/gen/gen_code.cpp
+++ b/gen/gen_code.cpp
@@ -630,7 +630,7 @@ void put()
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);
printf("void j%s(const void *addr) { opJmpAbs(addr, T_NEAR, 0x%02X, 0x%02X, 0x%02X); }%s\n", p->name, p->ext | 0x70, p->ext | 0x80, 0x0F, msg);
- printf("void set%s(const Operand& op) { opRext(op, 8, 0, T_0F, 0x90 | %d); }%s\n", p->name, p->ext, msg);
+ printf("void set%s(const Operand& op) { if (opROO(Reg(), op, Reg(), T_VEX|T_ZU|T_F2, 0x40 | %d)) return; opRext(op, 8, 0, T_0F, 0x90 | %d); }%s\n", p->name, p->ext, p->ext, msg);
}
}
{