1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 16:31:31 +00:00

Fill in dynamic cost of shifts.

This commit is contained in:
Thomas Harte 2022-05-27 11:12:10 -04:00
parent 67b340fa5e
commit e746637bee

View File

@ -2539,8 +2539,8 @@ template <typename IntT> void ProcessorBase::did_muls(IntT) {
// TODO: calculate cost.
}
void ProcessorBase::did_shift(int) {
// TODO: calculate cost.
void ProcessorBase::did_shift(int bits_shifted) {
dynamic_instruction_length_ = bits_shifted;
}
template <bool use_current_instruction_pc> void ProcessorBase::raise_exception(int vector) {