Moved logic from x86inst.cpp to x86instimpl.cpp, moved some instruction methods to Inst from X86Inst, added Inst::checkFeatures() for retrieving which CPU features are required to run a given instruction, minor reorganization and asmdb update

This commit is contained in:
kobalicek
2017-03-09 16:57:54 +01:00
parent 0e80d2c3c3
commit e8a80ea958
28 changed files with 1882 additions and 1478 deletions

View File

@@ -1639,7 +1639,7 @@ class X86Generator extends base.BaseGenerator {
}
var s = `#define F(VAL) X86Inst::kFlag##VAL\n` +
`#define JUMP_TYPE(VAL) AnyInst::kJumpType##VAL\n` +
`#define JUMP_TYPE(VAL) Inst::kJumpType##VAL\n` +
`#define SINGLE_REG(VAL) X86Inst::kSingleReg##VAL\n` +
`const X86Inst::CommonData X86InstDB::commonData[] = {\n${StringUtils.format(table, kIndent, true)}\n};\n` +
`#undef SINGLE_REG\n` +