updates templates for decoder in seperate class, adds again generated templates
This commit is contained in:
@ -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){
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
/****************************************************************************
|
||||
|
Reference in New Issue
Block a user