updates template for faster instruction decoding

This commit is contained in:
2023-07-23 08:10:57 +02:00
parent c78026b720
commit bd0d15f3a2
2 changed files with 66 additions and 27 deletions

View File

@ -166,7 +166,7 @@ private:
uint32_t value;
decoding_tree_node(uint32_t value) : value(value){}
};
decoding_tree_node* root {nullptr};
const std::array<instruction_descriptor, 87> instr_descr = {{
/* entries are: size, valid value, valid mask, function ptr */