updates templates for decoder in seperate class, adds again generated templates

This commit is contained in:
2024-07-23 13:46:10 +02:00
parent e3942be776
commit 051dd5e2d3
6 changed files with 68 additions and 223 deletions

View File

@ -302,7 +302,7 @@ private:
//needs to be declared after instr_descr
decoder instr_decoder;
/* instruction definitions */
/* instruction 0: LUI */
continuation_e __lui(virt_addr_t& pc, code_word_t instr, jit_holder& jh){

View File

@ -320,7 +320,7 @@ private:
/* instruction DII, encoding '0b0000000000000000' */
{16, 0b0000000000000000, 0b1111111111111111, &this_class::__dii},
}};
//needs to be declared after instr_descr
decoder instr_decoder;

View File

@ -131,7 +131,7 @@ protected:
auto mask = (1ULL<<W) - 1;
auto sign_mask = 1ULL<<(W-1);
return (from & mask) | ((from & sign_mask) ? ~mask : 0);
}
}
private:
/****************************************************************************