add 3-op shift

This commit is contained in:
MITSUNARI Shigeo 2023-11-22 08:52:14 +09:00
parent 426814c506
commit 5e54ffdfaf
3 changed files with 29 additions and 9 deletions

View file

@ -914,6 +914,8 @@ void put()
const Tbl *p = &tbl[i];
printf("void %s(const Operand& op, int imm) { opShift(op, imm, %d); }\n", p->name, p->ext);
printf("void %s(const Operand& op, const Reg8& _cl) { opShift(op, _cl, %d); }\n", p->name, p->ext);
printf("void %s(const Reg& d, const Operand& op, int imm) { opShift(op, imm, %d, &d); }\n", p->name, p->ext);
printf("void %s(const Reg& d, const Operand& op, const Reg8& _cl) { opShift(op, _cl, %d, &d); }\n", p->name, p->ext);
}
}
{