mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Fill in dynamic cost of shifts.
This commit is contained in:
parent
c367ddff1b
commit
a8623eab4a
@ -2537,8 +2537,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