mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Fill in dynamic cost of shifts.
This commit is contained in:
parent
67b340fa5e
commit
e746637bee
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user