mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30: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.
|
// TODO: calculate cost.
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProcessorBase::did_shift(int) {
|
void ProcessorBase::did_shift(int bits_shifted) {
|
||||||
// TODO: calculate cost.
|
dynamic_instruction_length_ = bits_shifted;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <bool use_current_instruction_pc> void ProcessorBase::raise_exception(int vector) {
|
template <bool use_current_instruction_pc> void ProcessorBase::raise_exception(int vector) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user