[x64] Factor out vector handling code

This commit is contained in:
Dr. Chat 2018-11-18 19:23:39 -06:00
parent 6861cce492
commit c318009733
3 changed files with 2627 additions and 2597 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,9 @@ static bool Register() {
#define EMITTER_OPCODE_TABLE(name, ...) \ #define EMITTER_OPCODE_TABLE(name, ...) \
const auto X64_INSTR_##name = Register<__VA_ARGS__>(); const auto X64_INSTR_##name = Register<__VA_ARGS__>();
// Registration functions to force inclusion of several files
void RegisterVector();
void RegisterSequences(); void RegisterSequences();
bool SelectSequence(X64Emitter* e, const hir::Instr* i, bool SelectSequence(X64Emitter* e, const hir::Instr* i,
const hir::Instr** new_tail); const hir::Instr** new_tail);