diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-09 13:54:32 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-09 13:54:32 +0900 |
commit | 1bcc8330356ce4c9c90081dc6e93c43983d7ea20 (patch) | |
tree | 82d7fbd46816e0136a5bad5ac1459b8a65e7e086 /gen/gen_code.cpp | |
parent | 5d46b950b46f56f702f02f482028a64856cbeae7 (diff) | |
download | xbyak-1bcc8330356ce4c9c90081dc6e93c43983d7ea20.tar.gz xbyak-1bcc8330356ce4c9c90081dc6e93c43983d7ea20.zip |
3-op add supports T_nf
Diffstat (limited to 'gen/gen_code.cpp')
-rw-r--r-- | gen/gen_code.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index fd60773..d7700cb 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -811,7 +811,7 @@ void put() printf("void %s(const Operand& op1, const Operand& op2) { opRO_MR(op1, op2, 0x%02X); }\n", p->name, p->code); printf("void %s(const Operand& op, uint32_t imm) { opOI(op, imm, 0x%02X, %d); }\n", p->name, p->code, p->ext); if (!p->support3op) continue; - std::string s = type2String(0);//p->type); + std::string s = type2String(p->type | T_CODE1_IF1); printf("void %s(const Reg& d, const Operand& op1, const Operand& op2) { opROO(d, op1, op2, %s, 0x%02X); }\n", p->name, s.c_str(), p->code); printf("void %s(const Reg& d, const Operand& op, uint32_t imm) { opROI(d, op, imm, %s, %d); }\n", p->name, s.c_str(), p->ext); } |