RAO_INT supports APX

This commit is contained in:
MITSUNARI Shigeo 2024-01-03 17:10:32 +09:00
parent 26840492c3
commit a7b02ac80d
4 changed files with 47 additions and 14 deletions

View file

@ -860,14 +860,14 @@ void put()
const char *prefix;
} tbl[] = {
{ "aadd", "" },
{ "aand", " | T_66" },
{ "aor", " | T_F2" },
{ "axor", " | T_F3" },
{ "aand", "|T_66" },
{ "aor", "|T_F2" },
{ "axor", "|T_F3" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
const Tbl *p = &tbl[i];
printf("void %s(const Address& addr, const Reg32e &reg) { ", p->name);
printf("opMR(addr, reg, T_0F38%s, 0x0FC); }\n", p->prefix);
printf("opMR(addr, reg, T_0F38%s, 0x0FC, T_APX%s); }\n", p->prefix, p->prefix);
}
}