26 regfile_t
<reg_t
, 32, true> XPR
;
27 regfile_t
<reg_t
, 32, false> FPR
;
30 class hwacha_t
: public extension_t
33 std::vector
<insn_desc_t
> get_instructions();
34 const char* name() { return "hwacha"; }
37 ct_state_t
* get_ct_state() { return &ct_state
; }
38 ut_state_t
* get_ut_state(int idx
) { return &ut_state
[idx
]; }
40 void take_exception(reg_t
, reg_t
);
41 void clear_exception() { clear_interrupt(); }
44 static const int max_uts
= 2048;
46 ut_state_t ut_state
[max_uts
];
49 REGISTER_EXTENSION(hwacha
, []() { return new hwacha_t
; })